Skip to content

Commit

Permalink
Perf: reopen inspector for remaining tests (#56780)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Dec 5, 2023
1 parent 308fc42 commit 19f944d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/performance/specs/post-editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,13 @@ test.describe( 'Post Editor Performance', () => {
draftId = await perfUtils.saveDraft();
} );

test( 'Run the test', async ( { admin, perfUtils, metrics, page } ) => {
test( 'Run the test', async ( {
admin,
perfUtils,
metrics,
page,
editor,
} ) => {
await admin.editPost( draftId );
await perfUtils.disableAutosave();
const toggleButton = page
Expand All @@ -173,6 +179,9 @@ test.describe( 'Post Editor Performance', () => {
} );

await type( paragraph, metrics, 'typeWithoutInspector' );

// Open the inspector again.
await editor.openDocumentSettingsSidebar();
} );
} );

Expand Down

1 comment on commit 19f944d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 19f944d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7099975961
📝 Reported issues:

Please sign in to comment.