Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1 KB

README.md

File metadata and controls

20 lines (14 loc) · 1 KB

OpenMage Visual Testing

This repo contains code to visually test a blank OpenMage instance using Cypress. It can be used as a starting point to a specific shop running OpenMage aswell.

How to use

  1. Install via npm i.
  2. Fix admin userdata in fixtures/backend-admin-user.json.
  3. Fix baseUrl in backend.env.json.

Use scripts from package.json:

npm run <script>

Script What does it do
lint Runs eslint with rules defined in .eslintrc.js
cy:ui:test Runs the suites headless, execute this when testing for regressions.
cy:ui:dev Runs tests in devmode, meaning you'll see the normal cypress window which is helpful while writing tests.