This provides a way to simply and repeatably test live running Open edX instances.
Note: this is a beta release. It is functional, but there are very few tests for the moment. Feel free to contribute!
npm install
Edit a copy of cypress/fixtures/config.json.sample
and save it to config.json
:
cp cypress/fixtures/config.json.sample cypress/fixtures/config.json vim cypress/fixtures/config.json
Open cypress for development:
make dev
In headless mode, run tests without the GUI:
make test
This will generate video recordings of the tests in cypress/videos
. Amazing, isn't it?
We use the awesome Cypress testing framework to perform actions and test results on live-running Open edX instances. No destructive action is performed, so feel free to run this on your own platform.
This work was inspired by @silviot from Abstract Tech to create an end-to-end test suite for Open edX.