Skip to content

Commit

Permalink
fix(APIKeyModal): tab to move focus to input
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo committed Dec 11, 2024
1 parent 4e4f60d commit 2b31cbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/components/APIKeyModal/APIKeyModal-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ test.describe('APIKeyModal @avt', () => {
'APIKeyModal @avt-instant-generate-focus-trap'
);

await page.keyboard.press('Tab');

const apiKeyInput = page.getByLabel('Unique API Key');
await expect(apiKeyInput).toBeFocused();

Expand Down

0 comments on commit 2b31cbd

Please sign in to comment.