mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-56630 behat: Click on link in specificed block/region
This commit is contained in:
parent
1fd6b25579
commit
dc90838aaa
55 changed files with 216 additions and 183 deletions
|
@ -52,7 +52,7 @@ Feature: Book activity chapter visibility management
|
|||
Scenario: Show/hide chapters and subchapters
|
||||
When I follow "Hide chapter \"2. Second chapter\""
|
||||
And I follow "Hide chapter \"2. Third chapter\""
|
||||
And I follow "Turn editing off"
|
||||
And I turn editing mode off
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I follow "Test book"
|
||||
|
@ -63,7 +63,7 @@ Feature: Book activity chapter visibility management
|
|||
And I follow "Exit book"
|
||||
And I follow "Test book"
|
||||
And I should see "First chapter" in the ".book_content" "css_element"
|
||||
And I follow "Turn editing on"
|
||||
And I turn editing mode on
|
||||
And I follow "Next"
|
||||
And I should see "Second chapter" in the ".book_content" "css_element"
|
||||
And I should not see "Exit book"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue