Feature
User story | As a user | |||
Use case | UC-402: Read message | |||
Test data | The test data is added automatically when starting the automated test scripts. The test data can be found in the project at:
| |||
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:
If the message is in the inbox: The following values need to be verified:
If the message is in the sent box: The following values need to be verified:
|
Scenarios (Cucumber)
Code Block | ||||
---|---|---|---|---|
| ||||
#Remove the @ignore-tag(s) of scenarios you want to start testing.
@ignore
Feature: TS-402: Read message
As a user
I want to be able to read a message
So that I am able to know what another user sent me
@ignore
Scenario: Read a basic message from the inbox
Given user is logged in
When user is consulting the INBOX
And user reads the 'read: basic' message
Then the 'read: basic' message is shown correctly in the INBOX
@ignore
Scenario: Read a message from the sent box with two recipients
Given user is logged in
When user is consulting the SENTBOX
And user reads the 'read: two recipients' message
Then the 'read: two recipients' message is shown correctly in the SENTBOX
@ignore
Scenario: Read an encrypted message
Given user is logged in
When user is consulting the INBOX
And user reads the 'read: encrypted' message
Then the 'read: encrypted' message is shown correctly in the INBOX
@ignore
Scenario: Read a message with an attachment
Given user is logged in
When user is consulting the INBOX
And user reads the 'read: attachment' message
Then the 'read: attachment' message is shown correctly in the INBOX
@ignore
Scenario: Read a message with two attachments
Given user is logged in
When user is consulting the INBOX
And user reads the 'read: attachments' message
Then the 'read: attachments' message is shown correctly in the INBOX
@ignore
Scenario: Read an encrypted message with an attachment
Given user is logged in
When user is consulting the INBOX
And user reads the 'read: encrypted with attachment' message
Then the 'read: encrypted with attachment' message is shown correctly in the INBOX
|