Skip to content

Create new features and scenarios from Issue View

You can write a new scenario for a work item without leaving it, in a new or an existing feature. If the panel isn’t showing yet, see Display AssertThat on Issue View.

To have AI write scenarios from the story and its acceptance criteria instead, see Generate scenarios from a user story.

Step 1: In the AssertThat BDD panel, select Add > Add new scenario. On a work item without scenarios, select Add new scenario in the empty panel.

Step 2: In Create a feature or search for an existing, type at least 3 characters. Choose an existing feature, or create a new one with the name you typed.

Step 3: Enter the Scenario name and write the steps. Step autocomplete suggests steps already used in the project as you type, and Review with AI checks the Gherkin before you save. See Review and improve scenarios with AI.

The Add new scenario form: feature, scenario name and the Gherkin editor with Review with AI

Step 4: Select Save. The scenario is created in the feature and linked to the work item.

Step 5: Expand the scenario to see its steps, add tags, or switch it between manual and automated. The mode decides whether the scenario is downloaded for test automation. New scenarios start in the space’s Default scenario mode (see AssertThat configuration).