Skip to main content
bash TV

The Best Way to View Playwright Results | GitLab CI

PrinceAutomationDestination

36 views26 Sept 2026

YouTube

Playwright Test Results in GitLab CI | JUnit Reports In this video, we’ll see how to display Playwright test results directly in GitLab CI’s Test Tab using the JUnit Reporter. Instead of checking only the job logs or downloading the HTML report, GitLab can parse the JUnit test report and provide a structured view of your test execution results. 🔹 What You'll Learn In this video, we’ll configure Playwright and GitLab CI to publish test results using JUnit reports: 1️⃣ Use the JUnit Reporter in Playwright Configure Playwright to generate test results in JUnit XML format. 2️⃣ Store the JUnit Report as an Artifact Save `test-results/results.xml` as a GitLab CI artifact so it is available after the job execution. 3️⃣ Configure GitLab's Test Reports Use the `reports:junit` configuration to tell GitLab where the JUnit report is located: ```yaml reports: junit: test-results/results.xml ``` 4️⃣ Run the Pipeline Execute the GitLab CI pipeline and view the Playwright test results directly in GitLab's Test Tab. 🎯 Why Use JUnit Reports? JUnit provides a standard test-result format that can be consumed by CI/CD platforms such as GitLab. With this setup, you can get a clear view of: ✅ Passed tests ❌ Failed tests ⏭️ Skipped tests 📊 Test execution results 🔍 Test details directly in GitLab 🚀 Final Flow Playwright Tests → JUnit XML → GitLab Artifact → GitLab Test Report → Test Tab This is a useful step toward building a more complete Playwright + GitLab CI test automation pipeline. If you're working with Playwright, GitLab CI/CD, or test automation, this video will help you understand how automated test results can be integrated into your CI pipeline. 👍 Like, Share & Subscribe to PrinceAutomationDestination for more content on Playwright, Automation Testing, CI/CD, AI & Agentic Automation. #Playwright #GitLab #GitLabCI #PlaywrightTesting #JUnit #TestAutomation #AutomationTesting #CICD #SoftwareTesting #QualityEngineering

Join the discussion

Sign in to join the discussion

Sign in