Cmcmahon has uploaded a new change for review.

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


Change subject: prevent flaky test clicking on uls cog
......................................................................

prevent flaky test clicking on uls cog

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


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/38/76638/1

diff --git a/features/step_definitions/uls_cog_sidebar_user_steps.rb 
b/features/step_definitions/uls_cog_sidebar_user_steps.rb
index acbafbd..4524c62 100644
--- a/features/step_definitions/uls_cog_sidebar_user_steps.rb
+++ b/features/step_definitions/uls_cog_sidebar_user_steps.rb
@@ -52,7 +52,7 @@
 end
 
 When(/^I click the cog icon by Languages in the sidebar$/) do
-  on(NoInterlanguagePage).cog_element.click
+  on(NoInterlanguagePage).cog_element.when_present.click
 end
 
 When(/^I click X$/) do

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

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