Skip to content

Commit

Permalink
Update another e2e test to match new tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jan 21, 2023
1 parent 0c05d01 commit 4b1ab14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/e2e-tests/specs/editor/various/links.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,6 @@ describe( 'Links', () => {

// Navigate to and toggle the "Open in new tab" checkbox.
await page.keyboard.press( 'Tab' );
await page.keyboard.press( 'Tab' );
await page.keyboard.press( 'Tab' );
await page.keyboard.press( 'Space' );

// Confirm that focus was not prematurely returned to the paragraph on
Expand All @@ -536,7 +534,8 @@ describe( 'Links', () => {

// Close dialog. Expect that "Open in new tab" would have been applied
// immediately.
await page.keyboard.press( 'Tab' );

await pressKeyWithModifier( 'shift', 'Tab' );
await page.keyboard.press( 'Enter' );

// Wait for Gutenberg to finish the job.
Expand Down

0 comments on commit 4b1ab14

Please sign in to comment.