mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-51698 user: Adapting behat test
Using the generic .breadcrumb-nav like in edit_tag.feature as the elements on it are quite generic and there is no much chance of future conflicts.
This commit is contained in:
parent
7955476cab
commit
8573e526ff
@ -18,11 +18,11 @@ Feature: Set the site home page and dashboard as the default home page
|
||||
And I follow "Make this my default home page"
|
||||
And I should not see "Make this my default home page"
|
||||
And I follow "Course 1"
|
||||
And "//ul[@class='breadcrumb']/li/a[text()='Home']" "xpath_element" should exist
|
||||
And "Home" "text" should exist in the ".breadcrumb-nav" "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 am on site homepage
|
||||
When I follow "Course 1"
|
||||
Then "//ul[@class='breadcrumb']/li/a[text()='Dashboard']" "xpath_element" should exist
|
||||
Then "Dashboard" "text" should exist in the ".breadcrumb-nav" "css_element"
|
||||
|
Loading…
x
Reference in New Issue
Block a user