chore(puppeteer): upgrade puppeteer (#4019)

* chore(puppeteer): upgrade puppeteer

* fix(tests): fix typescript error with puppeteer 5.X types

Co-authored-by: bas <bas@planning.nl>
This commit is contained in:
Bas van Meurs
2021-07-01 19:56:38 +02:00
committed by GitHub
parent 489db4fc61
commit 69b74a806f
8 changed files with 172 additions and 91 deletions

View File

@@ -77,7 +77,7 @@ describe('e2e: svg', () => {
)}`
await page().goto(baseUrl)
await page().waitFor('svg')
await page().waitForSelector('svg')
expect(await count('g')).toBe(1)
expect(await count('polygon')).toBe(1)
expect(await count('circle')).toBe(1)