A4: app shell (layout, nav, tokens, error/empty states, /api/health)

Fixes the A4 blocker: /api/dev/complete now establishes the Auth.js session.
Root cause was UntrustedHost (trustHost defaulted false in pnpm start /
production because setEnvDefaults derives it from AUTH_URL, not NEXTAUTH_URL,
and assertConfig checks it before that default applies). Added trustHost: true
to the auth config; rebuilt. Complete response now sets authjs.session-token,
/schedule returns 200, and all 4 e2e shell tests pass.
Also ignores test-results/ artifacts.
This commit is contained in:
Tiel Coder
2026-11-17 23:35:45 +00:00
parent 3cd932e1a1
commit 3451bced82
18 changed files with 559 additions and 11 deletions
+34 -5
View File
@@ -31,10 +31,10 @@ importers:
version: 1.74.0(@types/react@19.3.0)(react@19.1.0)
next:
specifier: 15.5.29
version: 15.5.29(@babel/core@7.29.13)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
version: 15.5.29(@babel/core@7.29.13)(@playwright/test@1.65.1)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
next-auth:
specifier: 5.0.0-beta.32
version: 5.0.0-beta.32(next@15.5.29(@babel/core@7.29.13)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0)
version: 5.0.0-beta.32(next@15.5.29(@babel/core@7.29.13)(@playwright/test@1.65.1)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0)
postgres:
specifier: ^4.1.1
version: 4.1.1
@@ -57,6 +57,9 @@ importers:
'@eslint/eslintrc':
specifier: ^3
version: 3.3.7
'@playwright/test':
specifier: ^1.65.1
version: 1.65.1
'@tailwindcss/postcss':
specifier: ^4
version: 4.3.5
@@ -1062,6 +1065,11 @@ packages:
'@panva/hkdf@1.2.1':
resolution: {integrity: sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw==}
'@playwright/test@1.65.1':
resolution: {integrity: sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==}
engines: {node: '>=20'}
hasBin: true
'@radix-ui/react-compose-refs@1.1.5':
resolution: {integrity: sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==}
peerDependencies:
@@ -3123,6 +3131,16 @@ packages:
resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==}
engines: {node: '>=8'}
playwright-core@1.65.1:
resolution: {integrity: sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==}
engines: {node: '>=20'}
hasBin: true
playwright@1.65.1:
resolution: {integrity: sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==}
engines: {node: '>=20'}
hasBin: true
possible-typed-array-names@1.1.0:
resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
engines: {node: '>= 0.4'}
@@ -4498,6 +4516,10 @@ snapshots:
'@panva/hkdf@1.2.1': {}
'@playwright/test@1.65.1':
dependencies:
playwright: 1.65.1
'@radix-ui/react-compose-refs@1.1.5(@types/react@19.3.0)(react@19.1.0)':
dependencies:
react: 19.1.0
@@ -6354,13 +6376,13 @@ snapshots:
natural-compare@1.4.0: {}
next-auth@5.0.0-beta.32(next@15.5.29(@babel/core@7.29.13)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0):
next-auth@5.0.0-beta.32(next@15.5.29(@babel/core@7.29.13)(@playwright/test@1.65.1)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0):
dependencies:
'@auth/core': 0.41.3
next: 15.5.29(@babel/core@7.29.13)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
next: 15.5.29(@babel/core@7.29.13)(@playwright/test@1.65.1)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react: 19.1.0
next@15.5.29(@babel/core@7.29.13)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
next@15.5.29(@babel/core@7.29.13)(@playwright/test@1.65.1)(@types/node@20.19.43)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@next/env': 15.5.29
'@swc/helpers': 0.5.15
@@ -6378,6 +6400,7 @@ snapshots:
'@next/swc-linux-x64-musl': 15.5.29
'@next/swc-win32-arm64-msvc': 15.5.29
'@next/swc-win32-x64-msvc': 15.5.29
'@playwright/test': 1.65.1
sharp: 0.35.5(@types/node@20.19.43)
transitivePeerDependencies:
- '@babel/core'
@@ -6555,6 +6578,12 @@ snapshots:
dependencies:
find-up: 3.0.0
playwright-core@1.65.1: {}
playwright@1.65.1:
dependencies:
playwright-core: 1.65.1
possible-typed-array-names@1.1.0: {}
postcss-selector-parser@7.2.1: