Skip to content

Commit

Permalink
Fix template part test
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jul 11, 2021
1 parent ae212bf commit d775b34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/e2e-tests/specs/experiments/template-part.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ describe( 'Template Part', () => {
chooseExistingButtonSelector
);
await chooseExistingButton.click();
const preview = await page.waitForXPath( testContentSelector );
const preview = await page.waitForSelector(
'.block-editor-block-preview__content iframe'
);
expect( preview ).toBeTruthy();

await preview.click();
Expand Down

0 comments on commit d775b34

Please sign in to comment.