Skip to content

Commit

Permalink
Try: Fix flaky DataViews e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jun 7, 2024
1 parent 524eca4 commit a0da31f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ test.describe( 'Dataviews List Layout', () => {
// Make sure the items have loaded before reaching for the 1st item in the list.
await expect( page.getByRole( 'grid' ) ).toBeVisible();
await page.keyboard.press( 'Tab' );
await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
await expect(
page.getByRole( 'grid' ).getByRole( 'button' ).first()
).toBeFocused();
} );

test( 'Navigates from items list to preview via TAB, and vice versa', async ( {
Expand Down

0 comments on commit a0da31f

Please sign in to comment.