diff --git a/e2e/pages/supersync.page.ts b/e2e/pages/supersync.page.ts index cbda39169..24ddb8010 100644 --- a/e2e/pages/supersync.page.ts +++ b/e2e/pages/supersync.page.ts @@ -473,7 +473,7 @@ export class SuperSyncPage extends BasePage { await this.conflictApplyBtn.click(); break; } - await this.page.waitForTimeout(200); + await this.page.waitForTimeout(100); // Reduced from 200ms } // Wait for dialog to close @@ -558,13 +558,13 @@ export class SuperSyncPage extends BasePage { return; } - await this.page.waitForTimeout(300); + await this.page.waitForTimeout(150); // Reduced from 300ms continue; } // Still spinning - reset stable count stableCount = 0; - await this.page.waitForTimeout(200); + await this.page.waitForTimeout(100); // Reduced from 200ms } throw new Error(`Sync did not complete within ${timeout}ms`); diff --git a/e2e/utils/e2e-constants.ts b/e2e/utils/e2e-constants.ts index 9177f0959..a99ecb743 100644 --- a/e2e/utils/e2e-constants.ts +++ b/e2e/utils/e2e-constants.ts @@ -70,8 +70,8 @@ export const RETRY_BASE_DELAY = 1000; /** Delay after sync to allow UI to update */ export const POST_SYNC_UI_SETTLE = 1000; -/** Polling interval for waiting for tasks */ -export const TASK_POLL_INTERVAL = 300; +/** Polling interval for waiting for tasks (reduced from 300ms) */ +export const TASK_POLL_INTERVAL = 150; /** Default timeout for waiting for a task to appear */ export const TASK_WAIT_TIMEOUT = 30000;