test: cypress setup

This commit is contained in:
Jannat Patel
2023-03-29 17:13:51 +05:30
parent de399166f1
commit 065646ed5d
7 changed files with 132 additions and 0 deletions

28
package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "frappe_lms",
"version": "1.0.0",
"description": "Easy to use, open-source, Learning Management System",
"scripts": {
"test-local": "cypress open --e2e --browser chrome"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frappe/lms.git"
},
"author": "Frappe",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/frappe/lms/issues"
},
"homepage": "https://github.com/frappe/lms#readme",
"devDependencies": {
"cypress": "^10"
},
"dependencies": {
"@4tw/cypress-drag-drop": "^2",
"@cypress/code-coverage": "^3",
"@testing-library/cypress": "^8",
"@testing-library/dom": "8.17.1",
"cypress-real-events": "^1.7.6"
}
}