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
014c9ec0
Commit
014c9ec0
authored
Apr 27, 2020
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add wait in e2e when adding MR approvers
parent
69304a32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
qa/qa/ee/page/merge_request/new.rb
qa/qa/ee/page/merge_request/new.rb
+3
-1
qa/qa/page/component/select2.rb
qa/qa/page/component/select2.rb
+5
-1
No files found.
qa/qa/ee/page/merge_request/new.rb
View file @
014c9ec0
...
...
@@ -5,6 +5,8 @@ module QA
module
Page
module
MergeRequest
module
New
include
QA
::
Page
::
Component
::
Select2
def
self
.
prepended
(
page
)
page
.
module_eval
do
view
'ee/app/assets/javascripts/approvals/components/app.vue'
do
...
...
@@ -60,7 +62,7 @@ module QA
def
enter_member
(
name
)
within_element
(
:member_select_field
)
do
find
(
".select2-input"
).
set
(
name
)
search_item
(
name
)
end
end
end
...
...
qa/qa/page/component/select2.rb
View file @
014c9ec0
...
...
@@ -18,10 +18,14 @@ module QA
end
end
def
search_
and_select
(
item_text
)
def
search_
item
(
item_text
)
find
(
'.select2-input'
).
set
(
item_text
)
wait_for_search_to_complete
end
def
search_and_select
(
item_text
)
search_item
(
item_text
)
select_item
(
item_text
)
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