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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c6dda2f1
Commit
c6dda2f1
authored
Jul 03, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more duplicated strings from tests
parent
783dfe02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
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
+10
-7
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
View file @
c6dda2f1
...
...
@@ -18,21 +18,24 @@ module QA
expect
(
page
).
to
have_content
(
issue_title
)
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show_page
|
my_own_comment
=
"My own comment"
made_the_issue_confidential
=
"made the issue confidential"
show_page
.
comment
(
'/confidential'
,
filter: :comments_only
)
show_page
.
comment
(
'My own comment'
,
filter: :comments_only
)
show_page
.
comment
(
my_own_comment
,
filter: :comments_only
)
expect
(
show_page
).
not_to
have_content
(
"made the issue confidential"
)
expect
(
show_page
).
to
have_content
(
"My own comment"
)
expect
(
show_page
).
not_to
have_content
(
made_the_issue_confidential
)
expect
(
show_page
).
to
have_content
(
my_own_comment
)
show_page
.
select_all_activities_filter
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
(
made_the_issue_confidential
)
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"
)
expect
(
show_page
).
to
have_content
(
made_the_issue_confidential
)
expect
(
show_page
).
not_to
have_content
(
my_own_comment
)
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