Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack committed Oct 23, 2024
1 parent c95fb48 commit 528cf54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/e2e/app/routes/ButtonGroup/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ test.describe('ButtonGroup (toolbar)', () => {
}) => {
await page.goto('/ButtonGroup');

await page.waitForTimeout(50);

await page.keyboard.press('Tab');
await expect(page.getByRole('button', { name: 'Button 1' })).toBeFocused();

Expand Down Expand Up @@ -36,6 +38,8 @@ test.describe('ButtonGroup (toolbar)', () => {
}) => {
await page.goto('/ButtonGroup?orientation=vertical');

await page.waitForTimeout(50);

await page.keyboard.press('Tab');
await expect(page.getByRole('button', { name: 'Button 1' })).toBeFocused();

Expand Down

0 comments on commit 528cf54

Please sign in to comment.