Keep unauthenticated UI test unauthenticated
Test, build, and deploy ComfyUI Jobs / test-build (push) Successful in 4m56s
Test, build, and deploy ComfyUI Jobs / deploy (push) Successful in 15s
Test, build, and deploy ComfyUI Jobs / browser-test (push) Successful in 1m43s
Test, build, and deploy ComfyUI Jobs / qa-gate (push) Successful in 4s

This commit is contained in:
2026-10-26 16:32:59 +00:00
parent 3c2468319e
commit 0e93d1072e
+3 -1
View File
@@ -74,7 +74,9 @@ const managerInfo = { managerVersion: '3.0.0', currentVersion: '0.3.0', versions
async function mockReadOnlyApi(page, { user = adminUser, jobs = [], running = null, server = connectedServer, manager = managerInfo } = {}) {
test.skip(!requiresCredentials, 'deployed read-only UI tests require the configured E2E account');
await page.context().addCookies([{ name: 'cp_auth', value: username, url: process.env.E2E_BASE_URL || 'http://127.0.0.1:7002' }]);
if (user) {
await page.context().addCookies([{ name: 'cp_auth', value: username, url: process.env.E2E_BASE_URL || 'http://127.0.0.1:7002' }]);
}
await page.route('**/api/**', async (route) => {
const request = route.request();
const url = new URL(request.url());