From 584bc8cf7e380a9a738a95c6208966976ba9e0e0 Mon Sep 17 00:00:00 2001 From: Ilya Tregubov Date: Thu, 21 Oct 2021 14:59:20 +0200 Subject: [PATCH] MDL-72878 behat: Fix behat failing in chrome. Element is on edge of browser. Changing window size. --- .../tests/behat/block_timeline_pagelimit_persistence.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature b/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature index bbf803e3ee3..a204a92c5f0 100644 --- a/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature +++ b/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature @@ -55,6 +55,7 @@ Feature: The timeline block allows user persistence of their page limits When I click on "5" "button" in the "Timeline" "block" And I click on "25" "link" And I should see "Test feedback 2" in the "Timeline" "block" + And I change window size to "large" And I click on "25" "button" in the "Timeline" "block" And I click on "5" "link" in the "[data-region='timeline'] [data-region='paging-control-limit-container'] .dropdown-menu" "css_element" Then I should not see "Test feedback 2" in the "Timeline" "block"