Loading test/behat/features/site_content/switches_edit_forum.feature +5 −8 Original line number Diff line number Diff line Loading @@ -8,14 +8,14 @@ Background: Given the following "users" exist: | username | password | email | firstname | lastname | institution | authname | role | | UserA | Kupuh1pa! | UserA@example.org | Angela | User | mahara | internal | member | And the following "groups" exist: | name | owner | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | public | | Turtles | admin | standard | ON | ON | all | ON | ON | UserA | 1 | Scenario: Turning on and off switches in the group forums tab (Bug 1431569) Given I log in as "admin" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | Turtles | When I press "Save group" And I follow "Turtles" And I follow "Forums" And I follow "General discussion" And I follow "Edit forum" Loading Loading @@ -51,10 +51,7 @@ Scenario: Turning on and off switches in the group forums tab (Bug 1431569) # Person joins group and unsubscribes from Freshwater turtles forum Given I log in as "UserA" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I select "All groups" from "filter" And I press "Search" And I wait "1" seconds And I press "Join this group" And I follow "Turtles" And I follow "Forums (tab)" And I should see "Unsubscribe" in the "General discussion" row And I should see "Unsubscribe" in the "Freshwater turtles" row Loading test/behat/features/site_content/switches_edit_group.feature +4 −4 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ Background: | UserD | Kupuh1pa! | UserD@example.org | Dave | UserD | insttwo | internal | member | | UserE | Kupuh1pa! | UserE@example.org | Earl | UserE | insttwo | internal | member | And the following "groups" exist: | name | owner | grouptype | editroles | | The Avengers | admin | standard | all | Given I log in as "UserA" with password "Kupuh1pa!" And I choose "People" in "Engage" from main menu When I click on "Send friend request" in "Bob UserB" row Loading Loading @@ -62,10 +66,6 @@ Background: Scenario: Turning on and off switches on Group Edit page (Bug 1431569) Given I log in as "admin" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | The Avengers | And I press "Save group" And I follow "Edit \"The Avengers\" Settings" # Checking all the switches can all be changed And I set the following fields to these values: Loading test/behat/features/social/group_members_sortedby.feature +4 −10 Original line number Diff line number Diff line Loading @@ -10,17 +10,11 @@ Background: | UserA | Kupuh1pa! | UserA@example.org | Angela | User | mahara | internal | member | | UserB | Kupuh1pa! | UserB@example.org | Bob | User | mahara | internal | member | And the following "groups" exist: | name | owner | grouptype | editroles | | Testing Group 1 | admin | course | all | Scenario: Creating a group and adding members to it (Bug 1426983) # Log in as "Admin" user Given I log in as "admin" with password "Kupuh1pa!" # Creating Testing group 1 And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I fill in "Group name" with "Testing Group 1" And I select "Course: Member, Tutor, Admin" from "Roles" And I press "Save group" # Log out as "Admin user" And I log out # Log in as user 1 And I log in as "UserA" with password "Kupuh1pa!" # Joining Testing group 1 Loading test/behat/features/user_content/moving_pages_between_groups.feature +6 −4 Original line number Diff line number Diff line Loading @@ -4,15 +4,17 @@ Feature: Move posts between forums within groups As an admin create a group with a forum So I can create different posts and move them around Background: And the following "groups" exist: | name | owner | grouptype | editroles | | Testing Group 1 | admin | standard | all | Scenario: Moving pages within a group (Bug 1426983) # Log in as "Admin" user Given I log in as "admin" with password "Kupuh1pa!" # Creating a group And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | Testing Group 1 | And I press "Save group" And I follow "Testing Group 1" # Creating a forum And I follow "Forums (tab)" And I follow "New forum" Loading Loading
test/behat/features/site_content/switches_edit_forum.feature +5 −8 Original line number Diff line number Diff line Loading @@ -8,14 +8,14 @@ Background: Given the following "users" exist: | username | password | email | firstname | lastname | institution | authname | role | | UserA | Kupuh1pa! | UserA@example.org | Angela | User | mahara | internal | member | And the following "groups" exist: | name | owner | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | public | | Turtles | admin | standard | ON | ON | all | ON | ON | UserA | 1 | Scenario: Turning on and off switches in the group forums tab (Bug 1431569) Given I log in as "admin" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | Turtles | When I press "Save group" And I follow "Turtles" And I follow "Forums" And I follow "General discussion" And I follow "Edit forum" Loading Loading @@ -51,10 +51,7 @@ Scenario: Turning on and off switches in the group forums tab (Bug 1431569) # Person joins group and unsubscribes from Freshwater turtles forum Given I log in as "UserA" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I select "All groups" from "filter" And I press "Search" And I wait "1" seconds And I press "Join this group" And I follow "Turtles" And I follow "Forums (tab)" And I should see "Unsubscribe" in the "General discussion" row And I should see "Unsubscribe" in the "Freshwater turtles" row Loading
test/behat/features/site_content/switches_edit_group.feature +4 −4 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ Background: | UserD | Kupuh1pa! | UserD@example.org | Dave | UserD | insttwo | internal | member | | UserE | Kupuh1pa! | UserE@example.org | Earl | UserE | insttwo | internal | member | And the following "groups" exist: | name | owner | grouptype | editroles | | The Avengers | admin | standard | all | Given I log in as "UserA" with password "Kupuh1pa!" And I choose "People" in "Engage" from main menu When I click on "Send friend request" in "Bob UserB" row Loading Loading @@ -62,10 +66,6 @@ Background: Scenario: Turning on and off switches on Group Edit page (Bug 1431569) Given I log in as "admin" with password "Kupuh1pa!" And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | The Avengers | And I press "Save group" And I follow "Edit \"The Avengers\" Settings" # Checking all the switches can all be changed And I set the following fields to these values: Loading
test/behat/features/social/group_members_sortedby.feature +4 −10 Original line number Diff line number Diff line Loading @@ -10,17 +10,11 @@ Background: | UserA | Kupuh1pa! | UserA@example.org | Angela | User | mahara | internal | member | | UserB | Kupuh1pa! | UserB@example.org | Bob | User | mahara | internal | member | And the following "groups" exist: | name | owner | grouptype | editroles | | Testing Group 1 | admin | course | all | Scenario: Creating a group and adding members to it (Bug 1426983) # Log in as "Admin" user Given I log in as "admin" with password "Kupuh1pa!" # Creating Testing group 1 And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I fill in "Group name" with "Testing Group 1" And I select "Course: Member, Tutor, Admin" from "Roles" And I press "Save group" # Log out as "Admin user" And I log out # Log in as user 1 And I log in as "UserA" with password "Kupuh1pa!" # Joining Testing group 1 Loading
test/behat/features/user_content/moving_pages_between_groups.feature +6 −4 Original line number Diff line number Diff line Loading @@ -4,15 +4,17 @@ Feature: Move posts between forums within groups As an admin create a group with a forum So I can create different posts and move them around Background: And the following "groups" exist: | name | owner | grouptype | editroles | | Testing Group 1 | admin | standard | all | Scenario: Moving pages within a group (Bug 1426983) # Log in as "Admin" user Given I log in as "admin" with password "Kupuh1pa!" # Creating a group And I choose "Groups" in "Engage" from main menu And I follow "Create group" And I set the following fields to these values: | Group name | Testing Group 1 | And I press "Save group" And I follow "Testing Group 1" # Creating a forum And I follow "Forums (tab)" And I follow "New forum" Loading