Skip to content

Commit

Permalink
Attempt to fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Apr 22, 2021
1 parent e90f968 commit ae86b13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ function BlockNavigationDropdown(
isEnabled={ isEnabled }
/>
) }
renderContent={ ( { onClose } ) => (
renderContent={ () => (
<BlockNavigation
onSelect={ onClose }
__experimentalFeatures={ __experimentalFeatures }
/>
) }
Expand Down
1 change: 1 addition & 0 deletions packages/e2e-tests/specs/editor/blocks/list.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ describe( 'List', () => {
await clickBlockAppender();
await page.keyboard.press( 'Enter' );
await page.keyboard.type( '* ' );
await page.evaluate( () => new Promise( window.requestIdleCallback ) );
await page.keyboard.press( 'ArrowUp' );
await page.keyboard.press( 'ArrowDown' );
await page.keyboard.press( 'Backspace' );
Expand Down

0 comments on commit ae86b13

Please sign in to comment.