From f8c2e3b80902d093ba203a2bcf2e604fd37d1515 Mon Sep 17 00:00:00 2001 From: Sylvain Duchesne Date: Fri, 9 Oct 2026 21:18:51 +0200 Subject: [PATCH] Suspend the NextGraph suites, and smoke the ActivityPods stack --- cucumber.json | 2 +- cucumber.smoke.json | 17 + package.json | 2 +- reports/cucumber-report.html | 2 +- reports/cucumber-report.json | 154 +----- scripts/validate.ts | 513 ++++-------------- .../auth/features/connexion-nextgraph.feature | 2 +- .../features/cycle-de-vie-evenement.feature | 2 +- .../features/decouverte-publique.feature | 2 +- .../event/features/e2e-activitypods.feature | 59 ++ .../event/features/e2e-multibrowser.feature | 2 +- .../event/features/inscription-inbox.feature | 2 +- .../features/isolation-deux-identites.feature | 2 +- .../reconnexion-froide-sans-local.feature | 2 +- .../reconnexion-meme-identite.feature | 2 +- .../reconnexion-persistance-e2e.feature | 2 +- .../features/us-13-creer-evenement.feature | 2 +- .../us-7-inscription-evenement.feature | 10 +- .../event/steps/e2e/activitypods.steps.ts | 187 +++++++ .../features/accueil-connecte-rend.feature | 2 +- .../features/multibrowser-harness.feature | 2 +- src/shared/context/refineData.tsx | 70 +-- src/shared/context/refineDerive.test.ts | 128 +++++ src/shared/context/refineDerive.ts | 117 ++++ src/shared/support/activitypodsStack.ts | 197 +++++++ src/shared/support/hooks.ts | 122 +++++ src/shared/support/world.ts | 22 + 27 files changed, 977 insertions(+), 649 deletions(-) create mode 100644 cucumber.smoke.json create mode 100644 src/modules/event/features/e2e-activitypods.feature create mode 100644 src/modules/event/steps/e2e/activitypods.steps.ts create mode 100644 src/shared/context/refineDerive.test.ts create mode 100644 src/shared/context/refineDerive.ts create mode 100644 src/shared/support/activitypodsStack.ts diff --git a/cucumber.json b/cucumber.json index 4662134..3075ead 100644 --- a/cucumber.json +++ b/cucumber.json @@ -6,7 +6,7 @@ "src/modules/*/steps/**/*.ts" ], "paths": ["src/modules/*/features/**/*.feature"], - "tags": "not @wip and not @humain", + "tags": "not @wip and not @humain and not @suspendu and not @e2e-activitypods", "format": [ "progress-bar", "json:reports/cucumber-report.json", diff --git a/cucumber.smoke.json b/cucumber.smoke.json new file mode 100644 index 0000000..d6d2134 --- /dev/null +++ b/cucumber.smoke.json @@ -0,0 +1,17 @@ +{ + "default": { + "import": [ + "src/shared/support/**/*.ts", + "src/shared/steps/**/*.ts", + "src/modules/*/steps/**/*.ts" + ], + "paths": ["src/modules/event/features/e2e-activitypods.feature"], + "tags": "@e2e-activitypods and not @suspendu", + "format": ["progress-bar"], + "language": "fr", + "formatOptions": { + "snippetInterface": "async-await" + }, + "strict": false + } +} diff --git a/package.json b/package.json index 56d98f3..e488c83 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "bun run build.ts", "test:cucumber": "bun run cucumber:run && bun run cucumber:report && bun run features:parse && bun run steps:extract", "cucumber:run": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json", - "test:data": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json --tags @data", + "test:data": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json --tags '@data and not @suspendu'", "test:auth-setup": "bun scripts/setup-test-auth.ts", "cucumber:report": "bun scripts/parse-test-results.ts", "features:parse": "bun scripts/parse-features.ts", diff --git a/reports/cucumber-report.html b/reports/cucumber-report.html index 574bf3c..afb34b2 100644 --- a/reports/cucumber-report.html +++ b/reports/cucumber-report.html @@ -50,7 +50,7 @@