Set up CI job to run integration tests
MR: ci: Run Web IDE integration tests on GitLab CI (!496 - merged)
Description
Run playwright integration tests in the Web IDE's CI pipeline.
Acceptance criteria
-
Build an image based on Playwright docker's image https://playwright.dev/docs/docker. The docker image should also provide: -
dnsmasqto set up a wildcard domain for the local HTTPS server. -
mkcertto generate TLS certificates for the local HTTPS server.
-
-
Set up a GitLab Ci job that builds the docker image only when the Dockerfile changes and pushes it to the project's container registry. -
Consider using CI_JOB_TOKEN to authenticate API requests or request a gitlab.com access token from the QA team. -
Set up environment variables required by playwright. -
Set up a GitLab CI job that runs the integration tests on feature branches and main.
Implementation notes
-
The token should not be saved to logs as an artifact when logging into the web-ide.
Edited by Enrique Alcántara