MDL-45774 behat: Fixed page on which block should be added/viewed

This commit is contained in:
Rajesh Taneja
2015-04-14 09:46:50 +01:00
committed by Dan Poltawski
parent b6a802faa5
commit f576507558
@@ -9,15 +9,18 @@ Feature: People Block used on frontpage
| username | firstname | lastname | email |
| student1 | Sam | Student | student1@asd.com |
And I log in as "admin"
And I am on site homepage
And I navigate to "Turn editing on" node in "Front page settings"
And I add the "People" block
And I log out
Scenario: Admin can view site participants link
When I log in as "admin"
And I am on site homepage
Then "People" "block" should exist
And I should see "Participants" in the "People" "block"
Scenario: Student can not follow participants link on frontpage
When I log in as "student1"
And I am on site homepage
Then "People" "block" should not exist