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.
Find duplicates
Section titled “Find duplicates”- Open Features > Scenario manager.
- Optionally filter the list first, for example by feature or tag, to check one area.
- Select Find duplicates.
- 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.
- 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.
- Select Find duplicates.
Merge a group
Section titled “Merge a group”- In a group, select Review merge.
- 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.
- 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.
Export the report
Section titled “Export the report”Select Export report to download every group as a CSV file, for example to plan a clean-up with the team before merging anything.