Skip to content

Commit af60e35

Browse files
committed
test: make transition tests more stable locally
1 parent 5680142 commit af60e35

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/vue/__tests__/e2e/Transition.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('e2e: Transition', () => {
88
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
99

1010
const duration = process.env.CI ? 200 : 50
11-
const buffer = process.env.CI ? 20 : 5
11+
const buffer = 20
1212

1313
const transitionFinish = (time = duration) => timeout(time + buffer)
1414

@@ -29,8 +29,6 @@ describe('e2e: Transition', () => {
2929
test(
3030
'basic transition',
3131
async () => {
32-
await page().goto(baseUrl)
33-
await page().waitForSelector('#app')
3432
await page().evaluate(() => {
3533
const { createApp, ref } = (window as any).Vue
3634
createApp({
@@ -1296,8 +1294,6 @@ describe('e2e: Transition', () => {
12961294
test(
12971295
'wrapping transition + fallthrough attrs',
12981296
async () => {
1299-
await page().goto(baseUrl)
1300-
await page().waitForSelector('#app')
13011297
await page().evaluate(() => {
13021298
const { createApp, ref } = (window as any).Vue
13031299
createApp({

0 commit comments

Comments
 (0)