Commit 012fe41c authored by Tiffany Rea's avatar Tiffany Rea

Wait for commit button to become enabled

parent 37c1ed7b
...@@ -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