-
delete the existing cypress folder within your frappe application folder.
-
clone this repository in the apps/frappe directory
$ git clone [email protected]:frappe/cypress-testsuite.git cypress
- create a cypress.json file within the frappe application directory, an example config for it would go as follows:
{
"baseUrl": "http://<instance-url>:<port>",
"projectId": "92odwv",
"adminPassword": "frappe",
"viewportHeight": 1080,
"viewportWidth": 1920
}
- checkout the commands.js for available commands, and some example ui tests for guidelines.