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
e4bb25df
Commit
e4bb25df
authored
Jul 21, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
7dcff38c
a744fd79
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
37 deletions
+37
-37
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
...es/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
+4
-4
qa/qa/specs/features/browser_ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
..._ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
+11
-11
qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
...cs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
+6
-6
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
+11
-11
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
...eatures/browser_ui/2_plan/issue/issue_suggestions_spec.rb
+5
-5
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
View file @
e4bb25df
...
...
@@ -30,12 +30,12 @@ module QA
end
it
'user mentions a user in comment'
do
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
_page
|
show
_page
.
select_all_activities_filter
show
_page
.
comment
(
'cc-ing you here @eve'
)
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
show
.
select_all_activities_filter
show
.
comment
(
'cc-ing you here @eve'
)
expect
do
expect
(
show
_page
).
to
have_content
(
"cc-ing you here"
)
expect
(
show
).
to
have_content
(
"cc-ing you here"
)
end
.
not_to
raise_error
# Selenium::WebDriver::Error::UnhandledAlertError
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
View file @
e4bb25df
...
...
@@ -15,28 +15,28 @@ module QA
issue
.
visit!
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
_page
|
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
my_first_discussion
=
'My first discussion'
show
_page
.
select_all_activities_filter
show
_page
.
start_discussion
(
my_first_discussion
)
show
.
select_all_activities_filter
show
.
start_discussion
(
my_first_discussion
)
page
.
assert_text
(
my_first_discussion
)
show
_page
.
reply_to_discussion
(
my_first_reply
)
show
.
reply_to_discussion
(
my_first_reply
)
page
.
assert_text
(
my_first_reply
)
end
end
it
'user collapses and expands reply for comments in an issue'
do
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
_page
|
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
one_reply
=
"1 reply"
show
_page
.
collapse_replies
expect
(
show
_page
).
to
have_content
(
one_reply
)
expect
(
show
_page
).
not_to
have_content
(
my_first_reply
)
show
.
collapse_replies
expect
(
show
).
to
have_content
(
one_reply
)
expect
(
show
).
not_to
have_content
(
my_first_reply
)
show
_page
.
expand_replies
expect
(
show
_page
).
to
have_content
(
my_first_reply
)
expect
(
show
_page
).
not_to
have_content
(
one_reply
)
show
.
expand_replies
expect
(
show
).
to
have_content
(
my_first_reply
)
expect
(
show
).
not_to
have_content
(
one_reply
)
end
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
View file @
e4bb25df
...
...
@@ -14,18 +14,18 @@ module QA
end
it
'user comments on an issue and edits the comment'
do
Page
::
Project
::
Issue
::
Show
.
perform
do
|
issue_show_page
|
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
first_version_of_comment
=
'First version of the comment'
second_version_of_comment
=
'Second version of the comment'
issue_show_page
.
comment
(
first_version_of_comment
)
show
.
comment
(
first_version_of_comment
)
expect
(
issue_show_page
).
to
have_content
(
first_version_of_comment
)
expect
(
show
).
to
have_content
(
first_version_of_comment
)
issue_show_page
.
edit_comment
(
second_version_of_comment
)
show
.
edit_comment
(
second_version_of_comment
)
expect
(
issue_show_page
).
to
have_content
(
second_version_of_comment
)
expect
(
issue_show_page
).
not_to
have_content
(
first_version_of_comment
)
expect
(
show
).
to
have_content
(
second_version_of_comment
)
expect
(
show
).
not_to
have_content
(
first_version_of_comment
)
end
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
View file @
e4bb25df
...
...
@@ -17,25 +17,25 @@ module QA
end
it
'user filters comments and activities in an issue'
do
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
_page
|
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
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
.
comment
(
'/confidential'
,
filter: :comments_only
)
show
.
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
).
not_to
have_content
(
made_the_issue_confidential
)
expect
(
show
).
to
have_content
(
my_own_comment
)
show
_page
.
select_all_activities_filter
show
.
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
).
to
have_content
(
made_the_issue_confidential
)
expect
(
show
).
to
have_content
(
my_own_comment
)
show
_page
.
select_history_only_filter
show
.
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
).
to
have_content
(
made_the_issue_confidential
)
expect
(
show
).
not_to
have_content
(
my_own_comment
)
end
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
View file @
e4bb25df
...
...
@@ -24,12 +24,12 @@ module QA
it
'user sees issue suggestions when creating a new issue'
do
Page
::
Project
::
Show
.
perform
(
&
:go_to_new_issue
)
Page
::
Project
::
Issue
::
New
.
perform
do
|
new
_issue_page
|
new
_issue_page
.
add_title
(
"issue"
)
expect
(
new
_issue_page
).
to
have_content
(
issue_title
)
Page
::
Project
::
Issue
::
New
.
perform
do
|
new
|
new
.
add_title
(
"issue"
)
expect
(
new
).
to
have_content
(
issue_title
)
new
_issue_page
.
add_title
(
"Issue Board"
)
expect
(
new
_issue_page
).
not_to
have_content
(
issue_title
)
new
.
add_title
(
"Issue Board"
)
expect
(
new
).
not_to
have_content
(
issue_title
)
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