summaryrefslogtreecommitdiff
path: root/qa/qa/page/file/shared/commit_button.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/file/shared/commit_button.rb')
-rw-r--r--qa/qa/page/file/shared/commit_button.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/file/shared/commit_button.rb b/qa/qa/page/file/shared/commit_button.rb
index 559b4c6ceea..9ea4f4e7818 100644
--- a/qa/qa/page/file/shared/commit_button.rb
+++ b/qa/qa/page/file/shared/commit_button.rb
@@ -14,7 +14,7 @@ module QA
def commit_changes
click_element(:commit_button)
- wait(reload: false, max: 60) do
+ wait_until(reload: false, max_duration: 60) do
finished_loading?
end
end