Skip to content

Commit

Permalink
Fix end2end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jul 15, 2020
1 parent 18e66ec commit 52a5069
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/e2e-test-utils/src/click-block-appender.js
Expand Up @@ -2,5 +2,8 @@
* Clicks the default block appender.
*/
export async function clickBlockAppender() {
await page.click( '.block-editor-default-block-appender__content' );
const appender = await page.waitForSelector(
'.block-editor-default-block-appender__content'
);
await appender.click();
}

0 comments on commit 52a5069

Please sign in to comment.