mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
test(e2e): the instance-wide journeys run in one project only
`onboarding-ai-offer.spec.ts` seeds the operator's AI key into `app_settings` and replaces every `provider_health` row for both shared provider tags, then restores both. Its own header says the inputs are instance-wide and it configures serial mode, but serial mode only orders tests within a file: the spec was absent from the project filter, so the mobile project ran it in a second worker concurrently with the desktop one, each holding and clearing state the other was asserting on — and any other spec reading AI availability alongside them. `invite-registration.spec.ts` joins the list for the smaller reason its neighbours carry: two projects registering from one address share the same five-per-fifteen-minutes budget.
This commit is contained in:
1 parent
ba29a5e471
commit
bdc23f34ff
1 file changed
+12
@@ -234,6 +234,18 @@ export default defineConfig({
|
||||
"setup-flow-a11y.spec.ts",
|
||||
"setup-flow-connect.spec.ts",
|
||||
"setup-flow-locale-overflow.spec.ts",
|
||||
// The shared-provider offer journey states INSTANCE-wide facts to
|
||||
// reason about: it writes the operator key into `app_settings` and
|
||||
// replaces every `provider_health` row for both shared tags, then
|
||||
// puts both back. Serial mode only orders tests inside one file, so
|
||||
// a second project would hold and clear that state underneath the
|
||||
// first — and underneath any other spec that reads AI availability.
|
||||
"onboarding-ai-offer.spec.ts",
|
||||
// The invitation journey mints its token and registers from a
|
||||
// cookie-less window. Two projects registering from one address
|
||||
// share the five-per-fifteen-minutes budget on `auth:register`, so
|
||||
// the second one meets a rate limit rather than the form.
|
||||
"invite-registration.spec.ts",
|
||||
],
|
||||
use: {
|
||||
// Pixel 5 — Chromium-based mobile profile so CI only needs
|
||||
|
||||
Reference in new issue
Block a user