Feature
User story | As a user | |||
Use case | UC-402: Read message | |||
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 message from the inbox Given user is logged in When user is consulting the INBOX And user reads the basic message Then the correct message is shown in the INBOX @ignore Scenario: Read a message from the sent box Given user is logged in When user is consulting the SENTBOX And user reads the basic message Then the correct message is shown in the SENTBOX @ignore Scenario: Read an encrypted message Given user is logged in When user is consulting the INBOX And user reads the encrypted message Then the correct message is shown 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 message with an attachment Then the correct message is shown 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 encrypted message with an attachment Then the correct message is shown in the INBOX |
...