Cmcmahon has uploaded a new change for review. https://gerrit.wikimedia.org/r/90354
Change subject: do not depend on a particular URL in case of redirect ...................................................................... do not depend on a particular URL in case of redirect Change-Id: I92cd0cde4730fc949544f3991e41d2438149781a --- M features/step_definitions/upload_wizard_steps.rb 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests refs/changes/54/90354/1 diff --git a/features/step_definitions/upload_wizard_steps.rb b/features/step_definitions/upload_wizard_steps.rb index ffa1db8..688f5bc 100644 --- a/features/step_definitions/upload_wizard_steps.rb +++ b/features/step_definitions/upload_wizard_steps.rb @@ -54,13 +54,13 @@ on(LearnPage).skip_element.when_present.should be_visible end Then(/^Describe page should open$/) do - @browser.url.should == on(DescribePage).class.url + @browser.url.should match /Special:UploadWizard/ end Then(/^Learn page should appear$/) do - @browser.url.should == on(UploadWizardPage).class.url + @browser.url.should match /Special:UploadWizard/ end Then(/^Release rights page should open$/) do - @browser.url.should == on(ReleaseRightsPage).class.url + @browser.url.should match /Special:UploadWizard/ end Then(/^Select a media file to donate button should be there$/) do sleep 1 @@ -76,7 +76,7 @@ end end Then(/^Upload page should appear$/) do - @browser.url.should == on(UploadPage).class.url + @browser.url.should match /Special:UploadWizard/ end Then(/^Use page should open$/) do @browser.url.should match /Special:UploadWizard/ -- To view, visit https://gerrit.wikimedia.org/r/90354 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I92cd0cde4730fc949544f3991e41d2438149781a 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
