Skip to content

Commit

Permalink
chore: debug pageheader
Browse files Browse the repository at this point in the history
  • Loading branch information
devadula-nandan committed Dec 11, 2024
1 parent 22c70d0 commit 3d38fe6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/components/PageHeader/PageHeader-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,8 @@ test.describe('PageHeader @avt', () => {
// focus on first focusable element
await page.getByRole('link', { name: 'Home page' }).focus();
await pressTabKey(page, 4);
await expect(
page.getByRole('button', { name: 'Page actions...' })
).toBeFocused();
console.log(await page.locator('*:focus').textContent());
(await page.locator('*:focus').textContent()) === 'Page actions...';
await page.keyboard.press('Enter');

// Ensure all buttons are rendered
Expand Down

0 comments on commit 3d38fe6

Please sign in to comment.