mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-45893 my: Specifically follow My home from block in Behat tests
This commit is contained in:
parent
140f46a238
commit
dcb59c872c
6 changed files with 12 additions and 12 deletions
|
@ -17,7 +17,7 @@ Feature: Add blocks to my home page
|
|||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
And I log in as "student1"
|
||||
And I follow "My home"
|
||||
And I click on "My home" "link" in the "Navigation" "block"
|
||||
|
||||
Scenario: Add blocks to page
|
||||
When I press "Customise this page"
|
||||
|
|
|
@ -17,7 +17,7 @@ Feature: Reset my home page to default
|
|||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
And I log in as "student1"
|
||||
And I follow "My home"
|
||||
And I click on "My home" "link" in the "Navigation" "block"
|
||||
|
||||
Scenario: Add blocks to page and reset
|
||||
When I press "Customise this page"
|
||||
|
|
|
@ -18,7 +18,7 @@ Feature: Restrict which blocks can be added to My home
|
|||
|
||||
Scenario: The comments block can be added to My home by default
|
||||
And I log in as "student1"
|
||||
And I follow "My home"
|
||||
And I click on "My home" "link" in the "Navigation" "block"
|
||||
And I press "Customise this page"
|
||||
Then the "Add a block" select box should contain "Comments"
|
||||
And the "Add a block" select box should contain "Courses"
|
||||
|
@ -34,7 +34,7 @@ Feature: Restrict which blocks can be added to My home
|
|||
| block/html:myaddinstance | Prohibit |
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
And I follow "My home"
|
||||
And I click on "My home" "link" in the "Navigation" "block"
|
||||
And I press "Customise this page"
|
||||
Then the "Add a block" select box should not contain "Comments"
|
||||
And the "Add a block" select box should not contain "Courses"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue