mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-40975 Behat: Fix test failure with block menus
This commit is contained in:
parent
27e6dce63b
commit
b100c4e3a1
4 changed files with 48 additions and 5 deletions
|
@ -42,6 +42,7 @@ Feature: Block appearances
|
|||
And I follow "Course 1"
|
||||
And I follow "Turn editing on"
|
||||
And I add the "Comments" block
|
||||
And I open the "Comments" blocks action menu
|
||||
And I follow "Configure Comments block"
|
||||
And I fill the moodle form with:
|
||||
| Display on page types | Any page |
|
||||
|
@ -52,6 +53,7 @@ Feature: Block appearances
|
|||
When I follow "Test survey name"
|
||||
Then I should see "Comments" in the "Comments" "block"
|
||||
And I follow "Course 1"
|
||||
And I open the "Comments" blocks action menu
|
||||
And I follow "Configure Comments block"
|
||||
And I fill the moodle form with:
|
||||
| Display on page types | Any course page |
|
||||
|
@ -63,6 +65,7 @@ Feature: Block appearances
|
|||
@javascript
|
||||
Scenario: Block settings can be modified so that a block can be hidden or moved
|
||||
When I follow "Test book name"
|
||||
And I open the "Comments" blocks action menu
|
||||
And I follow "Configure Comments block"
|
||||
And I fill the moodle form with:
|
||||
| Visible | No |
|
||||
|
@ -72,6 +75,7 @@ Feature: Block appearances
|
|||
Then I should not see "Comments"
|
||||
And I expand "Course administration" node
|
||||
And I follow "Turn editing on"
|
||||
And I open the "Comments" blocks action menu
|
||||
And I follow "Configure Comments block"
|
||||
And I fill the moodle form with:
|
||||
| Visible | Yes |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue