Skip to content

Commit

Permalink
Simplify e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Sep 26, 2024
1 parent 5f903d9 commit 9a56955
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/specs/editor/various/copy-cut-paste.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,8 @@ test.describe( 'Copy/cut/paste', () => {
} ) => {
await editor.insertBlock( {
name: 'core/paragraph',
attributes: { content: 'test' },
attributes: { content: '<strong>test</strong>' },
} );
await pageUtils.pressKeys( 'primary+a' );
await pageUtils.pressKeys( 'primary+b' );
await page.keyboard.press( 'ArrowLeft' );
await page.keyboard.press( 'ArrowRight' );
await page.keyboard.press( 'ArrowRight' );
await pageUtils.pressKeys( 'shift+ArrowRight' );
Expand Down

0 comments on commit 9a56955

Please sign in to comment.