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

@@ -29,7 +29,7 @@ describe('e2e: Transition', () => {
beforeEach(async () => {
await page().goto(baseUrl)
await page().waitFor('#app')
await page().waitForSelector('#app')
})
describe('transition with v-if', () => {

View File

@@ -21,7 +21,7 @@ describe('e2e: TransitionGroup', () => {
beforeEach(async () => {
await page().goto(baseUrl)
await page().waitFor('#app')
await page().waitForSelector('#app')
})
test(

View File

@@ -108,7 +108,7 @@ export function setupPuppeteer() {
await page.$eval(
selector,
(node, value) => {
;(node as HTMLInputElement).value = value
;(node as HTMLInputElement).value = value as string
node.dispatchEvent(new Event('input'))
},
value