mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
perf(e2e): reduce post-sync settle delay from 300ms to 100ms
Phase 1.1 of E2E test optimization. Reduces the settle delay in syncAndWait() since waitForSyncComplete() already polls for completion. Expected impact: ~10-15s saved per test Risk: Low - polling already ensures sync is complete
This commit is contained in:
parent
a8d154530e
commit
4c738186f3
1 changed files with 2 additions and 2 deletions
|
|
@ -584,8 +584,8 @@ export class SuperSyncPage extends BasePage {
|
|||
async syncAndWait(): Promise<void> {
|
||||
await this.triggerSync();
|
||||
await this.waitForSyncComplete();
|
||||
// Allow UI to settle after sync - reduces flakiness
|
||||
await this.page.waitForTimeout(300);
|
||||
// Allow UI to settle after sync - reduces flakiness (reduced from 300ms)
|
||||
await this.page.waitForTimeout(100);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue