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)
Code Block | ||||
---|---|---|---|---|
| ||||
#Remove the @ignore-tag(s) of scenarios you want to start testing. @ignore Feature: TS-403: ReadSend message As a user I want to be able to read send a message So that I know what am able to send data to another user sent me @ignore Scenario: ReadSend a basic message from the inbox Given user is logged in When user is consultingon the send message INBOXpage And user readssends the 'send: basic' message Then the correct'send: basic' message is shown in the INBOXsent correctly @ignore Scenario: ReadSend a message fromwith thetwo sent boxrecipients Given user is logged in When user is consultingon the send message SENTBOXpage And user readssends the basic'send: two recipients' message Then the correct 'send: two recipients' message is shown in the SENTBOXsent correctly @ignore Scenario: ReadSend an encrypted message Given user is logged in When user is consultingon the INBOXsend message page And user readssends the 'send: encrypted' message Then the correct 'send: encrypted' message is shown in the INBOXsent correctly @ignore Scenario: ReadSend a message with an attachment Given user is logged in When user is consultingon the INBOXsend message page And user readssends the 'send: attachment' message with an attachment Then the correct message is shown in the INBOX 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: ReadSend an encrypted message with an attachment Given user is logged in When user is consultingon the send message INBOXpage And user readssends the 'send: encrypted message with anattachment' attachmentmessage Then the correct 'send: encrypted with attachment' message is shown in the INBOX sent correctly |