diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89912c8..ad5d990 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -229,7 +229,7 @@ rejects any **known-route** helper round-trip over 100ms. A miss is a red Every path this process answers itself also needs **frontend E2E** coverage: a real UI flow that hits that function, listed in `offered-routes.json`. Those tests usually live in the consumer repository (for example -`DFXswiss/services` `e2e-stack/specs/buy.spec.ts`). This repository's CI +`DFXswiss/app` `e2e-stack/specs/buy.spec.ts`). This repository's CI enforces the catalog, not the foreign suite. A mocked API intercept that never reaches this process is not E2E of this layer. Reviewers must not merge a change to an offered function until that E2E exists (any branch of diff --git a/offered-routes.json b/offered-routes.json index bf0f0c7..f2e901d 100644 --- a/offered-routes.json +++ b/offered-routes.json @@ -25,7 +25,7 @@ "match": "exact", "usedIn": [ { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/compose.yml", "note": "e2e-stack compose healthcheck is GET /version." } @@ -90,19 +90,19 @@ "note": "GET AssetUrl.get (asset). This prefix and its nested paths are served from the background GET cache; a miss is 503 not served, never forwarded." }, { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "src/screens/buy.screen.tsx", "note": "Widget buy screen loads assets through @dfx.swiss/react." } ], "e2e": [ { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/specs/buy.spec.ts", "note": "Widget buy flow: frontend Playwright asserts against live GET /v1/asset." }, { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/specs/smoke.spec.ts", "note": "Smoke fetch of GET /v1/asset from the running stack." } @@ -126,7 +126,7 @@ ], "e2e": [ { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/specs/buy.spec.ts", "note": "Widget buy flow: frontend Playwright checks GET /v1/fiat." } @@ -150,7 +150,7 @@ ], "e2e": [ { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/specs/kyc.spec.ts", "note": "KYC personal-data step: frontend Playwright fills the country search dropdown (Switzerland)." } @@ -174,7 +174,7 @@ ], "e2e": [ { - "repo": "DFXswiss/services", + "repo": "DFXswiss/app", "path": "e2e-stack/specs/buy.spec.ts", "note": "Widget buy flow: frontend Playwright loads GET /v1/language." } @@ -187,7 +187,7 @@ "usedIn": [ { "unidentified": true, - "note": "Prefix on the swagger allowlist. The root is served from the background GET cache. Nested GET /v1/statistic/status is answered from that cached list-root status object (not a separate backend fetch). A miss is 503 not served, never forwarded. No named call site in DFXswiss/packages or DFXswiss/services." + "note": "Prefix on the swagger allowlist. The root is served from the background GET cache. Nested GET /v1/statistic/status is answered from that cached list-root status object (not a separate backend fetch). A miss is 503 not served, never forwarded. No named call site in DFXswiss/packages or DFXswiss/app." } ], "e2e": [ @@ -204,7 +204,7 @@ "usedIn": [ { "unidentified": true, - "note": "Prefix on the swagger allowlist. The root and nested paths are served from the background GET cache; a miss is 503 not served, never forwarded. No named call site in DFXswiss/packages or DFXswiss/services." + "note": "Prefix on the swagger allowlist. The root and nested paths are served from the background GET cache; a miss is 503 not served, never forwarded. No named call site in DFXswiss/packages or DFXswiss/app." } ], "e2e": [ diff --git a/test/offered-routes.test.js b/test/offered-routes.test.js index 79b96b0..de283b5 100644 --- a/test/offered-routes.test.js +++ b/test/offered-routes.test.js @@ -19,7 +19,7 @@ process.env.BACKEND_URL = process.env.BACKEND_URL || 'http://127.0.0.1:9'; const { CACHE_PREFIXES, EXACT_GET_PATHS, isServedPath } = require('../server.js'); const PUBLIC_REPOS = new Set([ - 'DFXswiss/services', + 'DFXswiss/app', 'DFXswiss/packages', 'DFXswiss/dfx-wallet', 'RealUnitCH/app',