Playwright Teamcity Reporter
MIT License
This package will report your @playwright/test results to your Teamcity CI server, so you can see the number of executed tests, test failures and the tests tab right from your Teamcity UI.
Install the package from NPM:
npm install --save-dev playwright-teamcity-reporter
Add to default reporter:
npx playwright test --reporter=line,playwright-teamcity-reporter
Use only playwright-teamcity-reporter:
npx playwright test --reporter=playwright-teamcity-reporter
You can also configure using playwright.config.js. To achieve that, add 'playwright-teamcity-reporter' to the reporter section of your configuration:
const config = {
...
reporter: [
['playwright-teamcity-reporter', {'testMetadataArtifacts': 'test-results', logConfig: false}],
],
...
};