MDL-56630 behat: Click on link in specificed block/region

This commit is contained in:
Rajesh Taneja 2016-11-08 14:38:48 +08:00
parent 1fd6b25579
commit dc90838aaa
No known key found for this signature in database
GPG key ID: B363F7FB787F80E4
55 changed files with 216 additions and 183 deletions

View file

@ -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"