chore: bump transition test duration on CI
This commit is contained in:
parent
5db594f0e5
commit
21edc18ac3
@ -14,7 +14,7 @@ describe('e2e: Transition', () => {
|
|||||||
} = setupPuppeteer()
|
} = setupPuppeteer()
|
||||||
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
||||||
|
|
||||||
const duration = 50
|
const duration = process.env.CI ? 100 : 50
|
||||||
const buffer = 5
|
const buffer = 5
|
||||||
|
|
||||||
const transitionFinish = (time = duration) => timeout(time + buffer)
|
const transitionFinish = (time = duration) => timeout(time + buffer)
|
||||||
|
@ -6,7 +6,7 @@ describe('e2e: TransitionGroup', () => {
|
|||||||
const { page, html, nextFrame, timeout } = setupPuppeteer()
|
const { page, html, nextFrame, timeout } = setupPuppeteer()
|
||||||
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
||||||
|
|
||||||
const duration = 50
|
const duration = process.env.CI ? 100 : 50
|
||||||
const buffer = 5
|
const buffer = 5
|
||||||
|
|
||||||
const htmlWhenTransitionStart = () =>
|
const htmlWhenTransitionStart = () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user