app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

commit 130a60f7e3edb809ca2fd7a2f872f9f62530a6f1
parent 50ca422bdb3b63a6e8dff20b2e41f9baa826f44c
Author: triesap <tyson@radroots.org>
Date:   Tue,  6 Oct 2026 23:59:23 +0000

test: align remaining offline browser fixtures with signer graph (HCP-051)

- Select the current source pnpm store for three isolated browser clones.
- Keep exact locked offline installation without a network fallback.
- Retain selected store evidence without changing product assertions.
- Verify the complete current browser graph and source preservation.

Diffstat:
Mweb/tests/e2e/notices.spec.ts | 15++++++++++++++-
Mweb/tests/e2e/primitives.spec.ts | 15++++++++++++++-
Mweb/tests/e2e/shell.spec.ts | 15++++++++++++++-
3 files changed, 42 insertions(+), 3 deletions(-)

diff --git a/web/tests/e2e/notices.spec.ts b/web/tests/e2e/notices.spec.ts @@ -58,9 +58,21 @@ test.beforeAll(async () => { ); // Runtime store metadata is volume-specific; install the exact locked graph // into this disposable clone without a network or lock-repair fallback. + const sourceStore = execFileSync('corepack', ['pnpm', 'store', 'path'], { + cwd: path.join(capsule, 'web') + }) + .toString() + .trim(); const installed = execFileSync( 'corepack', - ['pnpm', 'install', '--offline', '--frozen-lockfile'], + [ + 'pnpm', + 'install', + '--offline', + '--frozen-lockfile', + '--store-dir', + path.dirname(sourceStore) + ], { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 90_000 } ); const sourceAudit = execFileSync( @@ -145,6 +157,7 @@ test.beforeAll(async () => { retention: 'HASHLOGS_ONLY: disposable compiled fixture output is removed after tests', payload: await payload(path.join(checkout, 'web/build')), + sourceStore, installed: installed.toString(), compiled: compiled.toString(), metadata: JSON.parse( diff --git a/web/tests/e2e/primitives.spec.ts b/web/tests/e2e/primitives.spec.ts @@ -51,9 +51,21 @@ test.beforeAll(async () => { ); // Runtime store metadata is volume-specific; install the exact locked graph // into this disposable clone without a network or lock-repair fallback. + const sourceStore = execFileSync('corepack', ['pnpm', 'store', 'path'], { + cwd: path.join(capsule, 'web') + }) + .toString() + .trim(); const installed = execFileSync( 'corepack', - ['pnpm', 'install', '--offline', '--frozen-lockfile'], + [ + 'pnpm', + 'install', + '--offline', + '--frozen-lockfile', + '--store-dir', + path.dirname(sourceStore) + ], { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 90_000 } ); const sourceAudit = execFileSync( @@ -128,6 +140,7 @@ test.beforeAll(async () => { ) .digest('hex'), payload: await payload(path.join(checkout, 'web/build')), + sourceStore, installed: installed.toString(), compiled: compiled.toString(), metadata: JSON.parse( diff --git a/web/tests/e2e/shell.spec.ts b/web/tests/e2e/shell.spec.ts @@ -54,9 +54,21 @@ test.beforeAll(async () => { ); // Runtime store metadata is volume-specific; install the exact locked graph // into this disposable clone without a network or lock-repair fallback. + const sourceStore = execFileSync('corepack', ['pnpm', 'store', 'path'], { + cwd: path.join(capsule, 'web') + }) + .toString() + .trim(); const installed = execFileSync( 'corepack', - ['pnpm', 'install', '--offline', '--frozen-lockfile'], + [ + 'pnpm', + 'install', + '--offline', + '--frozen-lockfile', + '--store-dir', + path.dirname(sourceStore) + ], { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 90_000 } ); const fixtureLayout = @@ -150,6 +162,7 @@ test.beforeAll(async () => { compiledLayout: fixtureLayout, derivedTargets, payload: await payload(path.join(checkout, 'web/build')), + sourceStore, installed: installed.toString(), compiled: compiled.toString(), metadata: JSON.parse(