Cmcmahon has submitted this change and it was merged.

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

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



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

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

Reply via email to