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

Technical tasks

None

Deployment actions

None

Activity

Show:
Maartje Wessels-Wouda
February 27, 2018, 7:17 AM

Wil je deze goedkeuren? Anders gaat het uit de sprint.

API
February 27, 2018, 7:37 AM

.Schatting van 22 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

Jeroen van Leeuwen
March 16, 2018, 6:44 AM

can you also look at this PR?

Michael Jongman
March 20, 2018, 8:19 AM

I have added specific comments about the terms which are used. I'd prefer names likes CRUD.

Jeroen van Leeuwen
March 20, 2018, 12:14 PM

feedback is fixed

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Sprint

None

Fix versions

Configure