test: disable camera pinch test for now, too flaky (#3854)

this didn't work https://github.com/tldraw/tldraw/pull/3829
disabling this test for now

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [ ] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [x] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [x] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know
pull/2855/merge
Mime Čuvalo 2024-05-31 10:10:04 +01:00 zatwierdzone przez GitHub
rodzic 749b7d4d6d
commit aba77fd089
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -118,6 +118,9 @@ test.describe('camera', () => {
})
test('pinching on trackpad', async ({ page, isMobile }) => {
// Test is flaky, disabling.
test.skip(true)
// pinching on trackpad is the same event as ctrl+scrollwheel
test.skip(isMobile)
expect(await page.evaluate(() => editor.getZoomLevel())).toBe(1)
@ -138,8 +141,6 @@ test.describe('camera', () => {
steps: 3,
})
await page.waitForTimeout(1000)
expect(await page.evaluate(() => editor.getZoomLevel())).toBeCloseTo(expectedZoomLevel, 1)
})