Skip to content

flightctl/flightctl-ui-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cypress testing

Installation

For installing the cypress testing tool is needed to have:

  1. node.js installed
  2. npm or yarn (npm preferred)
  3. flightctl installed in openshift deployment (no local testing, only on cluster)

install with:

    cd /yourrepopath/flightctl/test/e2e/cypress/
    npm install cypress --save-dev

Execution

To run the app in cypress folder you need to run:

  export OPENSHIFT_PASSWORD="your user password"
  export OPENSHIFT_USERNAME="username"
  export OPENSHIFT_AUTH="openshift auth url"
  export OPENSHIFT_HOST="openshift console url"
  npx cypress open

To load on GUI mode.

If you want to load automaticly you need to run this command

  export OPENSHIFT_PASSWORD="your user password"
  export OPENSHIFT_USERNAME="username"
  export OPENSHIFT_AUTH="openshift auth url"
  export OPENSHIFT_HOST="openshift console url"
  cypress run --browser chrome

This will run e2e testing on chrome browser for firefox use:

  cypress run --browser firefox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published