Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Sep 10, 2021
1 parent 67e0022 commit a0298d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe( 'changing image size', () => {

expect( await getEditedPostContent() ).toMatchSnapshot();

await page.waitForSelector( '.wp-block-test-iframed-block' );
const text = await page.evaluate( () => {
return document.querySelector( '.wp-block-test-iframed-block' )
.innerText;
Expand Down

0 comments on commit a0298d1

Please sign in to comment.