Skip to content

Commit

Permalink
Focus on the paragraph instead clicking it
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 authored and ellatrix committed Feb 20, 2023
1 parent b2c16f3 commit 4ca7dbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/e2e-tests/specs/performance/site-editor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ describe( 'Site Editor Performance', () => {
'[data-type="core/post-content"] [data-type="core/paragraph"]'
);
await enterEditMode();
await canvas().click(
'[data-type="core/post-content"] [data-type="core/paragraph"]'
await canvas().focus(
'[data-type="core/post-content"] [data-type="core/paragraph"]',
{ timeout: 240000 }
);
await insertBlock( 'Paragraph' );
let i = 200;
Expand Down

0 comments on commit 4ca7dbd

Please sign in to comment.