jenkins-bot has submitted this change and it was merged.

Change subject: Wait for auto expand button before checking its state in 
browser tests
......................................................................


Wait for auto expand button before checking its state in browser tests

Change-Id: I8b8e43f14f6e6aa2ee619d823f93fdfeabb469ac
(cherry picked from commit c745c917c3911b17cbebe5470d4ec7c262d7f0f8)
---
M tests/browser/features/autoexpand.feature
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/tests/browser/features/autoexpand.feature 
b/tests/browser/features/autoexpand.feature
index bac5bc1..96b7b63 100644
--- a/tests/browser/features/autoexpand.feature
+++ b/tests/browser/features/autoexpand.feature
@@ -19,6 +19,7 @@
     And I wait for the setting to be saved
     Then The auto expand button should be on
     Given I refresh the page
+    And The auto expand button is visible
     Then The auto expand button should be on
     And RevisionSlider wrapper should be visible
     And The RevisionSlider has loaded
@@ -32,5 +33,6 @@
     And I wait for the setting to be saved
     Then The auto expand button should be off
     Given I refresh the page
+    And The auto expand button is visible
     Then The auto expand button should be off
     And RevisionSlider wrapper should be hidden

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b8e43f14f6e6aa2ee619d823f93fdfeabb469ac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: wmf/1.28.0-wmf.18
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: WMDE-leszek <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to