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 <ramonopoly@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
  • Loading branch information
3 people authored and youknowriad committed Mar 4, 2024
1 parent c4835a4 commit c1f292e
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 c1f292e

Please sign in to comment.