ci: manually installing cypress
This commit is contained in:
5
.github/workflows/ui-tests.yml
vendored
5
.github/workflows/ui-tests.yml
vendored
@@ -100,6 +100,11 @@ jobs:
|
|||||||
bench --site lms.test execute frappe.utils.install.complete_setup_wizard
|
bench --site lms.test execute frappe.utils.install.complete_setup_wizard
|
||||||
bench --site lms.test execute frappe.tests.ui_test_helpers.create_test_user
|
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
|
- name: UI Tests
|
||||||
run: cd ~/frappe-bench/ && bench --site lms.test run-ui-tests lms --headless
|
run: cd ~/frappe-bench/ && bench --site lms.test run-ui-tests lms --headless
|
||||||
env:
|
env:
|
||||||
|
|||||||
11
package.json
11
package.json
@@ -14,14 +14,5 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/frappe/lms/issues"
|
"url": "https://github.com/frappe/lms/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/frappe/lms#readme",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user