Versions Compared

Key

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

Feature

User story

As a user
I want to add an Out-of-Office
In order to let other users know of my absence

Use caseUC-
408
409: Insert OoO
Test data

The test data needs to be used to add OoO's in your application.
The test data can be found in the project at:

  • src/test/resources/testdata/addOoOs.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:

OoO ID

  • Start date
  • End date

The following values need to be verifierd for every substitute:

  • Substitute id
  • Substitute type
    • First name
    • Last name
    Substitute quality

    Scenarios (Cucumber)

    Code Block
    languagegherkin
    titleinsertOoO.feature
    #Remove the @ignore-tag(s) of scenarios you want to start testing.
    
    @ignore
    Feature: TS-408409: Insert Out-of-Office
      As a user
      I want to add an Out-of-Office
      In order to let other users know of my absence
    
      @ignore
      Scenario: Insert an OoO without substitutes
        Given user is logged in
        When user is on the insert OoO page
        When user adds an OoO in April
        Then the OoO in April is added correctly
    
      @ignore
      Scenario: Insert an OoO with a substitute
        Given user is logged in
        When user is on the insert OoO page
        When user adds an OoO within a substituteMay
        Then the OoO in May is added correctly
    
      @ignore
      Scenario: Insert an OoO with two substitutes
        Given user is logged in
        When user is on the insert OoO page
        When user adds an OoO within substitutesJune
        Then the OoO in June is added correctly