Skip to content

Commit

Permalink
Adjust test and add changelog entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Apr 17, 2023
1 parent 96ea063 commit 5443f4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

- `Autocomplete`: Add heading and fix type for `onReplace` in README. ([#49798](https://github.com/WordPress/gutenberg/pull/49798)).

### Internal

- `Navigation`: Make sure `NavigationMenu` and `NavigationGroup` don't render an empty `aria-labelledby` attribute ([#42495](https://github.com/WordPress/gutenberg/pull/42495)).

## 23.8.0 (2023-04-12)

### Internal
Expand Down
5 changes: 4 additions & 1 deletion test/e2e/specs/site-editor/browser-history.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ test.describe( 'Site editor browser history', () => {
'/wp-admin/site-editor.php?path=%2Fwp_template%2Fall'
);

const title = page.getByRole( 'heading', { level: 1 } );
const header = page.getByRole( 'region', {
name: 'Templates list - Header',
} );
const title = header.getByRole( 'heading', { level: 2 } );
await expect( title ).toHaveText( 'Templates' );
} );
} );

0 comments on commit 5443f4c

Please sign in to comment.