mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
Merge pull request #6137 from super-productivity/claude/fix-failing-eye-tests-AqO9x
test(sync): increase wait buffer for TODAY_TAG repair effect
This commit is contained in:
commit
d1efbb1677
1 changed files with 4 additions and 2 deletions
|
|
@ -1469,10 +1469,12 @@ test.describe('@supersync SuperSync LWW Conflict Resolution', () => {
|
|||
await clientA.sync.syncAndWait();
|
||||
console.log('[TodayDeleteRace] Client A synced, LWW applied');
|
||||
|
||||
// Wait for post-sync cooldown (2s) to ensure repair effect runs if needed.
|
||||
// Wait for post-sync cooldown (2s) plus buffer for repair effect to run.
|
||||
// The meta-reducer should add task to TODAY_TAG.taskIds immediately, but
|
||||
// the repair effect provides a safety net with a 2-second delay.
|
||||
await clientA.page.waitForTimeout(2500);
|
||||
// Extra buffer (1.5s) ensures effect has time to dispatch and render
|
||||
// even under CI resource contention.
|
||||
await clientA.page.waitForTimeout(3500);
|
||||
console.log('[TodayDeleteRace] Post-sync cooldown complete');
|
||||
|
||||
// 8. CRITICAL ASSERTION: Task should appear in TODAY view on Client A
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue