Skip to content

Commit

Permalink
Adjust test.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Apr 4, 2023
1 parent 1bd73e9 commit 126afa7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/e2e/specs/editor/various/list-view.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,11 @@ test.describe( 'List View', () => {
await pageUtils.pressKeys( 'shift+Tab' );
await pageUtils.pressKeys( 'shift+Tab' );
await expect(
editor.canvas.getByRole( 'button', {
name: 'Close Document Overview Sidebar',
} )
editor.canvas
.getByRole( 'region', { name: 'Document Overview' } )
.getByRole( 'button', {
name: 'Close',
} )
).toBeFocused();

// Close List View and ensure it's closed.
Expand Down

0 comments on commit 126afa7

Please sign in to comment.