THIS SPACE IS UNDER CONSTRUCTION

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Feature

User story

As a user
I want to be able to read a message
So that I am able to know what another user sent me

Use caseUC-402: Read message
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:

  • Document title
  • Document filename
  • Patient INSS
  • Is important
  • Is encrypted
  • Document content

The following values need to be verified for every attachment:

  • Annex title
  • Annex filename
  • Annex content

If the message is in the inbox:

The following values need to be verified:

  • Sender first name
  • Sender last name
  • Sender quality

If the message is in the sent box:

The following values need to be verified:

  • Destination first name
  • Destination last name
  • Destination quality

Scenarios (Cucumber)

readMessage.feature
#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
  • No labels