Skip to content

Commit

Permalink
Ensure that editor metabox plugin test waits for the element to be pr…
Browse files Browse the repository at this point in the history
…esent in DOM
  • Loading branch information
gziolo committed Apr 27, 2019
1 parent dbdcc6f commit 2adf348
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe.skip( 'WP Editor Meta Boxes', () => {

await page.reload();

await page.click( '#test_tinymce_id-html' );
await expect( page ).toClick( '#test_tinymce_id-html' );
const content = await page.$eval(
'#test_tinymce_id',
( textarea ) => textarea.value
Expand Down

0 comments on commit 2adf348

Please sign in to comment.