Skip to content

Commit

Permalink
Get e2e passing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed May 26, 2022
1 parent f67de89 commit 2542ad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/e2e-tests/specs/editor/blocks/heading.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ describe( 'Heading', () => {
await page.click( COLOR_INPUT_FIELD_SELECTOR );
await pressKeyWithModifier( 'primary', 'A' );
await page.keyboard.type( '4b7f4d' );
await page.waitForXPath( '//button//span[contains(text(), "4b7f4d")]' );
await page.click( '.wp-block-post-title' );
await page.keyboard.press( 'Enter' );
expect( await getEditedPostContent() ).toMatchInlineSnapshot( `
"<!-- wp:heading {\\"level\\":3,\\"style\\":{\\"color\\":{\\"text\\":\\"#4b7f4d\\"}}} -->
<h3 class=\\"has-text-color\\" style=\\"color:#4b7f4d\\">Heading</h3>
Expand Down

0 comments on commit 2542ad6

Please sign in to comment.