You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
916 B
27 lines
916 B
2 years ago
|
@block @block_participants
|
||
|
Feature: People Block used on frontpage
|
||
|
In order to view participants in a site
|
||
|
As a admin
|
||
|
I can add the people block to the front page
|
||
|
|
||
|
Background:
|
||
|
Given the following "users" exist:
|
||
|
| username | firstname | lastname | email |
|
||
|
| student1 | Sam | Student | student1@example.com |
|
||
|
And I log in as "admin"
|
||
|
And I am on site homepage
|
||
|
And I navigate to "Turn editing on" in current page administration
|
||
|
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
|