Zfilipin has uploaded a new change for review.

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


Change subject: WIP Test central-domain login, cross-domain login and central 
login for anons
......................................................................

WIP Test central-domain login, cross-domain login and central login for anons

Cucumber code contributed by Chris Steipp[1]

Change-Id: I3f5c90f01aa09e923b3b304f58026dc00c2a39ad
1: http://lists.wikimedia.org/pipermail/qa/2013-July/000205.html
---
M features/login_sul.feature
1 file changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/28/74128/1

diff --git a/features/login_sul.feature b/features/login_sul.feature
index fd26454..515d790 100644
--- a/features/login_sul.feature
+++ b/features/login_sul.feature
@@ -20,3 +20,20 @@
     When I log out
     Then I should not be logged in to commons.wikimedia
     And I should not be logged in to en.wikipedia
+
+  Scenario: Test central-domain login
+    Given I successfully login to test2.wikipedia.org
+    When I visit login.wikimedia.org
+    Then I am logged into login.wikimedia.org also
+
+  Scenario: Test cross-domain login
+    Given I successfully login to test2.wikipedia.org
+    When I visit test.wikidata.org
+    Then I am logged into test.wikidata.org also
+
+  Scenario: Test central login for anons
+    Given I login to test2.wikipedia.org
+    When I delete all cookies for wikidata.org
+      And I visit test.wikidata.org
+      And I wait a few seconds after visiting the page for all the javascript 
to run
+    Then I am logged into test.wikidata.org also

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f5c90f01aa09e923b3b304f58026dc00c2a39ad
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to