Skip to content

Commit

Permalink
fix: e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc authored and tiensonqin committed Mar 24, 2023
1 parent 422578b commit 5d28d47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e-tests/whiteboards.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ test('connect rectangles with an arrow', async ({ page }) => {
})

test('delete the first rectangle', async ({ page }) => {
await page.click('.logseq-tldraw .tl-canvas')
await page.keyboard.press('Escape')
await page.waitForTimeout(1000)
await page.click('.logseq-tldraw .tl-box-container:first-of-type')
await page.keyboard.press('Delete')
Expand All @@ -160,7 +160,7 @@ test('undo the delete action', async ({ page }) => {
})

test('move arrow to back', async ({ page }) => {
await page.click('.logseq-tldraw .tl-canvas')
await page.keyboard.press('Escape')
await page.waitForTimeout(1000)
await page.click('.logseq-tldraw .tl-line-container')
await page.keyboard.press('Shift+[')
Expand All @@ -169,7 +169,7 @@ test('move arrow to back', async ({ page }) => {
})

test('move arrow to front', async ({ page }) => {
await page.click('.logseq-tldraw .tl-canvas')
await page.keyboard.press('Escape')
await page.waitForTimeout(1000)
await page.click('.logseq-tldraw .tl-line-container')
await page.keyboard.press('Shift+]')
Expand Down

0 comments on commit 5d28d47

Please sign in to comment.