0.3.4 • Published 7 years ago
cypress-genie v0.3.4
Genie
Framework-agnostic UI behavioral test runner.
Prerequisites
- Node 6+
Installation
1. Install Cypress and Genie.
npm install --save-dev cypress cypress-genie2. Launch Cypress at least once to create the initial cypress/ directory structure.
$(npm bin)/cypress open3. Run the Genie installer.
$(npm bin)/cypress-genie install4. 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.exports = (on, config) => {
...
require('./genie/index');
};Add this to cypress/support/index.js:
require('./genie/index');Removal
$(npm bin)/cypress-genie uninstall
npm uninstall cypress-genie --save-dev