Skip to content

Find and merge duplicate scenarios

Over time, projects collect scenarios that test the same thing in slightly different words. Find duplicates in the Scenario Manager groups them so you can merge them.

  1. Open Features > Scenario manager.
  2. Optionally filter the list first, for example by feature or tag, to check one area.
  3. Select Find duplicates.
  4. Set the Similarity threshold: higher finds only near-identical scenarios, lower finds more possible matches. Grouping compares scenario names and steps and doesn’t use AI.
  5. Optionally tick Confirm with AI to have the AI check each group. It marks groups as Duplicates or Not duplicates with its reason, suggests which scenario to Keep, and writes a Merge suggestion that combines their steps.
  6. Select Find duplicates.
  1. In a group, select Review merge.
  2. Check the Scenario to keep and its merged steps, and the Scenarios to delete. Links to Jira issues and tags from the deleted scenarios move to the one you keep.
  3. Select Merge. Nothing changes until you do.

If the AI’s merge suggestion isn’t valid Gherkin, the review says so. Fix the steps, or select Merge anyway to keep the chosen scenario as it is.

Select Export report to download every group as a CSV file, for example to plan a clean-up with the team before merging anything.