diff --git a/package.json b/package.json index f322eba42..0e37483d6 100644 --- a/package.json +++ b/package.json @@ -9,15 +9,12 @@ "lint": "eslint --ext .js,.ts,.vue ./", "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore", "test": "echo \"See package.json => scripts for available tests.\" && exit 0", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct", "test:unit:coverage": "jest --coverage", - "test:unit:watch": "jest --watch", - "test:unit:watchAll": "jest --watchAll", + "test:unit": "jest --watchAll", + "test:e2e": "cross-env E2E_TEST=true start-test \"quasar dev\" http-get://localhost:8080 \"cypress open --config-file cypress.json\"", + "test:e2e:ci": "cross-env E2E_TEST=true start-test \"quasar dev\" http-get://localhost:8080 \"cypress run\"", "serve:test:coverage": "quasar serve test/jest/coverage/lcov-report/ --port 8788", - "concurrently:dev:jest": "concurrently \"quasar dev\" \"jest --watch\"", - "test:e2e": "cross-env E2E_TEST=true start-test \"quasar dev\" http-get://localhost:8080 \"cypress open\"", - "test:e2e:ci": "cross-env E2E_TEST=true start-test \"quasar dev\" http-get://localhost:8080 \"cypress run\"" + "concurrently:dev:jest": "concurrently \"quasar dev\" \"jest --watch\"" }, "dependencies": { "@quasar/extras": "^1.0.0", diff --git a/test/cypress/integration/home.spec.js b/test/cypress/integration/home.spec.js index a381a94b0..18cdf982d 100755 --- a/test/cypress/integration/home.spec.js +++ b/test/cypress/integration/home.spec.js @@ -10,7 +10,7 @@ describe('Landing', () => { cy.visit('/'); }); it('.should() - assert that