Skip to content

Commit

Permalink
added tc reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ucswift committed Jan 8, 2025
1 parent 33eebaa commit 0c38863
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
37 changes: 36 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.3"
"@types/node": "^22.10.3",
"playwright-teamcity-reporter": "^1.0.4"
},
"dependencies": {
"strip-ansi": "^7.1.0"
}
}
5 changes: 4 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* reporter: 'html',*/
reporter: [
['playwright-teamcity-reporter', {'testMetadataArtifacts': 'test-results', logConfig: false}],
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
Expand Down

0 comments on commit 0c38863

Please sign in to comment.