9425fd70c0
Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them) This can cause issues on some setups. This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode. Closes #1721 |
||
---|---|---|
.. | ||
screenshots | ||
tests | ||
.gitignore | ||
.testcaferc.js | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md |
End-to-end tests
This directory contains automated end to end tests.
To run them locally:
$ npm install
$ ADMIN_API_TOKEN=123 npm test
You'll need to adapt the ADMIN_API_TOKEN
to the value you use in your .env
file.
Alternatively, you can use docker-compose to run the tests:
$ PROJECT_DIR=$(pwd) docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.