From da9c35ea38ff5b375c0a78aa4bee2b7f35caa957 Mon Sep 17 00:00:00 2001 From: Conduction Release Bot Date: Sat, 5 Sep 2026 16:03:59 +0200 Subject: [PATCH] fix(e2e): the seed asks for the schema slug this app now declares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #575 renamed `timeEntry` to `plannedTimeEntry` — three apps declared a `timeEntry` and a schema slug is global per organisation. The seed's required-schema list still asked for the old name. That is the ninth hiding place a slug rename has, and the one that costs the most: the seed exits 1 before Playwright starts, so the whole suite is reported as NOT RUN rather than as failing. On development: ##[error]Planninq schemas missing after import: [timeEntry] ##[error]The e2e suite cannot seed a project, columns, tasks or labels ##[error]Seed command failed with exit 1 ...while the line above it listed `plannedTimeEntry` among the 28 schemas that had in fact imported. Verified against `lib/Settings/planninq_register.json` on development: every one of the six required slugs is declared. Co-Authored-By: Claude Opus 5 (1M context) --- tests/e2e/ci-seed.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/e2e/ci-seed.sh b/tests/e2e/ci-seed.sh index 89ef3b12..80c00dcd 100755 --- a/tests/e2e/ci-seed.sh +++ b/tests/e2e/ci-seed.sh @@ -193,7 +193,12 @@ import json, sys path, kind, code = sys.argv[1], sys.argv[2], sys.argv[3] required = { 'registers': ['planninq'], - 'schemas': ['task', 'project', 'column', 'label', 'timeEntry', 'dependency'], + # `plannedTimeEntry`, not `timeEntry`: #575 renamed the slug because three + # apps declared one and a schema slug is global per organisation. This + # list is the ninth hiding place a slug rename has, and the one that + # kills the whole suite: the seed exits before Playwright starts, so + # every spec is reported as not run rather than as failing. + 'schemas': ['task', 'project', 'column', 'label', 'plannedTimeEntry', 'dependency'], }[kind] with open(path) as fh: raw = fh.read()