Integration (Cypress) testing
Jennifer Marx edited this page Feb 4, 2019
·
1 revision
Cypress is a newer alternative to Selenium. It is integrated with a desktop client which makes tests easier to write and to debug. The downside is that these tests run outside python, so it is impossible to mock individual method calls: Instead you either hit a live server, or you mock the entire API request and response. To install the client and run tests locally:
$ cd refinery/ui
$ npm install cypress --save-dev
$ ./node_modules/.bin/cypress open --config baseUrl=http://192.168.50.50:8000
Note that this is done on the host and outside vagrant. Tests can also be run from the command-line, as we do on Travis, but in development the desktop client is very useful.
Our tests are at refinery/ui/cypress/integration and results of past runs can be viewed on the Cypress Dashboard.
Administration
- Operations
- Setting Up Galaxy
- Galaxy CloudMan
- Annotating & Importing Refinery Tools
- Batch Import ISA-Tabs
- Backup & Restore
- Google reCAPTCHA v2
Development