Skip to content

Commit 15acaae

Browse files
test(update test that fails on cold start): test fails
fails on a cold start, even though I can clearly see the intended behavior working as expected from the test. I thought it might be a race condition issue in the test, but haven't found anything
1 parent 9dfab2e commit 15acaae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/website/src/routes/docs/headless/select/select.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ test.describe('Keyboard Behavior', () => {
473473

474474
const options = await getOptions();
475475
await getTrigger().focus();
476-
await getTrigger().press('ArrowRight', { delay: 250 });
476+
await getTrigger().press('ArrowRight', { delay: 500 });
477477

478478
expect(await getValue()).toEqual(await options[0].textContent());
479479
await expect(options[0]).toHaveAttribute('aria-selected', 'true');
@@ -489,8 +489,8 @@ test.describe('Keyboard Behavior', () => {
489489

490490
const options = await getOptions();
491491
await getTrigger().focus();
492-
await getTrigger().press('ArrowRight', { delay: 250 });
493-
await getTrigger().press('ArrowRight', { delay: 250 });
492+
await getTrigger().press('ArrowRight', { delay: 500 });
493+
await getTrigger().press('ArrowRight', { delay: 500 });
494494

495495
expect(await getValue()).toEqual(await options[1].textContent());
496496
await expect(options[1]).toHaveAttribute('aria-selected', 'true');

0 commit comments

Comments
 (0)