Adventures in Automation · 1mo · discuss
You may have noticed that in the GitLab CI / CD Pipeline for our Playwright project, in the .gitlab-ci.yml file, after our scripts has run, in the Test stage, there is a subsection called "artifacts" with certain paths to something called "playwright-report", "test-results", and "reports". The Playwright -> Artifacts -> Reports stageplaywright: extends: .bun_playwright stage: test timeout: 30 minutes...... artifacts: when: always paths: - playwright-report/ - test-results/ - reports/ reports: junit: reports/junit/results.xml expire_in: 30 dayshttps://gitlab.com/tjmaher/bun-create-playwright/-/blob/main/.gitlab-ci.ymlEvery time Playwright tests run, it generates proof of the test execution: screenshots capturing the state of the UI when a test failed, video recordings of...