Skip to content

Commit

Permalink
fix silly test
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Dec 19, 2023
1 parent 3097e97 commit c862ee8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/respects_permissions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ test.describe('Respects Permissions', () => {
await page.click('[data-test-id="input-editor"]');
await page.waitForTimeout(200);
await page.keyboard.type(' 4 5 6');
await expect(page.getByText('1 2 3 4 5 6')).toBeVisible();
await expect(page2.getByText('1 2 3 4 5 6')).toBeVisible();
// test only 4 5 6 here because sometimes the cursor is in between the 3 and the 4
// and the cursor in codemirror has some text ://
await expect(page.getByText('4 5 6')).toBeVisible();
await expect(page2.getByText('4 5 6')).toBeVisible();

// test scribble
await page2.click('text=scribble');
Expand Down

0 comments on commit c862ee8

Please sign in to comment.