Commit c70e1b01 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1719222- Background should have only user creation"

parents d46ebb31 8413ce2e
@javascript @core @core_messages
Feature: Asterix (*) on required fields on Send Message page
In order to see an asterix on the required fields when sending a message
As an admin
So I can know I am required to fill those fields in so I can send the message
Scenario:
Given I log in as "admin" with password "Kupuhipa1"
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| UserA | Kupuhipa1 | UserA@example.org | Angela | User | mahara | internal | member |
And I choose "User search" in "Users" from administration menu
And I follow "Angela"
And I follow "Send message"
Then I should see "Recipients *"
And I should see "Subject *"
And I should see "Message *"
......@@ -8,6 +8,10 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| UserA | Kupuhipa1 | UserA@example.org | Angela | User | mahara | internal | member |
Scenario: Selection options to filter messages (Bug 1433342)
# Log in as "Admin" user
Given I log in as "admin" with password "Kupuhipa1"
And I choose "Users" from administration menu
And I follow "Angela"
......@@ -26,7 +30,6 @@ Background:
And I press "Reply"
And I log out
Scenario: Selection options to filter messages (Bug 1433342)
# First check what options an admin has
Given I log in as "admin" with password "Kupuhipa1"
And I choose "mail" from user menu by id
......
......@@ -8,8 +8,6 @@ Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| UserA | Kupuhipa1 | UserA@example.org | Angela | User | mahara | internal | member |
| UserB | Kupuhipa1 | UserB@example.org | Bob | User | mahara | internal | member |
| UserC | Kupuhipa1 | UserC@example.org | Cecilia | User | mahara | internal | member |
Scenario: Selecting select2 option via ajax (Bug #1520011)
# Log in as an Admin user
......@@ -17,6 +15,9 @@ Scenario: Selecting select2 option via ajax (Bug #1520011)
# Send a message
And I choose "mail" from user menu by id
And I follow "Compose"
Then I should see "Recipients *"
And I should see "Subject *"
And I should see "Message *"
And I fill in select2 input "sendmessage_recipients" with "UserA" and select "Angela User (UserA)"
And I set the following fields to these values:
| Subject | Test message with < & > |
......
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