Commit 6cf43458 authored by Tiffany Rea's avatar Tiffany Rea

Merge branch '354475-wait-for-button-enabled' into 'master'

Wait for commit button to become enabled

See merge request gitlab-org/gitlab!82846
parents 4f12cfcd 012fe41c
...@@ -77,6 +77,7 @@ module QA ...@@ -77,6 +77,7 @@ module QA
end end
def submit_changes def submit_changes
Support::Waiter.wait_until { !find_element(:commit_changes_button).disabled? }
click_element(:commit_changes_button) click_element(:commit_changes_button)
wait_for_requests wait_for_requests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment