Integrate the new PlayWright tests to the pipeline
Add a new stage for frontend development:
The pipelines should be using an upstream Playwright image, and results should be available whenever relevant through artifacts (on top of the logging, one artifact that should be exposed is the report
, available through the show-report
command).
The stage should be between current test
and deprovision
and the new stage (possibly named functional-tests
) should leverage the instances created on the previous test (formerly known just as tests
, which will require renaming).
Pipelines must fail if tests are not fulfilled but should still trigger the following stage (deprovision
).
An example template is available on their docs: https://playwright.dev/docs/ci#gitlab-ci
Edited by Francisco Borges Aurindo Barros