Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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)

Code Block
languagegherkin
titledeleteMessage.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 message'delete: tofrom beinbox' deletedmessage
    And user deletes the message
'delete: from inbox'  message
Then the correct'delete: from inbox' message is correctly deleted from the INBOX

  @ignore
  Scenario: Delete a message from the sent sentboxbox
    Given user is logged in
    When user is consulting the SENTBOX
    And user reads the message to be deleted
    'delete: from sent box' message
And user deletes the message
'delete: from sent box' message
Then the correct '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 message to be deleted
    'delete: from bin inbox' message
And user deletes the message
'delete: from bin inbox' message
Then the correct '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 message'delete: tofrom bebin deleted
sent box'   message
And user deletes the 'delete: from bin sent box' message
Then the 'delete: from Thenbin thesent correctbox' message is correctly deleted from the BINSENTBOX