Commit 3cf792f5 authored by Patrick O'Keeffe's avatar Patrick O'Keeffe Committed by Jinelle Foley-Barnes
Browse files

Behat test for required fields on send message (bug 1399063)



Change-Id: I7df214f9da3c1e461d7817dda4198896de5b5771
Signed-off-by: default avatarJinelle Foley-Barnes <jinelleb@catalyst.net.nz>
parent 913a990d
@javascript @core @core_messages @core_accessibility
Feature: Visible required fields astrix in Messaging
In order to see astrix for 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: Sending a message in order to see astrix for required fields
Given I log in as "admin" with password "Password1"
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Password1 | test01@example.com | Pete | Mc | mahara | internal | member |
And I follow "Administration"
And I follow "Users"
And I follow "Pete"
And I follow "Send message"
And I should see "Recipients *"
And I should see "Subject *"
And I should see "Message *"
@javascript @core @core_messages
Feature: message visible required fields astrix
In order to see astrix on some 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 "Password1"
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Password1 | test01@example.com | Pete | Mc | mahara | internal | member |
And I follow "Administration"
And I follow "Users"
And I follow "Pete"
And I follow "Send message"
And I should see "*"
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