From d93460a2b9088bad4586d85eff7371683d93f4c9 Mon Sep 17 00:00:00 2001 From: Frederic Collonval Date: Tue, 10 Oct 2023 10:08:59 +0200 Subject: [PATCH] Add delay to improve test robustness on Windows --- ui-tests/tests/nbdime-merge-test3.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-tests/tests/nbdime-merge-test3.spec.ts b/ui-tests/tests/nbdime-merge-test3.spec.ts index 6757b059..c527b15f 100644 --- a/ui-tests/tests/nbdime-merge-test3.spec.ts +++ b/ui-tests/tests/nbdime-merge-test3.spec.ts @@ -11,6 +11,7 @@ test.beforeEach(async ({ page }) => { /* 2 cells with merge conflict */ test.describe('merge test3', () => { test('should warn for remaining conflicts', async ({ page }) => { + await page.waitForTimeout(300); await expect.soft(page.getByText('➭')).toHaveCount(25); await page.getByRole('button', { name: 'Download' }).click();