Zfilipin has uploaded a new change for review.

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


Change subject: Workaround for Sandox not being enabled on beta.wmflabs.org
......................................................................

Workaround for Sandox not being enabled on beta.wmflabs.org

Bug: 47205
Change-Id: Ic87e6f035c18288acd0271f7e4caa0c98ce49423
---
M features/math.feature
M features/step_definitions/math_steps.rb
2 files changed, 5 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/54/59054/1

diff --git a/features/math.feature b/features/math.feature
index ff335f7..0b250af 100644
--- a/features/math.feature
+++ b/features/math.feature
@@ -1,7 +1,8 @@
 Feature: Math
 
   Scenario: Display simple math
-    Given I am editing My sandbox page
+    Given I am logged in
+      And I am editing page that does not exist
     When I type <math>3 + 2</math>
       And I click Preview
     Then My sandbox page should contain an img tag
diff --git a/features/step_definitions/math_steps.rb 
b/features/step_definitions/math_steps.rb
index 45759f0..1a8a1d4 100644
--- a/features/step_definitions/math_steps.rb
+++ b/features/step_definitions/math_steps.rb
@@ -1,6 +1,7 @@
 
-Given /^I am editing My sandbox page$/ do
-  visit(MainPage).my_sandbox
+Given(/^I am editing page that does not exist$/) do
+  step 'I am at page that does not exist'
+  step 'I click link Create'
 end
 
 When /^I type (.+)$/ do |write_text|

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic87e6f035c18288acd0271f7e4caa0c98ce49423
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to