Skip to content

Commit

Permalink
Add e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Aug 10, 2023
1 parent 0caf306 commit 2115ab4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/specs/editor/various/multi-block-selection.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ test.describe( 'Multi-block selection', () => {
] );
} );

test( 'should partially select with shift + click', async ( {
test( 'should partially select with shift + click (@webkit)', async ( {
page,
editor,
} ) => {
Expand Down Expand Up @@ -1213,6 +1213,8 @@ test.describe( 'Multi-block selection', () => {
// Ensure clicking on the right half of the element.
position: { x: strongBox.width, y: strongBox.height / 2 },
modifiers: [ 'Shift' ],
// "<p>" intercepts pointer events in WebKit.
force: true,
} );
await page.keyboard.press( 'Backspace' );

Expand Down

0 comments on commit 2115ab4

Please sign in to comment.