Skip to content

Commit

Permalink
Open document settings before color tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Feb 10, 2023
1 parent 71d6b55 commit 3aa1b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/specs/editor/blocks/heading.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ test.describe( 'Heading', () => {
} ) => {
await page.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( '### Heading' );
await editor.openDocumentSettingsSidebar();

const textColor = page
.getByRole( 'region', {
Expand All @@ -135,6 +136,7 @@ test.describe( 'Heading', () => {
test( 'should correctly apply named colors', async ( { editor, page } ) => {
await page.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( '## Heading' );
await editor.openDocumentSettingsSidebar();

const textColor = page
.getByRole( 'region', {
Expand Down

0 comments on commit 3aa1b8d

Please sign in to comment.