CFE-8 Setting up required cypress

This commit is contained in:
AmirHossein Mahmoodi
2023-09-23 11:28:10 +03:30
parent 26b8fdbaee
commit bf7e3211cb
6 changed files with 106 additions and 1 deletions

View File

@@ -12,7 +12,9 @@
"update:win32": "echo 'ok'",
"update:linux": "rm -rf .next/ && npm i && npm run build && sudo systemctl restart crm.service",
"test": "jest",
"test:watch": "jest --watchAll"
"test:watch": "jest --watchAll",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
},
"dependencies": {
"@emotion/react": "^11.10.6",
@@ -53,6 +55,7 @@
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"cypress": "^13.2.0",
"eslint-config-next": "^13.3.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-testing-library": "^6.0.1",