From b66caa9848469d8932bfd250aec55b892453cf54 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 5 Jul 2023 12:14:58 +0500 Subject: [PATCH] web: fix sync test --- apps/web/__e2e__/sync.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/__e2e__/sync.test.ts b/apps/web/__e2e__/sync.test.ts index c74dfeb6c..4f9521195 100644 --- a/apps/web/__e2e__/sync.test.ts +++ b/apps/web/__e2e__/sync.test.ts @@ -39,7 +39,7 @@ async function actAndSync( ) { const results = await Promise.all([ ...actions.filter((a) => !!a), - ...devices.map((d) => d.waitForSync("synced", "now")) + ...devices.map((d) => d.waitForSync("completed")) ]); await Promise.all(devices.map((d) => d.page.waitForTimeout(2000)));