MDL-66504 lang: Use the new strings in the Behat scenario
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
767b4df9c3
commit
5e52542b1e
@@ -22,16 +22,16 @@ Feature: Set the site home page and dashboard as the default home page
|
||||
Scenario: Admin sets the site page and then the dashboard as the default home page
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Appearance > Navigation" in site administration
|
||||
And I set the field "Default home page for users" to "User preference"
|
||||
And I set the field "Home page for users" to "User preference"
|
||||
And I press "Save changes"
|
||||
And I am on site homepage
|
||||
And I follow "Make this my default home page"
|
||||
And I should not see "Make this my default home page"
|
||||
And I follow "Make this my home page"
|
||||
And I should not see "Make this my home page"
|
||||
And I am on "Course 1" course homepage
|
||||
And "Home" "text" should exist in the ".breadcrumb" "css_element"
|
||||
And I am on site homepage
|
||||
And I follow "Dashboard"
|
||||
And I follow "Make this my default home page"
|
||||
And I should not see "Make this my default home page"
|
||||
And I follow "Make this my home page"
|
||||
And I should not see "Make this my home page"
|
||||
And I am on "Course 1" course homepage
|
||||
Then "Dashboard" "text" should exist in the ".breadcrumb" "css_element"
|
||||
|
||||
Reference in New Issue
Block a user