Commit 6e079231 authored by Tomas Vaagen Gule's avatar Tomas Vaagen Gule
Browse files

ADD CYPRESS

parent d7c9b4c9
Pipeline #171820 passed with stages
in 2 minutes and 5 seconds
......@@ -5,7 +5,8 @@
"description": "A sample Apache Cordova application that responds to the deviceready event.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "platforms/browser && cordova run browser --port=3000 & cd .. && source venv/bin/activate && cd backend/secfit && python3 manage.py testserver test.json & node_modules/.bin/cypress open",
"cypress:open": "cypress open"
},
"keywords": [
"ecosystem:cordova"
......@@ -31,5 +32,8 @@
"browser",
"android"
]
},
"dependencies": {
"cypress": "^9.5.2"
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment