April 2016
Intermediate to advanced
290 pages
5h 51m
English
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 backendSome 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 ...