0.0.13 • Published 2 years ago

@investengine/playwright-teamcity-reporter v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago