Behat: improve content type feature

Description

Background

According to the behat test needs to be improved. In this issue Feature Content Type is going to be improved.

Requirements

  • Tag feature for content type context

  • Use a background if multiple scenario's use same context, example:

  • Scenario: See the content types

    • Use Viewing as behaviour

    • Remove interaction from Given (start with When if context is completely defined in background)

    • Remove the URL's for descriptions

    • Check if the content types from the background/context are on the page instead of some labels

  • Scenario: Edit a content type

    • Use Editing as behaviour

    • Remove interaction from Given (start with When if context is completely defined in background)

    • Remove the URL's for descriptions

    • Edit a content type from the background

    • Edit a content type by submitting the form

  • The following scenario's are missing and should be added:

    • Creating a content type

    • Deleting a content type

    • Deleting a content type which is not empty

    • Workflow, channel and custom fields are not in the current scenario's this will be new issues

  • Use folder structure for features, so add the content type features in own folder

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Jeroen van Leeuwen

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Jeroen van Leeuwen

Code reviewer

Michael Jongman

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

5

Time tracking

22h

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure