Cmcmahon has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/92302


Change subject: "Next" button often takes a long time to appear
......................................................................

"Next" button often takes a long time to appear

Change-Id: I0ced010d9c646d4f50861c5bb6bd446e8be6c404
---
M features/step_definitions/upload_wizard_steps.rb
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/02/92302/1

diff --git a/features/step_definitions/upload_wizard_steps.rb 
b/features/step_definitions/upload_wizard_steps.rb
index 0dadbc8..bed7bbe 100644
--- a/features/step_definitions/upload_wizard_steps.rb
+++ b/features/step_definitions/upload_wizard_steps.rb
@@ -24,7 +24,12 @@
   on(DescribePage).next_element.click
 end
 When(/^I click Next button at Learn page$/) do
-  on(LearnPage).next_element.when_present.click
+  on(LearnPage) do |page|
+    page.wait_until(15) do
+      page.next_element.exist?
+      page.next_element.when_present.click
+    end
+  end
 end
 When(/^I click Next button at Release rights page$/) do
   on(ReleaseRightsPage).next_element.when_present.click

-- 
To view, visit https://gerrit.wikimedia.org/r/92302
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ced010d9c646d4f50861c5bb6bd446e8be6c404
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to