Skip to content

peregrine-cms/peregrine-cms-e2e-testing

Repository files navigation

End-to-End Testing for peregrine-cms

This project uses CodeceptJS with Puppeteer to provide end-to-end testing for peregrine-cms.

Requirements

  • ready-to-run peregrine-cms system (on develop or develop-sling12 branch)
  • CodeceptJS requirements
    • node >= 10.5
    • npm/yarn
    • vue-cli installed globally

Quick Start

  • start your peregrine-cms instance (including themeclean-flex)
  • clone the repository
  • open a terminal inside the directory
  • run npm install
  • run npm run test (headless by default)

Alternative run-modes

  • test:headless - the default run mode with its full name
  • test:headful - run with visible browser
  • test:ui - open codecept-ui to start/view/run tests

Run Single Test

npx codeceptjs run ./src/test/<test-file> --steps

If you don't want to see the steps and just run it remove the --steps argument


For more codeceptjs command visit https://codecept.io/commands/

License

Apache License 2.0

About

Peregrine CMS End-to-End Testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published