Skip to content

Commit

Permalink
Performance Tests: Support the Site Editor's legacy spinner (#54784)
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderBart authored Sep 25, 2023
1 parent 61736f4 commit 3a6e7fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/performance/specs/site-editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ test.describe( 'Site Editor Performance', () => {
// canvas is ready, and we don't want it to affect the typing
// timings.
await page
.locator( '.edit-site-canvas-loader' )
.locator(
// Spinner was used instead of the progress bar in an earlier version of the site editor.
'.edit-site-canvas-loader, .edit-site-canvas-spinner'
)
.waitFor( { state: 'hidden', timeout: 120_000 } );

const canvas = await perfUtils.getCanvas();
Expand Down

1 comment on commit 3a6e7fe

@github-actions
Copy link

@github-actions github-actions bot commented on 3a6e7fe Sep 25, 2023

Choose a reason for hiding this comment

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

Flaky tests detected in 3a6e7fe.
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/6300884505
📝 Reported issues:

Please sign in to comment.