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:
@@ -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', () => {
|
||||
|
||||
@@ -21,7 +21,7 @@ describe('e2e: TransitionGroup', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await page().goto(baseUrl)
|
||||
await page().waitFor('#app')
|
||||
await page().waitForSelector('#app')
|
||||
})
|
||||
|
||||
test(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user