From 4aa8e531a62b78adbd7dca101fb04c722ec34d30 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 5 Aug 2024 12:30:06 +0800 Subject: [PATCH] MDL-82682 behat: increase window size to avoid fails --- files/tests/behat/license_help_modal.feature | 1 + mod/bigbluebuttonbn/tests/behat/recordings_import.feature | 2 ++ question/tests/behat/filter_questions_by_tag.feature | 1 + 3 files changed, 4 insertions(+) diff --git a/files/tests/behat/license_help_modal.feature b/files/tests/behat/license_help_modal.feature index 3cdbeaf9501..040e36cf33f 100644 --- a/files/tests/behat/license_help_modal.feature +++ b/files/tests/behat/license_help_modal.feature @@ -53,4 +53,5 @@ Feature: View licence links And I click on "Private files" "link" in the "File picker" "dialogue" And I click on "empty.txt" "link" in the "File picker" "dialogue" And I click on "Help with Choose licence" "icon" in the ".fp-setlicense" "css_element" + And I change window size to "large" Then I should see "Follow these links for further information on the available licence options:" diff --git a/mod/bigbluebuttonbn/tests/behat/recordings_import.feature b/mod/bigbluebuttonbn/tests/behat/recordings_import.feature index e5f442bce3f..adfcb24f6a5 100644 --- a/mod/bigbluebuttonbn/tests/behat/recordings_import.feature +++ b/mod/bigbluebuttonbn/tests/behat/recordings_import.feature @@ -42,6 +42,7 @@ Feature: Manage and list recordings And I select "Test Course 1 (C1)" from the "sourcecourseid" singleselect And I select "RoomRecordings" from the "sourcebn" singleselect # add the first recording + And I change window size to "large" And I click on "a.action-icon" "css_element" in the "Recording 1" "table_row" # add the second recording And I click on "a.action-icon" "css_element" in the "Recording 2" "table_row" @@ -84,6 +85,7 @@ Feature: Manage and list recordings Scenario: I check that I can import recordings from a deleted instance into the Recording activity and then if I delete them they are back into the pool to be imported again Given I log in as "admin" + And I change window size to "large" When I am on "Test Course 1" course homepage with editing mode on And I delete "RoomRecordings" activity # The activity is deleted asynchroneously. diff --git a/question/tests/behat/filter_questions_by_tag.feature b/question/tests/behat/filter_questions_by_tag.feature index 4432999b305..e1c81992740 100644 --- a/question/tests/behat/filter_questions_by_tag.feature +++ b/question/tests/behat/filter_questions_by_tag.feature @@ -29,6 +29,7 @@ Feature: The questions in the question bank can be filtered by tags And I set the following fields to these values: | Tags | bar | And I press "id_submitbutton" + And I change the window size to "large" @javascript Scenario: The questions can be filtered by tag