Skip to content

Commit

Permalink
chore: flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 16, 2024
1 parent 8374088 commit 1f7d9d8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ 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);
const textfield = comboBoxPO.textfield.first();

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

0 comments on commit 1f7d9d8

Please sign in to comment.