From d94689e280a5737dcc3cd08a80b548e1245cb712 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Wed, 26 Apr 2023 12:31:45 +0300 Subject: [PATCH] fis: e2e tests --- e2e-tests/whiteboards.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/whiteboards.spec.ts b/e2e-tests/whiteboards.spec.ts index 61482c110..178965080 100644 --- a/e2e-tests/whiteboards.spec.ts +++ b/e2e-tests/whiteboards.spec.ts @@ -296,7 +296,7 @@ test('copy/paste youtube video url to create a Youtube shape', async ({ page }) test('zoom in', async ({ page }) => { await page.keyboard.press('Shift+0') // reset zoom await page.waitForTimeout(1500) // wait for the zoom animation to finish - await page.keyboard.press(`${modKey}++`) + await page.keyboard.press('Shift+=') await page.waitForTimeout(1500) // wait for the zoom animation to finish await expect(page.locator('#tl-zoom')).toContainText('125%') }) @@ -304,7 +304,7 @@ test('zoom in', async ({ page }) => { test('zoom out', async ({ page }) => { await page.keyboard.press('Shift+0') await page.waitForTimeout(1500) // wait for the zoom animation to finish - await page.keyboard.press(`${modKey}+-`) + await page.keyboard.press('Shift+-') await page.waitForTimeout(1500) // wait for the zoom animation to finish await expect(page.locator('#tl-zoom')).toContainText('80%') })