Skip to content

Commit

Permalink
e2e test: the quote needs to be selected for finding the transform
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 29, 2022
1 parent 6f950f5 commit cb894a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/e2e-tests/specs/editor/blocks/quote.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ describe( 'Quote', () => {

it( 'and renders a void paragraph if both the cite and quote are void', async () => {
await insertBlock( 'Quote' );
await page.keyboard.press( 'ArrowRight' ); // Select the quote
await transformBlockTo( 'Unwrap' );

expect( await getEditedPostContent() ).toMatchSnapshot();
Expand Down

0 comments on commit cb894a8

Please sign in to comment.