Skip to content

Commit

Permalink
MDL-51698 user: Adapting behat test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
David Monllao committed Dec 9, 2015
1 parent 7955476 commit 8573e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/tests/behat/set_default_homepage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 8573e52

Please sign in to comment.