0.3.4 • Published 6 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-genie
2. Launch Cypress at least once to create the initial cypress/
directory structure.
$(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.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