0.0.13 • Published 1 year ago

@investengine/playwright-teamcity-reporter v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

playwright-teamcity-reporter

About

Custom reporter to integrate Playwright test runner with TeamCity CI.

Installation

npm i -D @investengine/playwright-teamcity-reporter

Usage

Create a reporter.js file which should import createReporter function, which is used to create your custom reporter with options provided.

// reporter.js

import { createReporter } from '@investengine/playwright-teamcity-reporter'

const reporter = createReporter({
  // provide options here if necessary

  artifactsFolder: 'e2e/artifacts/'
})

export default reporter

Provide path to your reporter file in playwright.config.js:

// playwright.config.js

const config = {
  ...
  reporter: 'path/to/reporter.js'
};

See Using Reporters in CI Playwright docs and Custom Reporters Playwright docs for more info.

List of options

  • artifactsFolder optional - path to the artifacts folder. Should duplicate outputDir parameter in your playwright.config.js. Used to provide image/video metadata of failed tests to TeamCity.

Feature requests

Feel free to provide feature requests via github issues. This reporter is just a very basic version which can be upgraded for different use-cases.

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.10

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago