m2-cypress-suite

1.1.0 • Public • Published

Skywire Magento 2 Cypress Test Suite

Installation

npm install -save https://github.com/Skywire/m2-cypress-suite.git#master

Test files will be installed to dev/tests/cypress

A cypress.json file will be created in your project root

You should configure cypress and then commit all generated files.

Configuration

Set the baseUrl in cypress.json

  • baseUrl: The full URL to your Magento instance e.g https://docker.magento24.com

Form key toggle

You will need to disable form key validation to allow for fixture HTTP requests

https://github.com/Skywire/m2-module-form-key-toggle

Usage

For interactive test runner

./node_modules/.bin/cypress open

For automated test runner

./node_modules/.bin/cypress run

Readme

Keywords

none

Package Sidebar

Install

npm i m2-cypress-suite

Weekly Downloads

2

Version

1.1.0

License

OSL-3.0

Unpacked Size

25.3 kB

Total Files

18

Last publish

Collaborators

  • skywire-london-neil