MDL-82682 behat: increase window size to avoid fails

This commit is contained in:
Simey Lameze
2024-08-14 11:37:14 +08:00
parent fcf23db6be
commit 4aa8e531a6
3 changed files with 4 additions and 0 deletions
@@ -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:"
@@ -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.
@@ -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