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
Technical tasks
Activity
feedback is fixed
I have added specific comments about the terms which are used. I'd prefer names likes CRUD.
can you also look at this PR?
.Schatting van 22 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).
Wil je deze goedkeuren? Anders gaat het uit de sprint.