浏览代码

fix(test): e2e fail due to whiteboards zoom test

Andelf 2 年之前
父节点
当前提交
192459a23c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      e2e-tests/whiteboards.spec.ts

+ 1 - 1
e2e-tests/whiteboards.spec.ts

@@ -105,7 +105,7 @@ test('zoom out', async ({ page }) => {
   await page.keyboard.press('Shift+0')
   await page.keyboard.press('Shift+0')
   await page.waitForTimeout(1000)
   await page.waitForTimeout(1000)
   await page.click('#tl-zoom-out')
   await page.click('#tl-zoom-out')
-  await expect(page.locator('#tl-zoom')).toContainText('100%')
+  await expect(page.locator('#tl-zoom')).toContainText('80%')
 })
 })
 
 
 test('open context menu', async ({ page }) => {
 test('open context menu', async ({ page }) => {