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
0701398a
Commit
0701398a
authored
Aug 12, 2020
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for confirm button enabled
parent
3da460b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
qa/qa/page/component/confirm_modal.rb
qa/qa/page/component/confirm_modal.rb
+8
-1
qa/qa/page/project/settings/advanced.rb
qa/qa/page/project/settings/advanced.rb
+1
-1
No files found.
qa/qa/page/component/confirm_modal.rb
View file @
0701398a
...
...
@@ -20,7 +20,14 @@ module QA
fill_element
:confirm_input
,
text
end
def
click_confirm_button
def
wait_for_confirm_button_enabled
wait_until
(
reload:
false
)
do
!
find_element
(
:confirm_button
).
disabled?
end
end
def
confirm_transfer
wait_for_confirm_button_enabled
click_element
:confirm_button
end
end
...
...
qa/qa/page/project/settings/advanced.rb
View file @
0701398a
...
...
@@ -48,7 +48,7 @@ module QA
select_transfer_option
(
namespace
.
gsub
(
/([^\s])\/([^\s])/
,
'\1 / \2'
))
click_element
(
:transfer_button
)
fill_confirmation_text
(
project_name
)
c
lick_confirm_button
c
onfirm_transfer
end
def
click_export_project_link
...
...
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