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.

Updating performance tests to find new elements.
  • Loading branch information
ramonjd committed Feb 22, 2024
1 parent cab4b28 commit 39251b6
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 39251b6

Please sign in to comment.