From b94bdec91bc54ebfdc77235798f9116e41881cf4 Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Tue, 23 Jan 2024 09:37:11 -0600 Subject: [PATCH] Fix e2e test: should not show the Link UI when selection extends beyond link boundary --- test/e2e/specs/editor/blocks/links.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/specs/editor/blocks/links.spec.js b/test/e2e/specs/editor/blocks/links.spec.js index 01dac4abf489a..32e3a25f54b94 100644 --- a/test/e2e/specs/editor/blocks/links.spec.js +++ b/test/e2e/specs/editor/blocks/links.spec.js @@ -1060,6 +1060,9 @@ test.describe( 'Links', () => { // Update the link. await pageUtils.pressKeys( 'Enter' ); + await pageUtils.pressKeys( 'Escape' ); + await pageUtils.pressKeys( 'ArrowRight' ); + // Reactivate the link. await pageUtils.pressKeys( 'ArrowLeft' ); await pageUtils.pressKeys( 'ArrowLeft' );