diff --git a/.github/actions/run-e2e-tests/action.yml b/.github/actions/run-e2e-tests/action.yml index fe4f26890e..8af431ed78 100644 --- a/.github/actions/run-e2e-tests/action.yml +++ b/.github/actions/run-e2e-tests/action.yml @@ -10,7 +10,7 @@ runs: with: install: false browser: chrome - start: npm run serve + start: npm run preview working-directory: packages/x-components - name: Cypress run X Components component diff --git a/packages/react-wrapper/package.json b/packages/react-wrapper/package.json index fcf8c61d2d..d12eb0a768 100644 --- a/packages/react-wrapper/package.json +++ b/packages/react-wrapper/package.json @@ -57,7 +57,7 @@ "start-server-and-test": "~2.0.0", "ts-jest": "~27.1.0", "typescript": "~4.9.4", - "vite": "~4.3.0", + "vite": "~4.5.0", "vue": "~2.7.14" }, "publishConfig": { diff --git a/packages/x-components/cypress.config.ts b/packages/x-components/cypress.config.ts index 7b82efb207..03daafc26b 100644 --- a/packages/x-components/cypress.config.ts +++ b/packages/x-components/cypress.config.ts @@ -44,8 +44,8 @@ export default defineConfig({ runMode: 1 }, devServer: { - bundler: 'webpack', - framework: 'vue-cli' + framework: 'vue', + bundler: 'vite' } } }); diff --git a/packages/x-components/public/index.html b/packages/x-components/index.html similarity index 88% rename from packages/x-components/public/index.html rename to packages/x-components/index.html index 26b7868722..c4f70ecd70 100644 --- a/packages/x-components/public/index.html +++ b/packages/x-components/index.html @@ -4,7 +4,7 @@ - +