Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
fedc6de3
Commit
fedc6de3
authored
Nov 08, 2018
by
Ramya Authappan
Committed by
Sanad Liaquat
Nov 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for the filter spec failure
parent
8883cfca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+5
-0
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
...ecs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+1
-0
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
...res/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
+5
-0
No files found.
qa/qa/page/project/issue/show.rb
View file @
fedc6de3
...
@@ -36,6 +36,11 @@ module QA
...
@@ -36,6 +36,11 @@ module QA
end
end
def
select_comments_only_filter
def
select_comments_only_filter
click_element
:discussion_filter
all_elements
(
:filter_options
)[
1
].
click
end
def
select_history_only_filter
click_element
:discussion_filter
click_element
:discussion_filter
all_elements
(
:filter_options
).
last
.
click
all_elements
(
:filter_options
).
last
.
click
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
View file @
fedc6de3
...
@@ -31,6 +31,7 @@ module QA
...
@@ -31,6 +31,7 @@ module QA
create_issue
create_issue
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
show
.
select_all_activities_filter
show
.
comment
(
'See attached banana for scale'
,
attachment:
file_to_attach
)
show
.
comment
(
'See attached banana for scale'
,
attachment:
file_to_attach
)
show
.
refresh
show
.
refresh
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
View file @
fedc6de3
...
@@ -27,6 +27,11 @@ module QA
...
@@ -27,6 +27,11 @@ module QA
expect
(
show_page
).
to
have_content
(
"made the issue confidential"
)
expect
(
show_page
).
to
have_content
(
"made the issue confidential"
)
expect
(
show_page
).
to
have_content
(
"My own comment"
)
expect
(
show_page
).
to
have_content
(
"My own comment"
)
show_page
.
select_history_only_filter
expect
(
show_page
).
to
have_content
(
"made the issue confidential"
)
expect
(
show_page
).
not_to
have_content
(
"My own comment"
)
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment