Skip to content

Commit

Permalink
Fix E2E.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstine committed Oct 31, 2022
1 parent 02291fa commit faefdc3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const tabThroughParagraphBlock = async ( paragraphText ) => {

await page.keyboard.press( 'Tab' );
await expect( await getActiveLabel() ).toBe( 'Open document settings' );

// Need to shift+tab here to end back in the block. If not, we'll be in the next region and it will only require 4 region jumps instead of 5.
await pressKeyWithModifier( 'shift', 'Tab' );
await expect( await getActiveLabel() ).toBe( 'Paragraph block' );
};

const tabThroughBlockToolbar = async () => {
Expand Down

0 comments on commit faefdc3

Please sign in to comment.