From 7898140be7f15b599a7ce5902a8cbd88d0d609fd Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 11 Jun 2024 10:47:01 +0800 Subject: [PATCH] test: skip failed cases for Vue ecosystem-ci (#12926) --- .../__snapshots__/{demo.spec.ts.snap => demo.skip.ts.snap} | 0 packages/vant/src/form/test/demo.skip.ts | 7 +++++++ packages/vant/src/form/test/demo.spec.ts | 4 ---- .../__snapshots__/{demo.spec.ts.snap => demo.skip.ts.snap} | 0 .../{index.spec.ts.snap => index.skip.ts.snap} | 0 packages/vant/src/stepper/test/demo.skip.ts | 7 +++++++ packages/vant/src/stepper/test/demo.spec.ts | 4 ---- .../vant/src/stepper/test/{index.spec.ts => index.skip.ts} | 3 +++ 8 files changed, 17 insertions(+), 8 deletions(-) rename packages/vant/src/form/test/__snapshots__/{demo.spec.ts.snap => demo.skip.ts.snap} (100%) create mode 100644 packages/vant/src/form/test/demo.skip.ts delete mode 100644 packages/vant/src/form/test/demo.spec.ts rename packages/vant/src/stepper/test/__snapshots__/{demo.spec.ts.snap => demo.skip.ts.snap} (100%) rename packages/vant/src/stepper/test/__snapshots__/{index.spec.ts.snap => index.skip.ts.snap} (100%) create mode 100644 packages/vant/src/stepper/test/demo.skip.ts delete mode 100644 packages/vant/src/stepper/test/demo.spec.ts rename packages/vant/src/stepper/test/{index.spec.ts => index.skip.ts} (98%) diff --git a/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/form/test/__snapshots__/demo.skip.ts.snap similarity index 100% rename from packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap rename to packages/vant/src/form/test/__snapshots__/demo.skip.ts.snap diff --git a/packages/vant/src/form/test/demo.skip.ts b/packages/vant/src/form/test/demo.skip.ts new file mode 100644 index 000000000..ec6b2904f --- /dev/null +++ b/packages/vant/src/form/test/demo.skip.ts @@ -0,0 +1,7 @@ +// TODO +// enable this case and update snapshot after bump Vue new version +// see: https://github.com/youzan/vant/issues/12925 +import Demo from '../demo/index.vue'; +import { snapshotDemo } from '../../../test/demo'; + +snapshotDemo(Demo); diff --git a/packages/vant/src/form/test/demo.spec.ts b/packages/vant/src/form/test/demo.spec.ts deleted file mode 100644 index c0e0c95b9..000000000 --- a/packages/vant/src/form/test/demo.spec.ts +++ /dev/null @@ -1,4 +0,0 @@ -import Demo from '../demo/index.vue'; -import { snapshotDemo } from '../../../test/demo'; - -snapshotDemo(Demo); diff --git a/packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/stepper/test/__snapshots__/demo.skip.ts.snap similarity index 100% rename from packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap rename to packages/vant/src/stepper/test/__snapshots__/demo.skip.ts.snap diff --git a/packages/vant/src/stepper/test/__snapshots__/index.spec.ts.snap b/packages/vant/src/stepper/test/__snapshots__/index.skip.ts.snap similarity index 100% rename from packages/vant/src/stepper/test/__snapshots__/index.spec.ts.snap rename to packages/vant/src/stepper/test/__snapshots__/index.skip.ts.snap diff --git a/packages/vant/src/stepper/test/demo.skip.ts b/packages/vant/src/stepper/test/demo.skip.ts new file mode 100644 index 000000000..ec6b2904f --- /dev/null +++ b/packages/vant/src/stepper/test/demo.skip.ts @@ -0,0 +1,7 @@ +// TODO +// enable this case and update snapshot after bump Vue new version +// see: https://github.com/youzan/vant/issues/12925 +import Demo from '../demo/index.vue'; +import { snapshotDemo } from '../../../test/demo'; + +snapshotDemo(Demo); diff --git a/packages/vant/src/stepper/test/demo.spec.ts b/packages/vant/src/stepper/test/demo.spec.ts deleted file mode 100644 index c0e0c95b9..000000000 --- a/packages/vant/src/stepper/test/demo.spec.ts +++ /dev/null @@ -1,4 +0,0 @@ -import Demo from '../demo/index.vue'; -import { snapshotDemo } from '../../../test/demo'; - -snapshotDemo(Demo); diff --git a/packages/vant/src/stepper/test/index.spec.ts b/packages/vant/src/stepper/test/index.skip.ts similarity index 98% rename from packages/vant/src/stepper/test/index.spec.ts rename to packages/vant/src/stepper/test/index.skip.ts index 9bdb6e5cb..2166e6f90 100644 --- a/packages/vant/src/stepper/test/index.spec.ts +++ b/packages/vant/src/stepper/test/index.skip.ts @@ -1,3 +1,6 @@ +// TODO +// enable this case and update snapshot after bump Vue new version +// see: https://github.com/youzan/vant/issues/12925 import { nextTick } from 'vue'; import { Stepper } from '..'; import { mount, later } from '../../../test';