Bethat: improve group feature

Description

Background

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

Requirements

  • Tag feature for group context

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

  • Scenario: Group overview

    • 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 groups from the background/context are on the page instead of some labels

  • Scenario: Add group validations

    • This scenario can have a own feature file if the developer wants that

    • Use "Trying to create a group with a short name" as behaviour

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

  • Scenario: Add a group without a required name

    • This scenario can have a own feature file if the developer wants that

    • Use "Trying to create a group without a name" as behaviour

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

  • Scenario: Add group

    • Use Creating as behaviour

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

  • Scenario: Remove group

    • Use Deleting as behaviour

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

    • Use following "flow" (so only one Given, When Then, in that order), example:

  • Use folder structure for features, so add the group features in own folder. This folder can be a sub folder of user since this is user functionality

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Fix versions

Configure