Playwright Teamcity Reporter
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.
Installation
Install the package from NPM:
npm install --save-dev playwright-teamcity-reporterUsage
Add to default reporter:
npx playwright test --reporter=line,playwright-teamcity-reporterUse only playwright-teamcity-reporter:
npx playwright test --reporter=playwright-teamcity-reporterYou 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}],
],
...
};