Skip to content

Commit

Permalink
Update E2E test selector match the label
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Sep 22, 2023
1 parent 953c98c commit 9e07256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/site-editor/writing-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test.describe( 'Site editor writing flow', () => {
// Tab to the inspector, tabbing three times to go past the two resize handles.
await pageUtils.pressKeys( 'Tab', { times: 3 } );
const inspectorTemplateTab = page.locator(
'role=region[name="Editor settings"i] >> role=button[name="Template"i]'
'role=region[name="Editor settings"i] >> role=button[name="Template Part"i]'
);
await expect( inspectorTemplateTab ).toBeFocused();
} );
Expand Down

0 comments on commit 9e07256

Please sign in to comment.