Bmansurov has uploaded a new change for review.

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

Change subject: Work around failing browser tests
......................................................................

Work around failing browser tests

The reason why those tests started failing suddenly is not known.

Bug: T109593
Change-Id: I2e329e8986de553b59890d1c62dfe9eab6e02c38
---
M tests/browser/features/step_definitions/common_steps.rb
M tests/browser/features/step_definitions/diff_steps.rb
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/91/232891/1

diff --git a/tests/browser/features/step_definitions/common_steps.rb 
b/tests/browser/features/step_definitions/common_steps.rb
index 996885e..9860d1a 100644
--- a/tests/browser/features/step_definitions/common_steps.rb
+++ b/tests/browser/features/step_definitions/common_steps.rb
@@ -29,6 +29,7 @@
 Given(/^I am logged into the mobile website$/) do
   step 'I am using the mobile site'
   visit(LoginPage).login_with(user, password, false)
+  sleep 5  # FIXME this is a workaroud and should not be here. See T109593
 end
 
 Given(/^I am on a page that does not exist$/) do
diff --git a/tests/browser/features/step_definitions/diff_steps.rb 
b/tests/browser/features/step_definitions/diff_steps.rb
index 2fcbee9..1203795 100644
--- a/tests/browser/features/step_definitions/diff_steps.rb
+++ b/tests/browser/features/step_definitions/diff_steps.rb
@@ -1,4 +1,5 @@
 Then(/^I should see "(.*?)" as added content$/) do |text|
+  sleep 5  # FIXME this is a workaroud and should not be here. See T109593
   expect(on(DiffPage).inserted_content_element.text).to eq text
 end
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e329e8986de553b59890d1c62dfe9eab6e02c38
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <[email protected]>

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

Reply via email to