Cmcmahon has uploaded a new change for review.

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

Change subject: use partial login from 
https://gerrit.wikimedia.org/r/#/c/115167/
......................................................................

use partial login from https://gerrit.wikimedia.org/r/#/c/115167/

Change-Id: Iae1aa20e695ec865b49cd577efbfdb36b07ecd3a
---
M tests/browser/features/step_definitions/login_steps.rb
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/68/115168/1

diff --git a/tests/browser/features/step_definitions/login_steps.rb 
b/tests/browser/features/step_definitions/login_steps.rb
index d90b119..45cae16 100644
--- a/tests/browser/features/step_definitions/login_steps.rb
+++ b/tests/browser/features/step_definitions/login_steps.rb
@@ -14,16 +14,16 @@
 end
 
 When(/^I log in with incorrect password$/) do
-  on(LoginPage).login_with(ENV["MEDIAWIKI_USER"], "incorrect password")
+  on(LoginPage).partial_login_with(ENV["MEDIAWIKI_USER"], "incorrect password")
 end
 When(/^I log in with incorrect username$/) do
-  on(LoginPage).login_with("incorrect username", ENV["MEDIAWIKI_PASSWORD"])
+  on(LoginPage).partial_login_with("incorrect username", 
ENV["MEDIAWIKI_PASSWORD"])
 end
 When(/^I log in without entering credentials$/) do
-  on(LoginPage).login_with("", "")
+  on(LoginPage).partial_login_with("", "")
 end
 When(/^I log in without entering password$/) do
-  on(LoginPage).login_with(ENV["MEDIAWIKI_USER"], "")
+  on(LoginPage).partial_login_with(ENV["MEDIAWIKI_USER"], "")
 end
 When(/^Log in as (.+)$/) do |username|
   on(LoginPage).login_with(username, ENV["MEDIAWIKI_PASSWORD"])

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae1aa20e695ec865b49cd577efbfdb36b07ecd3a
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