Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Copons committed Apr 23, 2021
1 parent 51a208c commit cb6beec
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ describe( 'Navigating the block hierarchy', () => {
await page.keyboard.up( 'Shift' );
await page.keyboard.type( '3' );

// Wait for the new column block to appear in the list view
// 5 = Columns, Column, Paragraph, Column, *Column*
await page.waitForSelector(
'tr.block-editor-block-navigation-leaf:nth-of-type(5)'
);

// Navigate to the last column block.
const lastColumnsBlockMenuItem = (
await page.$x(
Expand Down

0 comments on commit cb6beec

Please sign in to comment.