Skip to content

Commit

Permalink
Mucho linto
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Oct 19, 2022
1 parent ed719bc commit 874bca8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/e2e-test-utils-playwright/src/editor/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export async function openPreviewPage( this: Editor ): Promise< Page > {
const editorTopBar = this.page.locator(
'role=region[name="Editor top bar"i]'
);
const previewButton = editorTopBar.locator( 'role=button[name="Preview"i]' );
const previewButton = editorTopBar.locator(
'role=button[name="Preview"i]'
);

await previewButton.click();

const [ previewPage ] = await Promise.all( [
Expand Down

0 comments on commit 874bca8

Please sign in to comment.