THIS SPACE IS UNDER CONSTRUCTION

Feature

User story

As a user
I want to delete a message
In order to make room for other messages

Use caseUC-404: Delete 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:

  • src/test/resources/testdata/deleteMessages.json
Expected resultCheck the response of the webservice call.
Actual resultCheck the front-end of the application under test.
Test pass conditions

Verify that the message is correctly deleted in the message list.


Scenarios (Cucumber)

deleteMessage.feature
#Remove the @ignore-tag(s) of scenarios you want to start testing.

@ignore
Feature: TS-404: Delete message
As a user
I want to delete a message
In order to make room for other messages

@ignore
Scenario: Delete a message from the inbox
Given user is logged in
When user is consulting the INBOX
And user reads the 'delete: from inbox' message
And user deletes the 'delete: from inbox' message
Then the 'delete: from inbox' message is correctly deleted from the INBOX

@ignore
Scenario: Delete a message from the sent box
Given user is logged in
When user is consulting the SENTBOX
And user reads the 'delete: from sent box' message
And user deletes the 'delete: from sent box' message
Then the 'delete: from sent box' message is correctly deleted from the SENTBOX

@ignore
Scenario: Delete a message from the bin inbox
Given user is logged in
When user is consulting the BININBOX
And user reads the 'delete: from bin inbox' message
And user deletes the 'delete: from bin inbox' message
Then the 'delete: from bin inbox' message is correctly deleted from the BININBOX

@ignore
Scenario: Delete a message from the bin sent box
Given user is logged in
When user is consulting the BINSENTBOX
And user reads the 'delete: from bin sent box' message
And user deletes the 'delete: from bin sent box' message
Then the 'delete: from bin sent box' message is correctly deleted from the BINSENTBOX