Skip to content

Commit 22177c8

Browse files
committed
fix(e2e): add 15s goto timeout for retries and increase global test timeout to 60s
1 parent a5b482b commit 22177c8

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

crates/web/ui/e2e/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function navigateAndWait(page, path) {
9090
let lastError = null;
9191
for (let attempt = 0; attempt < 3; attempt++) {
9292
try {
93-
await page.goto(path, { waitUntil: "domcontentloaded" });
93+
await page.goto(path, { waitUntil: "domcontentloaded", timeout: 15_000 });
9494
await expectPageContentMounted(page);
9595
return pageErrors;
9696
} catch (error) {

crates/web/ui/e2e/specs/agents.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ async function deleteAgentByName(page, agentName) {
8080
}
8181

8282
test.describe("Agents settings page", () => {
83-
// Skip in CI: page.goto("/settings/agents") consistently hangs on CI
84-
// runners even though the gateway health check responds instantly.
85-
// Diagnostics show health=true, connections=0, url=about:blank.
86-
// The issue does not reproduce locally. Tracked for investigation.
87-
test.skip(!!process.env.CI, "agents page navigation hangs on CI runners");
88-
8983
test.beforeEach(async ({ page, baseURL }, testInfo) => {
9084
// Agents tests consistently timeout on CI runners due to resource
9185
// pressure late in the suite. Increase timeout and warm up the

crates/web/ui/playwright.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ if (ollamaQwenLiveEnabled) {
211211

212212
module.exports = defineConfig({
213213
testDir: "./e2e/specs",
214-
timeout: 45_000,
214+
timeout: 60_000,
215215
expect: {
216216
timeout: 10_000,
217217
},

0 commit comments

Comments
 (0)