Cmcmahon has uploaded a new change for review.

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


Change subject: wait for image, this fails sometimes in IE without it
......................................................................

wait for image, this fails sometimes in IE without it

Change-Id: I7855fcdc533543fbdb07c5fa7026d1199ba715ac
---
M features/step_definitions/math_steps.rb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/92/91992/1

diff --git a/features/step_definitions/math_steps.rb 
b/features/step_definitions/math_steps.rb
index 4a2a190..59bc6fd 100644
--- a/features/step_definitions/math_steps.rb
+++ b/features/step_definitions/math_steps.rb
@@ -23,7 +23,7 @@
 end
 
 Then(/^the page should contain an img tag$/) do
-  on(EditPage).math_image_element.should exist
+  on(EditPage).math_image_element.when_present.should be_visible
 end
 
 Then(/^alt for that img should be (.+)$/) do |alt|

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

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