Zfilipin has submitted this change and it was merged. Change subject: add explicit when_present checks for IE goodness ......................................................................
add explicit when_present checks for IE goodness Change-Id: I19500f22cb1e16d74d5c4c38efd8b3e4f7c86a77 --- M features/step_definitions/upload_wizard_steps.rb 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Zfilipin: Verified; Looks good to me, approved diff --git a/features/step_definitions/upload_wizard_steps.rb b/features/step_definitions/upload_wizard_steps.rb index fab79f5..94dd6f4 100644 --- a/features/step_definitions/upload_wizard_steps.rb +++ b/features/step_definitions/upload_wizard_steps.rb @@ -11,7 +11,7 @@ on(UploadPage).continue_element.when_present.click end When /^I click Next button$/ do - on(UploadWizardPage).next_element.click + on(UploadWizardPage).next_element.when_present.click end When /^I click Next button at Describe page$/ do sleep 1 # todo # I can not figure out at the moment how to make this work without using sleep @@ -24,7 +24,7 @@ on(ReleaseRightsPage).next_element.click end When /^I click This file is my own work$/ do - on(ReleaseRightsPage).my_own_work_element.click + on(ReleaseRightsPage).my_own_work_element.when_present.click end When /^I enter description$/ do on(DescribePage).description = 'description' -- To view, visit https://gerrit.wikimedia.org/r/55144 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I19500f22cb1e16d74d5c4c38efd8b3e4f7c86a77 Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Cmcmahon <[email protected]> Gerrit-Reviewer: Rachel99 <[email protected]> Gerrit-Reviewer: Zfilipin <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
