datopian / ckan-integration-tests

Cypress toolkit to run integration tests against a CKAN instance
https://tech.datopian.com/ckan/
MIT License
4 stars 3 forks source link

Feature/add main env #14

Open cotts opened 3 years ago

cotts commented 3 years ago

Related issue: #9

I also run cypress and mocha locally to test the new environment config.

cotts commented 3 years ago

@kmanaseryan I've tried to run the package using several configuration formats without success. (I read the cypress documentation and some articles.

It looks like even if we set the env format inside this package when it's loaded as a dependency, the environment configuration set inside this module is ignored. It will always require cypress.json.

Probably we will need to use another approach to solve this.

cotts commented 3 years ago

@kmanaseryan, I've removed the dotenv config and set mocha to run using cypress.json environment config.