Cmcmahon has uploaded a new change for review.

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

Change subject: QA: use newest watch locators, simplify
......................................................................

QA: use newest watch locators, simplify

Change-Id: I3a4598246b8aa83667beb12b622c401684250f73
---
M tests/browser/features/step_definitions/reply_steps.rb
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/20/169920/1

diff --git a/tests/browser/features/step_definitions/reply_steps.rb 
b/tests/browser/features/step_definitions/reply_steps.rb
index 107cea8..857b687 100644
--- a/tests/browser/features/step_definitions/reply_steps.rb
+++ b/tests/browser/features/step_definitions/reply_steps.rb
@@ -1,8 +1,7 @@
 Given(/^I am not watching my new Flow topic$/) do
   on(FlowPage) do |page|
     page.first_topic_unwatch_link_element.when_present.click
-    page.wait_until { page.first_topic_unwatch_link_element.visible? == false }
-    page.wait_until {page.first_topic_watchlist_loading_link_element.visible? 
== false}
+    page.first_topic_unwatch_link_element.when_not_visible
   end
 end
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a4598246b8aa83667beb12b622c401684250f73
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
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