Skip to content

Commit

Permalink
Fix FF issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Mar 12, 2021
1 parent 282e253 commit cb43336
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/outline-playground/__tests__/BasicTextEntry-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,11 @@ describe('BasicTextEntry', () => {
const text = 'Delete some of these characters.';
const backspacedText = 'Delete some of these ';
await page.keyboard.type(text);
await Promise.resolve(resolve => setTimeout(resolve, 200));
await page.keyboard.down('Control');
await page.keyboard.down('Shift');
await keyDownCtrlOrAlt(page);
await Promise.resolve(resolve => setTimeout(resolve, 200));
await page.keyboard.press('ArrowLeft');
await Promise.resolve(resolve => setTimeout(resolve, 200));
await page.keyboard.up('Shift');
await keyUpCtrlOrAlt(page);
await page.keyboard.up('Control');
// Ensure the selection is now covering the whole word and period.
await assertSelection(page, {
anchorPath: [0, 0, 0],
Expand Down

0 comments on commit cb43336

Please sign in to comment.