Cmcmahon has uploaded a new change for review. https://gerrit.wikimedia.org/r/97754
Change subject: password for Selenium_newuser is the same as for Selenium_user ...................................................................... password for Selenium_newuser is the same as for Selenium_user Change-Id: I4dac86d2216eb3b95955bbdde15bed155d2f473d --- M tests/browser/features/step_definitions/uploads_steps.rb 1 file changed, 1 insertion(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/54/97754/1 diff --git a/tests/browser/features/step_definitions/uploads_steps.rb b/tests/browser/features/step_definitions/uploads_steps.rb index f631aad..d2b36b5 100644 --- a/tests/browser/features/step_definitions/uploads_steps.rb +++ b/tests/browser/features/step_definitions/uploads_steps.rb @@ -4,18 +4,7 @@ page.login_button end on(LoginPage) do |page| - page.login_with("Selenium_newuser", "upl0adw1zard") - if page.text.include? "There is no user by the name " - puts "Selenium_newuser" + ' does not exist... trying to add user' - on(HomePage).create_account_element.when_present.click - on(LoginPage) do |page| - page.username_element.element.when_present.set "Selenium_newuser" - page.signup_password_element.element.when_present.set "upl0adw1zard" - page.confirm_password_element.element.when_present.set "upl0adw1zard" - page.signup_submit_element.element.when_present.click - page.text.should include 'Welcome, ' + "Selenium_newuser" + '!' - #Can't get around captcha in order to create a user - end + page.login_with("Selenium_newuser", ENV['MEDIAWIKI_PASSWORD']) end end end -- To view, visit https://gerrit.wikimedia.org/r/97754 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4dac86d2216eb3b95955bbdde15bed155d2f473d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Cmcmahon <cmcma...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits