Zfilipin has submitted this change and it was merged.

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(-)

Approvals:
  Zfilipin: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I7855fcdc533543fbdb07c5fa7026d1199ba715ac
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to