Commit 6dadf5d5 authored by Robert Lyon's avatar Robert Lyon Committed by Jinelle Foley-Barnes

Bug 1468137: Use better default password for behat

Fixing a few missed places

Change-Id: I89043a2bf9410062ae0a5c94a404e7d7de6dcf58
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 4316d964
@javascript @core @core_administration @sdfsdf
@javascript @core @core_administration
Feature: Institution statistics are displayed correctly
In order to view information about an institution
As an admin
So I can benefit from seeing the current state and history of an institution
Scenario: Viewing user statistics
Background:
Given the following "institutions" exist:
| name | displayname | registerallowed | registerconfirm |
| instone | Institution One | ON | ON |
And the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Password1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Password1 | test02@example.com | Miles | Morales | instone | internal | member |
| userC | Password1 | test03@example.com | Jessica | Jones | mahara | internal | member |
Given I log in as "admin" with password "Password1"
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Miles | Morales | instone | internal | member |
| userC | Kupuhipa1 | test03@example.com | Jessica | Jones | mahara | internal | member |
Scenario: Viewing user statistics
Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration"
# Users without an institution
When I choose "Statistics" in "Institutions"
......
......@@ -4,7 +4,7 @@ As a user
In order to test the pagination of the plan
Scenario: Creating a plan with 11 tasks
Given I log in as "admin" with password "Password1"
Given I log in as "admin" with password "Kupuhipa1"
And I choose "Plans" in "Content"
And I follow "New plan"
And I fill in the following:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment