1 |
efrain |
1 |
@block @block_myprofile
|
|
|
2 |
Feature: The logged in user block allows users to view their profile information in on the dashboard
|
|
|
3 |
In order to enable the logged in user block on the dashboard
|
|
|
4 |
As a user
|
|
|
5 |
I can add the logged in user block to a the dashboard and view my information
|
|
|
6 |
|
|
|
7 |
Scenario: View the logged in user block by a user on the dashboard
|
|
|
8 |
Given the following "users" exist:
|
|
|
9 |
| username | firstname | lastname | email |
|
|
|
10 |
| teacher1 | Teacher | One | teacher1@example.com |
|
|
|
11 |
And I log in as "teacher1"
|
|
|
12 |
And I turn editing mode on
|
|
|
13 |
When I add the "Logged in user" block
|
|
|
14 |
Then I should see "Teacher One" in the "Logged in user" "block"
|