Considering the mind map at the beginning of this chapter and knowing some facts about the mava
project, we can write some feature files in Gherkin. Let's start with the backend:
# workspace.feature
Feature: Workspace administration
In order to manage workspaces
As an admin
I am able to see, add, edit and delete workspaces in the backend
Some possible scenarios for this feature would be as follows:
@javascript Scenario: seeing a list of available workspaces Given I am logged in as admin And There are 3 workspaces And I am on "/admin" When I click on "Workspaces" Then I should see 3 items in the table @javascript Scenario: adding a new workspace Given I am logged in as admin And I am on "/admin/workspaces" When I click on "New" And I fill the "Title" with "My Workspace" And I fill the "Description" with "Testing add functionality" And I press "save" Then I should see "New workspace created" @javascript Scenario...