16029: Adds support for reading YAML fixtures and receive config data.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Sat, 14 Mar 2020 16:21:57 +0000 (13:21 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Sat, 14 Mar 2020 16:21:57 +0000 (13:21 -0300)
commitbbeb1b4bc19356e4d826d4915ae091300be97198
tree20877ee60f2ed6e829c59e8d691666ff34b1dae4
parentac975ab3e027c2b7bca986f218e6e81c45f292cb
16029: Adds support for reading YAML fixtures and receive config data.

Also, adds a command to reset the testing database.
Config data can be passed in several ways:

* Running 'yarn run cypress [open|run] --env fixtures=/a/path,controller_url=...'
* Setting environment variables named with the 'CYPRESS_' prefix.
* Using Cypress.config() inside the test cases.

For now, 3 config items are needed:

1. Arvados fixtures path
2. System root token (defined on arvados-boot's zzzzz.yml config file) so a
   database reset can be called.
3. Controller's URL

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
cypress/support/commands.js
package.json
yarn.lock