- Service: SonarQube Server / Community Build
- Deployment: Docker
- Goal: View test execution reports in the Web UI
- Efforts:
- Trial & Error’ed properties file and report XML until my tests were accepted by the scanner
Hello! I’m working on a simple project running Playwright tests and generating reports. After a lot of trial and error, Sonar Scanner CLI says that it imported my test reports.
10:49:38.167 INFO Sensor Generic Test Executions Report
10:49:38.168 INFO Parsing /home/dean/Workspaces/Playwright/SimplePlayTest/build/reports/playwright/test-results/results.xml
10:49:38.183 INFO Imported test execution data for 21 files
10:49:38.183 INFO Sensor Generic Test Executions Report (done) | time=16ms
But I’m unable to find them in the SonarQube web UI.
sonar-project.properties.txt (1.1 KB)
results.xml.txt (3.5 KB)
EDIT: I finally found them in the Measures Tab under Coverage.