Skip to content

Commit

Permalink
#55091 updated the way templates can be replaced, changing some of th…
Browse files Browse the repository at this point in the history
…e HTML structure. (#59259)

Updating performance tests to find new elements.

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: andrewserong <[email protected]>
  • Loading branch information
3 people authored and youknowriad committed Mar 4, 2024
1 parent af7ee16 commit 0f75d06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/performance/specs/site-editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,6 @@ test.describe( 'Site Editor Performance', () => {
canvas: 'edit',
} );
await editor.openDocumentSettingsSidebar();
await page
.getByRole( 'button', {
name: 'Actions',
} )
.click();

// Wait for the browser to be idle before starting the monitoring.
// eslint-disable-next-line no-restricted-syntax
Expand All @@ -241,7 +236,7 @@ test.describe( 'Site Editor Performance', () => {
const startTime = performance.now();

await page
.getByRole( 'menuitem', { name: 'Replace template' } )
.getByRole( 'button', { name: 'Transform into:' } )
.click();

const patterns = [
Expand Down

0 comments on commit 0f75d06

Please sign in to comment.