import { test, expect } from '@playwright/test'; import { readFile } from 'node:fs/promises'; test('main test consumes setup state', async () => { const state = JSON.parse(await readFile('playwright/.auth/user.json', 'utf8')); expect(state.prepared).toBe(true); console.log(`main test read ${state.createdBy}`); });