Genie
Framework-agnostic UI behavioral test runner.
Prerequisites
- Node 6+
Installation
Cypress and Genie.
1. Installnpm install --save-dev cypress cypress-genie
cypress/
directory structure.
2. Launch Cypress at least once to create the initial $(npm bin)/cypress open
3. Run the Genie installer.
$(npm bin)/cypress-genie install
4. Configure Cypress to include the correct Genie assets.
Add this to package.json
:
...
"cypress-cucumber-preprocessor": {
"step_definitions": "cypress/steps/"
}
Add this to cypress/plugins/index.js
:
module { ... ;};
Add this to cypress/support/index.js
:
;
Removal
$(npm bin)/cypress-genie uninstallnpm uninstall cypress-genie --save-dev