Notes can optionally be configured to show the leading keywords that are there when viewing the corresponding lines for the note in the Gherkin Text Editor mode. These leading keywords cannot be deleted when editing the note’s text.
User Story Note Keywords
Use the preferences menu option highlighted below to show / hide the 'Feature' keyword.
The common user story keywords 'As a’, ‘I want to’ and ‘So that’ get added automatically to new User Story notes but can be changed or deleted if required.
Rule Note Keyword
Use the preferences menu option highlighted below to show / hide the 'Rule' keyword.
Scenario Note Keyword
Use the preferences menu option highlighted below to show / hide the 'Scenario' keyword.
Change Scenario keyword
Gherkin syntax supports one of: Scenario, Example, Scenario Outline and Scenario Template as leading keywords for a scenario. You can quickly change between these on a Scenario Note by hovering the mouse over the keyword and then clicking the left mouse button while holding the 'Alt' key. Then pick a different keyword from the drop down menu as shown below.
0 Comments