Cmcmahon has uploaded a new change for review.

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


Change subject: make AFT test less flaky
......................................................................

make AFT test less flaky

Change-Id: If25afb6ef27d551379a4ef522792738572ec0214
---
M features/step_definitions/aftv5_steps.rb
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/01/85001/1

diff --git a/features/step_definitions/aftv5_steps.rb 
b/features/step_definitions/aftv5_steps.rb
index 2939def..e90c38e 100644
--- a/features/step_definitions/aftv5_steps.rb
+++ b/features/step_definitions/aftv5_steps.rb
@@ -24,9 +24,9 @@
 
 Then(/^AFTv5 should be there$/) do
   on(AFTv5Page) do |page|
-    page.yes_element.should exist
-    page.no_element.should exist
-    page.whats_this_element.should exist
+    page.yes_element.when_present.should be_visible
+    page.no_element.when_present.should be_visible
+    page.whats_this_element.when_present.should be_visible
   end
 end
 Then(/^After saving I have links to feedback page and See all comments 
available$/) do

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

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