Commit 0c74bc85 authored by Robert Lyon's avatar Robert Lyon
Browse files

Fixing behat test profile_completion.feature



This test fails if in a series of tests due default tab being
different on profile page

Change-Id: I328a593d7aef8ecb63ec84cae924bc6924d4ae46
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 28df762b
@javascript @core @
@javascript @core
Feature: Profile completion functionality
Site admin sets up profile completion and determins what fields are required
so that the profile completion block will display on dashboard indicating what needs to be completed
Background:
Given the following "institutions" exist:
| name | displayname | registerallowed | registerconfirm |
| instone | Institution One | ON | OFF |
Given the following "institutions" exist:
| name | displayname | registerallowed | registerconfirm |
| instone | Institution One | ON | OFF |
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
......@@ -75,6 +75,7 @@ Scenario Outline: 1) site admin enables profile completion for the site admin me
And I should see "50%" in the "Progressbar" property
When I choose "Profile" from user menu
Then I should see "Profile"
And I follow "About me"
When I fill in "Student ID" with "123456"
And I press "Save profile"
Then I should see "Profile saved successfully"
......
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