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
ae56390d
Commit
ae56390d
authored
Oct 22, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tentative of fixing another end-to-end test
parent
770539d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+9
-1
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/two_assignees_spec.rb
..._plan/multiple_assignees_for_issues/two_assignees_spec.rb
+3
-2
No files found.
qa/qa/page/project/issue/show.rb
View file @
ae56390d
...
...
@@ -161,7 +161,15 @@ module QA
def
select_user
(
username
)
find
(
"
#{
element_selector_css
(
:assignee_block
)
}
input"
).
set
(
username
)
find
(
'.dropdown-menu-user-link'
,
text:
"@
#{
username
}
"
).
click
dropdown_menu_user_link_selector
=
'.dropdown-menu-user-link'
at_username
=
"@
#{
username
}
"
ten_seconds
=
10
wait
(
reload:
false
,
max:
ten_seconds
,
interval:
1
)
do
has_css?
(
dropdown_menu_user_link_selector
,
wait:
ten_seconds
,
text:
at_username
)
end
find
(
dropdown_menu_user_link_selector
,
text:
at_username
).
click
end
def
wait_assignees_block_finish_loading
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/two_assignees_spec.rb
View file @
ae56390d
# frozen_string_literal: true
module
QA
# https://gitlab.com/gitlab-org/quality/nightly/issues/146
context
'Plan'
,
:quarantine
do
context
'Plan'
do
describe
'Multiple assignees per issue'
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
@@ -31,6 +30,8 @@ module QA
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
show
.
assign
(
@user_2
)
show
.
select_all_activities_filter
expect
(
show
).
to
have_content
"assigned to @
#{
@user_2
.
username
}
"
expect
(
show
.
avatar_image_count
).
to
be
2
expect
(
show
.
assignee_title
).
to
have_content
'2 Assignees'
...
...
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