Versions Compared

Key

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

Feature

User story

As a user
I want to see my messages in any box

...

In order to read or delete them

Use caseUC-401: Message list
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/readMessages.json
Expected resultCheck the response of the webservice call.
Actual resultCheck the front-end of the application under test.
Test pass conditions

The following values need to be verified for every message:

  • Message ID
  • Message title
  • Has annex
  • Is encrypted
  • Is important
  • Publication date

If the message is in the inbox or bininbox:

  • Sender first name
  • Sender last name
  • Sender quality

If the message is in the sent box or bin sent box:

  • Destination first name
  • Destination last name
  • Destination quality

Scenarios (Cucumber)

Code Block
languagegherkin
titlemessageList.feature
#Remove the @ignore-tag(s) of scenarios you want to start testing.

@ignore
Feature: TS-401: Message list
As a user
I want to see my messages in any box
In order to read or delete them

@ignore
Scenario: ViewVerify the messages in the inbox
    Given user is logged in
    When user is consulting the INBOX
    Then INBOX message list is shown correctly

  @ignore
Scenario: LookVerify at the messages in the sent box
    Given user is logged in
    When user is consulting the SENTBOX
    Then SENTBOX message list is shown correctly

  @ignore
Scenario: ViewVerify the messages in the bin inbox
    Given user is logged in
    When user is consulting the BININBOX
    Then BININBOX message list is shown correctly

@ignore
  Scenario: ViewVerify the messages in the bin sent box
    Given user is logged in
    When user is consulting the BINSENTBOX
    Then BINSENTBOX message list is shown
 correctly