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`, );