const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
const duration = process.env.CI ? 200 : 50
- const buffer = process.env.CI ? 20 : 5
+ const buffer = 20
const transitionFinish = (time = duration) => timeout(time + buffer)
test(
'basic transition',
async () => {
- await page().goto(baseUrl)
- await page().waitForSelector('#app')
await page().evaluate(() => {
const { createApp, ref } = (window as any).Vue
createApp({
test(
'wrapping transition + fallthrough attrs',
async () => {
- await page().goto(baseUrl)
- await page().waitForSelector('#app')
await page().evaluate(() => {
const { createApp, ref } = (window as any).Vue
createApp({