Preserve QA issue identity for session expiry test
Test, build, and deploy ComfyUI Jobs / test-build (push) Successful in 5m5s
Test, build, and deploy ComfyUI Jobs / deploy (push) Successful in 17s
Test, build, and deploy ComfyUI Jobs / browser-test (push) Successful in 2m37s
Test, build, and deploy ComfyUI Jobs / qa-gate (push) Successful in 5s

This commit is contained in:
2026-10-27 00:02:56 +00:00
parent cc399eda93
commit 23d7b30211
+1 -1
View File
@@ -459,7 +459,7 @@ test.describe('ComfyUI Portal read-only UI states', () => {
await expect(page.getByText('Permission denied')).toBeVisible();
});
test('does not expose the job monitor when an authenticated session expires on reload', async ({ page }) => {
test('redirects to sign in when an authenticated session expires on reload', async ({ page }) => {
await page.route('**/api/**', async route => {
if (new URL(route.request().url()).pathname === '/api/me') return route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ user: null }) });
return route.continue();