From ed61c7081f36925a81fec83bd6771af28d093b60 Mon Sep 17 00:00:00 2001 From: Sylvain Duchesne Date: Mon, 19 Jan 2026 10:00:11 +0100 Subject: [PATCH] Extract screenIds from feature files automatically - Add screenIds extraction to parse-features.ts based on step patterns - Update ParsedFeature type to include screenIds field - Remove manual screenIds from user story definitions in index.ts - Compute screenIds by looking up parsed features at runtime Feature files are now the single source of truth for screen-to-story linking. Run `bun run features:parse` to update after modifying features. Co-Authored-By: Claude Opus 4.5 --- reports/cucumber-report.html | 2 +- reports/cucumber-report.json | 1632 +++++++++++++++++----------------- scripts/parse-features.ts | 79 ++ src/data/features.ts | 151 +++- src/data/index.ts | 50 +- src/data/testResults.ts | 52 +- src/types/gherkin.ts | 1 + 7 files changed, 1065 insertions(+), 902 deletions(-) diff --git a/reports/cucumber-report.html b/reports/cucumber-report.html index 945f7d1..21277eb 100644 --- a/reports/cucumber-report.html +++ b/reports/cucumber-report.html @@ -46,7 +46,7 @@