Skip to content

Commit

Permalink
Remove synpress e2e testing
Browse files Browse the repository at this point in the history
  • Loading branch information
samuveth committed Oct 27, 2023
1 parent 33ae2f6 commit 90ca5ac
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 16,383 deletions.
3 changes: 0 additions & 3 deletions .env.test

This file was deleted.

1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
node: true
},
extends: [
'plugin:cypress/recommended',
'plugin:vue/vue3-recommended',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
Expand Down
23 changes: 0 additions & 23 deletions cypress.config.ts

This file was deleted.

37 changes: 0 additions & 37 deletions cypress/e2e/create-proposal.spec.cy.js

This file was deleted.

163 changes: 0 additions & 163 deletions cypress/e2e/voting-proposal.spec.cy.js

This file was deleted.

25 changes: 0 additions & 25 deletions cypress/support/commands.js

This file was deleted.

14 changes: 0 additions & 14 deletions cypress/support/e2e.js

This file was deleted.

12 changes: 1 addition & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,16 @@
"version": "0.1.4",
"scripts": {
"dev": "vite --port=8080",
"cypress:test:e2e": "start-server-and-test 'yarn cypress:serve:build' http-get://localhost:8081 'yarn cypress:run'",
"cypress:dev:e2e": "start-server-and-test 'yarn cypress:serve:dev' http-get://localhost:8081 'yarn cypress:open'",
"cypress:run": "env-cmd -f .env.test cypress run --browser chrome --headed",
"cypress:open": "env-cmd -f .env.test cypress run --browser chrome --headed --no-exit",
"cypress:serve:dev": "VITE_E2E=true vite --port=8081",
"cypress:serve:build": "VITE_E2E=true vite build && npx http-server dist -p 8081",
"preinstall": "yarn run init-submodules",
"build": "vite build",
"lint": "eslint \"*.{ts,js,vue,json}\" src/ cypress/ --ext .ts,.js,.vue,.json",
"lint": "eslint \"*.{ts,js,vue,json}\" src/ --ext .ts,.js,.vue,.json",
"lint:fix": "yarn lint --fix",
"format": "prettier \"**/*.{ts,js,vue,json}\"",
"format:check": "yarn format --check || exit 1",
"format:fix": "yarn format --write",
"postinstall": "patch-package && husky install",
"init-submodules": "git submodule update --init",
"test:unit": "vitest run",
"test:e2e": "start-server-and-test 'yarn cypress:serve:build' http-get://localhost:8081 'cypress run'",
"test:unit:coverage": "vitest run --coverage"
},
"dependencies": {
Expand Down Expand Up @@ -73,7 +66,6 @@
"devDependencies": {
"@iconify-json/heroicons-outline": "^1.1.7",
"@rushstack/eslint-patch": "^1.3.3",
"@synthetixio/synpress": "^3.5.1",
"@tailwindcss/forms": "^0.5.6",
"@types/bluebird": "^3.5.38",
"@types/lodash": "^4.14.198",
Expand All @@ -87,10 +79,8 @@
"@vue/eslint-config-typescript": "^9.0.0",
"@vue/test-utils": "^2.4.1",
"autoprefixer": "^10.4.15",
"cypress": "^12.11.0",
"env-cmd": "^10.1.0",
"eslint": "^8.46.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^7.15.1",
"happy-dom": "^10.11.0",
Expand Down
Loading

0 comments on commit 90ca5ac

Please sign in to comment.