Skip to content

Commit

Permalink
Add a comment to the e2e test about the usage of the CSS selector
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 7, 2024
1 parent f158e0e commit 2bded86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/specs/editor/various/write-design-mode.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ test.describe( 'Write/Design mode', () => {
name: 'Editor settings',
} );
await expect(
// Ideally we should be using CSS selectors
// but in this case there's no easy role/label
// to retrieve the "selected block title"
editorSettings.locator( '.block-editor-block-card__title' )
).toHaveText( 'Group' );
await expect(
Expand Down

0 comments on commit 2bded86

Please sign in to comment.