Currently tests can only be run against https://deliver.libtest.ugent.be/. With the addition of devcontainers I switched the default test setup to run against the local dev environment using users "deliver" (space admin role) and "superdeliver" (super admin role).
I also added npm scripts to run Cypress tests against the libtest environment (npm run test:libtest for CLI run and npm run cypress:open:libtest for the Cypress GUI). They will only work if you add a ./cypress/.env file locally.
This PR replaces the current e2e test behaviour.
Currently tests can only be run against https://deliver.libtest.ugent.be/. With the addition of devcontainers I switched the default test setup to run against the local dev environment using users "deliver" (space admin role) and "superdeliver" (super admin role).
I also added npm scripts to run Cypress tests against the libtest environment (
npm run test:libtest
for CLI run andnpm run cypress:open:libtest
for the Cypress GUI). They will only work if you add a./cypress/.env
file locally.GitHub Actions environment variables have been prepared for this.