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
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:
+1
-1
@@ -459,7 +459,7 @@ test.describe('ComfyUI Portal read-only UI states', () => {
|
|||||||
await expect(page.getByText('Permission denied')).toBeVisible();
|
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 => {
|
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 }) });
|
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();
|
return route.continue();
|
||||||
|
|||||||
Reference in New Issue
Block a user