Feature
User story | As a user | |||
Use case | UC-403: Send message | |||
Test data | The test data needs to be used to send the messages in your application.
| |||
Expected result | Check the response of the webservice call. | |||
Actual result | Check the front-end of the application under test. | |||
Test pass conditions | The following values need to be verified:
The following values need to be verified for every attachment:
The following values need to be verified for every recipient:
|
Scenarios (Cucumber)
sendMessage.feature
#Remove the @ignore-tag(s) of scenarios you want to start testing. @ignore Feature: TS-403: Send message As a user I want to send a message So that I am able to send data to another user @ignore Scenario: Send a basic message Given user is logged in When user is on the send message page And user sends the 'send: basic' message Then the 'send: basic' message is sent correctly @ignore Scenario: Send a message with two recipients Given user is logged in When user is on the send message page And user sends the 'send: two recipients' message Then the 'send: two recipients' message is sent correctly @ignore Scenario: Send an encrypted message Given user is logged in When user is on the send message page And user sends the 'send: encrypted' message Then the 'send: encrypted' message is sent correctly @ignore Scenario: Send a message with an attachment Given user is logged in When user is on the send message page And user sends the 'send: attachment' message Then the 'send: attachment' message is sent correctly @ignore Scenario: Send a message with two attachments Given user is logged in When user is on the send message page And user sends the 'send: attachments' message Then the 'send: attachments' message is sent correctly @ignore Scenario: Send an encrypted message with an attachment Given user is logged in When user is on the send message page And user sends the 'send: encrypted with attachment' message Then the 'send: encrypted with attachment' message is sent correctly