playwright-teamcity-reporter
v1.0.3
Published
Playwright Teamcity Reporter
Downloads
123,728
Maintainers
Readme
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-reporter
Usage
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}],
],
...
};