mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-72714 behat: Make the window larger earlier
The step that causes the problem is: And I navigate to "Badges > Add a new badge" in current page administration (because "Add a new badge" is exactly on the edge (bottom) of the window) So we need to make the window large before it, not after it, or the "Add a new badge" link won't be ever clicked.
This commit is contained in:
parent
bd12395717
commit
8e90d8309c
@ -224,8 +224,8 @@ Feature: Award badges
|
||||
| Description | Submit your online text |
|
||||
| id_completion | 1 |
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I change window size to "large"
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| Name | Course Badge |
|
||||
| Description | Course badge description |
|
||||
|
@ -35,8 +35,8 @@ Feature: Award badges based on activity completion
|
||||
| 1 | False |
|
||||
And I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I change window size to "large"
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| Name | Course Badge |
|
||||
| Description | Course badge description |
|
||||
|
@ -39,8 +39,8 @@ Feature: Award badges based on competency completion
|
||||
And I click on "Save changes" "button" in the "Configure course competencies" "dialogue"
|
||||
# Add a badge to the course
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I change window size to "large"
|
||||
And I navigate to "Badges > Add a new badge" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| Name | Course Badge |
|
||||
| Description | Course badge description |
|
||||
|
Loading…
x
Reference in New Issue
Block a user