From 1f7d9d81b43584b0a006e5a57a76678dcf89da2c Mon Sep 17 00:00:00 2001 From: splincode Date: Mon, 16 Dec 2024 19:19:50 +0300 Subject: [PATCH] chore: flaky --- .../tests/legacy/combo-box/combobox.pw.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/demo-playwright/tests/legacy/combo-box/combobox.pw.spec.ts b/projects/demo-playwright/tests/legacy/combo-box/combobox.pw.spec.ts index 0eae9206cf2a..df38a2a5ccb4 100644 --- a/projects/demo-playwright/tests/legacy/combo-box/combobox.pw.spec.ts +++ b/projects/demo-playwright/tests/legacy/combo-box/combobox.pw.spec.ts @@ -35,6 +35,11 @@ test.describe('ComboBox', () => { test(`search shouldn't be reset if an exact match is entered when strict is ${strict}`, async ({ page, }) => { + await tuiGoto( + page, + `components/combo-box/API?strict=${strict}&sandboxExpanded=true`, + ); + const {apiPageExample} = new TuiDocumentationPagePO(page); const comboBoxPO = new TuiComboBoxPO(apiPageExample); @@ -42,11 +47,6 @@ test.describe('ComboBox', () => { await page.waitForTimeout(300); // safari flaky - await tuiGoto( - page, - `components/combo-box/API?strict=${strict}&sandboxExpanded=true`, - ); - await expect(page).toHaveScreenshot( `search-should-not-be-reset-strict-${strict}.png`, );