ci: manually installing cypress

This commit is contained in:
Jannat Patel
2023-07-25 19:20:55 +05:30
parent 2412ef0260
commit 3c374f48b3
2 changed files with 6 additions and 10 deletions

View File

@@ -100,6 +100,11 @@ jobs:
bench --site lms.test execute frappe.utils.install.complete_setup_wizard
bench --site lms.test execute frappe.tests.ui_test_helpers.create_test_user
- name: cypress pre-requisites
run: |
cd ~/frappe-bench/apps/lms
yarn add cypress@^10 --no-lockfile
- name: UI Tests
run: cd ~/frappe-bench/ && bench --site lms.test run-ui-tests lms --headless
env:

View File

@@ -14,14 +14,5 @@
"bugs": {
"url": "https://github.com/frappe/lms/issues"
},
"homepage": "https://github.com/frappe/lms#readme",
"dependencies": {
"@4tw/cypress-drag-drop": "^2",
"@cypress/code-coverage": "^3",
"@editorjs/header": "^2.7.0",
"@editorjs/list": "^1.8.0",
"@testing-library/cypress": "^8",
"@testing-library/dom": "8.17.1",
"cypress-real-events": "^1.7.6"
}
"homepage": "https://github.com/frappe/lms#readme"
}