mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
test: make Change page mode(Paper or Edgeless) test more stable
This commit is contained in:
@@ -11,7 +11,7 @@ test.describe('Change page mode(Paper or Edgeless)', () => {
|
||||
|
||||
// mouse hover trigger animation for showing full switcher
|
||||
await page.mouse.move((box?.x ?? 0) + 5, (box?.y ?? 0) + 5);
|
||||
await page.waitForTimeout(500);
|
||||
await page.waitForTimeout(1000);
|
||||
const edgelessButton = page
|
||||
.getByTestId('editor-mode-switcher')
|
||||
.locator('div')
|
||||
|
||||
Reference in New Issue
Block a user