Skip to content

Commit

Permalink
Remove cypress component testing
Browse files Browse the repository at this point in the history
  • Loading branch information
puehringer committed Feb 27, 2024
1 parent e31b36c commit f22cddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 2 additions & 18 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
import { defineConfig } from 'cypress';
import * as webpackConfig from 'visyn_scripts/config/webpack.config';
import * as cypressConfig from 'visyn_scripts/config/cypress.config.template';

export default defineConfig({
viewportHeight: 1080,
viewportWidth: 1920,
defaultCommandTimeout: 10000,
e2e: {
baseUrl: 'http://localhost:8080',
// eslint-disable-next-line @typescript-eslint/no-unused-vars
setupNodeEvents(on, config) {},
},
component: {
devServer: {
framework: 'react',
bundler: 'webpack',
webpackConfig: webpackConfig({ workspace_mode: 'single' }, { mode: 'production' }),
},
},
});
export default defineConfig(cypressConfig);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"compile": "visyn_scripts compile",
"copy": "visyn_scripts copy",
"cy:open": "cypress open",
"cy:run": "cypress run --e2e && cypress run --component",
"cy:run": "cypress run --e2e",
"delete-dependencies": "visyn_scripts clean node_modules",
"dist": "mkdir lib && cd dist && tar cvzf ../lib/tdp_core.tar.gz *",
"docs": "visyn_scripts docs",
Expand Down Expand Up @@ -88,7 +88,7 @@
"devDependencies": {
"@babel/core": "^7.17.7",
"@babel/plugin-transform-typescript": "7.17.12",
"cypress": "^11.2.0"
"cypress": "^13.0.0"
},
"resolutions": {
"@types/react": "~18.2.0",
Expand Down

0 comments on commit f22cddf

Please sign in to comment.