From cb894a87805e65ccf6f8b3d17a64c387cf7e358a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Wed, 20 Apr 2022 15:35:39 +0200 Subject: [PATCH] e2e test: the quote needs to be selected for finding the transform --- packages/e2e-tests/specs/editor/blocks/quote.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/e2e-tests/specs/editor/blocks/quote.test.js b/packages/e2e-tests/specs/editor/blocks/quote.test.js index 12dd8a1cc2964..7086a09ac3136 100644 --- a/packages/e2e-tests/specs/editor/blocks/quote.test.js +++ b/packages/e2e-tests/specs/editor/blocks/quote.test.js @@ -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();