Commit 102a042b authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon

Bug #1703736 - reorder behat tests

This commit moves all the test feature files into new folders, hopefully
to make them easier to find. Please feel free to check out and see if
you think the new order makes sense.

Change-Id: I5f07fc296a159f986f883d273bc72d4ea1a40d32

Bug 1703736 - change domains to example.org

Dear git, please let me push this. Love Rebecca

Change-Id: I5f07fc296a159f986f883d273bc72d4ea1a40d32
parent 89d6b8e7
......@@ -7,7 +7,7 @@ Feature: Suckypasswords Test increase of array size
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Admin can't change password to anything on suckypasswords list (Bug #844457)
Given I log in as "admin" with password "Kupuhipa1"
......
......@@ -11,7 +11,7 @@ Background:
| instone | Institution One | ON | OFF |
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | instone | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | instone | internal | member |
Scenario: Accessing language string (Bug 1449350)
Given I log in as "admin" with password "Kupuhipa1"
......
......@@ -6,8 +6,8 @@ In order to be able to see the (Author's name hidden) link
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Son | Nguyen | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Son | Nguyen | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
| Page 1 | page P1 | user | userA |
......
......@@ -6,7 +6,7 @@ Feature: Mahara users can change their account settings
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Change notifications
Given I log in as "userA" with password "Kupuhipa1"
......
......@@ -7,12 +7,12 @@ So I can recover an account after forgetting my username or password
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And I am on homepage
And I follow "Lost username / password"
Scenario: Asking for a username reminder (Bug 1460911)
When I fill in "Email address or username" with "test01@example.com"
When I fill in "Email address or username" with "test01@example.org"
And I press "Send request"
Then I should see "You should receive an email shortly with a link you can use to change the password for your account."
......
......@@ -7,7 +7,7 @@ So I can prevent dictionary attacks on my passwords
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And I am on homepage
And I follow "Lost username / password"
......@@ -37,7 +37,7 @@ Scenario: Too many bad password attempts
And I follow "Lost username / password"
Scenario: Asking for a username reminder (Bug 1460911)
When I fill in "Email address or username" with "test01@example.com"
When I fill in "Email address or username" with "test01@example.org"
And I press "Send request"
Then I should see "You should receive an email shortly with a link you can use to change the password for your account."
......
......@@ -7,7 +7,7 @@ I need to go to Notifications settings and see multiple options available
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| Bob | mahara1 | bob@example.com | Bob | Bobby | mahara | internal | member |
| Bob | mahara1 | bob@example.org | Bob | Bobby | mahara | internal | member |
Scenario: Confirm that multiple notification choices are available (Bug #1299993)
# Log in as admin
......
......@@ -7,7 +7,7 @@ Feature: Notification when a user is about to reach his quota
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname |role |
| bob | Kupuhipa1 | bob@example.com | Bob | Bobby | mahara | internal | member |
| bob | Kupuhipa1 | bob@example.org | Bob | Bobby | mahara | internal | member |
Scenario Outline: When quota notification threshold is changed, send notifications to users who are now over threshold (Bug 1367539)
# Log in as "Admin" user
......
......@@ -14,7 +14,7 @@ So people can have access to their Mahara
And I fill in the following:
| First name | Lightening |
| Last name | McQueen |
| Email address | fakeymcfakey@gmail.com |
| Email address | fakeymcfakey@example.org |
| Registration reason | I will absolutely make this institution more amazing!! |
# we wait a human amount of time so the spam trap is avoided
And I wait "4" seconds
......
......@@ -11,7 +11,7 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Social media credentials upon logging in as student (Bug 1432988)
When I log in as "userA" with password "Kupuhipa1"
......
......@@ -7,7 +7,7 @@ Feature: Blocks are Retractable
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -20,7 +20,7 @@ Scenario: Turning switchboxes on and off in diff areas (Bug 1431569)
And I fill in the following:
| firstname | white |
| lastname | valiant |
| email | wv@example.com |
| email | wv@example.org |
| username | wval |
| password | mahara1 |
And I press "Create user"
......
......@@ -20,7 +20,7 @@ Scenario: Creating an Institution assigning users and changing their passwords
And I fill in the following:
| firstname | bob |
| lastname | bobby |
| email | bob@example.com |
| email | bob@example.org |
| username | bob |
| password | mahara1 |
And I select "Institution One" from "Institution"
......@@ -31,7 +31,7 @@ Scenario: Creating an Institution assigning users and changing their passwords
And I fill in the following:
| firstname | Jen |
| lastname | Jenny |
| email | jen@example.com |
| email | jen@example.org |
| username | jen |
| password | mahara1 |
And I select "Institution One" from "Institution"
......@@ -43,6 +43,7 @@ Scenario: Creating an Institution assigning users and changing their passwords
And I fill in the following:
| New password | mahara2 |
| Confirm password | mahara2 |
| Primary email | bob@example.com |
And I press "Submit"
# Verifying password was changed successfully
And I should see "Your new password has been saved"
......@@ -62,6 +63,7 @@ Scenario: Creating an Institution assigning users and changing their passwords
And I fill in the following:
| New password | mahara2 |
| Confirm password | mahara2 |
| Primary email | jen@example.com |
And I press "Submit"
# Verifying password was changed
And I should see "Your new password has been saved"
......
......@@ -7,7 +7,7 @@ So I can benefit from the use of different configurations
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | admin |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | admin |
Scenario: Testing functions for user search page (Bug 1431569)
Given I log in as "admin" with password "Kupuhipa1"
......@@ -27,6 +27,6 @@ Scenario: Testing functions for user search page (Bug 1431569)
| plugintype | plugin | field | value |
| artefact | internal | profilepublic | email |
And I set the following fields to these values:
| Search users | test01@example.com |
| Search users | test01@example.org |
And I press the key "Enter" in the "Search users" field
Then I should see "userA"
......@@ -8,7 +8,7 @@
Given I log in as "admin" with password "Kupuhipa1"
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And I choose "User search" in "Users" from administration menu
And I follow "Pete"
And I follow "Send message"
......
......@@ -7,7 +7,7 @@ So I can filter messages
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Given I log in as "admin" with password "Kupuhipa1"
And I choose "Users" from administration menu
And I follow "Pete"
......
......@@ -7,7 +7,7 @@ So admin can view the message in their inbox
Scenario: Checking that admin user can view messages in their mail sent from Contact us page
Given I follow "contact us"
And I fill in "Name" with "Dean"
And I fill in "Email" with "deans@catalyst.net.nz"
And I fill in "Email" with "deans@example.org"
And I fill in "Subject" with "Whats wrong"
And I fill in "Message" with "hello world"
# to avoid 5-second spam trap on contact.php
......
......@@ -11,9 +11,9 @@ Background:
| insttwo | Institution Two | ON | OFF |
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | instone | internal | staff |
| userB | Kupuhipa1 | test02@example.com | Son | Nguyen | instone | internal | member |
| userC | Kupuhipa1 | test03@example.com | Tim | Bruce | instone | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | instone | internal | staff |
| userB | Kupuhipa1 | test02@example.org | Son | Nguyen | instone | internal | member |
| userC | Kupuhipa1 | test03@example.org | Tim | Bruce | instone | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
| Group Y | userA | This is group Y | standard | ON | OFF | all | OFF | OFF | userB, userC | |
......
......@@ -7,7 +7,7 @@
Scenario: Showing contextual help for pages under menu "Portfolio" (Bug 809297).
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
When I log in as "userA" with password "Kupuhipa1"
And I choose "Pages and collections" in "Portfolio" from main menu
And I click on "Help"
......
......@@ -7,10 +7,10 @@ I adjust the 'Hide members' and 'Hide members from members' group config options
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| groupmember | randomuser | randomuser@random.com | Group | Member | mahara | internal | member |
| groupadmin | randomteacher | randomteacher@random.com | Super | Teacher | mahara | internal | admin |
| grouptutor | randomtutor | randomtutor@random.com | Diligent | Tutor | mahara | internal | member |
| randomuser | randomuser2 | randomuser2@random.com | Random | Person | mahara | internal | member |
| groupmember | randomuser | randomuser@example.org | Group | Member | mahara | internal | member |
| groupadmin | randomteacher | randomteacher@example.org | Super | Teacher | mahara | internal | admin |
| grouptutor | randomtutor | randomtutor@example.org | Diligent | Tutor | mahara | internal | member |
| randomuser | randomuser2 | randomuser2@example.org | Random | Person | mahara | internal | member |
Given the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
......
......@@ -10,9 +10,9 @@ Background:
| instone | Institution One | ON | ON |
And the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| 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 |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Miles | Morales | instone | internal | member |
| userC | Kupuhipa1 | test03@example.org | Jessica | Jones | mahara | internal | member |
Scenario: Viewing user statistics
......
......@@ -12,10 +12,10 @@ Given the following "institutions" exist:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | example04@example.com | student | student | mahara | internal | member |
| userB | Kupuhipa1 | example01@example.com | site | staff | mahara | internal | staff |
| instone | Kupuhipa1 | example05@example.com | instone | instone | instone | internal | staff |
| instone1 | Kupuhipa1 | example06@example.com | instone1 | instone1 | instone | internal | admin |
| userA | Kupuhipa1 | example04@example.org | student | student | mahara | internal | member |
| userB | Kupuhipa1 | example01@example.org | site | staff | mahara | internal | staff |
| instone | Kupuhipa1 | example05@example.org | instone | instone | instone | internal | staff |
| instone1 | Kupuhipa1 | example06@example.org | instone1 | instone1 | instone | internal | admin |
......
......@@ -7,8 +7,8 @@
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Simon | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Simon | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -7,9 +7,9 @@ To see that they display in the most recently updated order
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Tuesd@y1 | test01@example.com | Test | B | mahara | internal | member |
| userB | Tuesd@y2 | test02@example.com | Test | C | mahara | internal | member |
| userC | Tuesd@y3 | test03@example.com | Test | A | mahara | internal | member |
| userA | Tuesd@y1 | test01@example.org | Test | B | mahara | internal | member |
| userB | Tuesd@y2 | test02@example.org | Test | C | mahara | internal | member |
| userC | Tuesd@y3 | test03@example.org | Test | A | mahara | internal | member |
Given the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
......
......@@ -7,8 +7,8 @@ Feature: List of shared pages to a group
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Son | Nguyen | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Son | Nguyen | mahara | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
| Group Y | userB | This is group Y | standard | ON | OFF | all | OFF | OFF | userA | |
......
......@@ -11,7 +11,7 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Accessing help icons under Skin tabs (Bug 1411070)
Given I log in as "userA" with password "Kupuhipa1"
......
......@@ -6,7 +6,7 @@ Feature: The external block should be added and configured in a page
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -9,7 +9,7 @@ Mahara institution
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | admin |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | admin |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -11,8 +11,8 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Simon | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Simon | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -6,7 +6,7 @@ Feature: The openbadges block should be present
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......@@ -23,6 +23,6 @@ Scenario: Open badges block
And I expand "External" node
And I follow "Open Badges"
And I press "Add"
Then I should see "Your email test01@example.com is not found in the service"
Then I should see "Your email test01@example.org is not found in the service"
And I press "Save"
Then I should see "No public badge collections / badges found."
......@@ -7,7 +7,7 @@ add a page to a collection.
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
| Page 1 | This is the page in collection | user | userA |
......
......@@ -7,7 +7,7 @@ So I can access them from my dashboard
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "pages" exist:
| title | description| ownertype | ownername |
......
......@@ -8,7 +8,7 @@ So I can benefit from the cross over of Moodle/Mahara
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Turning master switch on
Given I log in as "admin" with password "Kupuhipa1"
......
......@@ -4,7 +4,7 @@ Feature: Writing and deleting comments
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| pageowner | password | test01@example.com | Paige | Owner | mahara | internal | admin |
| pageowner | password | test01@example.org | Paige | Owner | mahara | internal | admin |
Given the following "pages" exist:
| title | description | ownertype | ownername |
| page1 | page1 | user | pageowner |
......
......@@ -7,8 +7,8 @@
Scenario: Sending a friend request with more than 255 characters (Bug 1373670)
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Paul | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Paul | Mc | mahara | internal | member |
Given I log in as "userB" with password "Kupuhipa1"
And I choose "Find people" in "Groups" from main menu
And I follow "Pete Mc (userA)"
......
......@@ -5,8 +5,8 @@ Feature: Show collection shared with a group on the group homepage (Bug 1655456)
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Son | Nguyen | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Son | Nguyen | mahara | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
| Group Y | userB | This is group Y | standard | ON | OFF | all | OFF | OFF | userA | |
......
......@@ -7,7 +7,7 @@ Feature: Displaying multiple groups on a page
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
| Testing Group 1 | userA | This is group 01 | standard | ON | OFF | all | ON | ON | admin | |
......
......@@ -8,7 +8,7 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userA | Kupuhipa1 | test01@example.org | Pete | Mc | mahara | internal | member |
Scenario: Uploading groups via CSV and editing as an admin (Bug 1420590)
......@@ -42,7 +42,7 @@ Scenario: Uploading groups via CSV and editing as an admin (Bug 1420590)
Given I log in as "admin" with password "Kupuhipa1"
And the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userB | Kupuhipa1 | test02@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.org | Pete | Mc | mahara | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
| group 01 | userB | This is group 01 | course | ON | ON | all | ON | ON | admin, userA | admin |
......
......@@ -6,18 +6,18 @@ Feature: Edit group membership
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| User1 | Kupuhipa1 | test01@example.com | User | 1 | mahara | internal | member |
| User2 | Kupuhipa1 | test02@example.com | User | 2 | mahara | internal | member |
| User3 | Kupuhipa1 | test03@example.com | User | 3 | mahara | internal | member |
| User4 | Kupuhipa1 | test04@example.com | User | 4 | mahara | internal | member |
| User5 | Kupuhipa1 | test05@example.com | User | 5 | mahara | internal | member |
| User6 | Kupuhipa1 | test06@example.com | User | 6 | mahara | internal | member |
| User7 | Kupuhipa1 | test07@example.com | User | 7 | mahara | internal | member |
| User8 | Kupuhipa1 | test08@example.com | User | 8 | mahara | internal | member |
| User9 | Kupuhipa1 | test09@example.com | User | 9 | mahara | internal | member |
| User10 | Kupuhipa1 | test10@example.com | User | 10 | mahara | internal | member |
| User11 | Kupuhipa1 | test011@example.com | User | 11 | mahara | internal | member |
| User12 | Kupuhipa1 | test012@example.com | User | 12 | mahara | internal | member |
| User1 | Kupuhipa1 | test01@example.org | User | 1 | mahara | internal | member |
| User2 | Kupuhipa1 | test02@example.org | User | 2 | mahara | internal | member |
| User3 | Kupuhipa1 | test03@example.org | User | 3 | mahara | internal | member |
| User4 | Kupuhipa1 | test04@example.org | User | 4 | mahara | internal | member |
| User5 | Kupuhipa1 | test05@example.org | User | 5 | mahara | internal | member |
| User6 | Kupuhipa1 | test06@example.org | User | 6 | mahara | internal | member |
| User7 | Kupuhipa1 | test07@example.org | User | 7 | mahara | internal | member |
| User8 | Kupuhipa1 | test08@example.org | User | 8 | mahara | internal | member |
| User9 | Kupuhipa1 | test09@example.org | User | 9 | mahara | internal | member |
| User10 | Kupuhipa1 | test10@example.org | User | 10 | mahara | internal | member |
| User11 | Kupuhipa1 | test011@example.org | User | 11 | mahara | internal | member |
| User12 | Kupuhipa1 | test012@example.org | User | 12 | mahara | internal | member |
And the following "groups" exist:
| name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | staff |
......
......@@ -10,9 +10,9 @@ Background:
| two | Institution 2 |
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname |role |
| bob | mahara1 | bob@example.com | Bob | Smith | one | internal | member |
| jen | mahara1 | jen@example.com | Jen | Smith | one | internal | member |
| aaron | mahara1 | aaron@example.com | Aaron | Smith | two | internal | member |
| bob | mahara1 | bob@example.org | Bob | Smith | one | internal | member |
| jen | mahara1 | jen@example.org | Jen | Smith | one | internal | member |
| aaron | mahara1 | aaron@example.org | Aaron | Smith | two | internal | member |
Scenario: Find users in your institution and outside your institution
# Log in as a user
......
......@@ -6,11 +6,11 @@ Feature: Mahara users can participate in groups
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Son | Nguyen | mahara | internal | member |
| userC | Kupuhipa1 | test03@example.com | Jack | Smith | mahara | internal | member |