Socket
Socket
Sign inDemoInstall

@sakamoto66/playwright-markdown-timeline-reporter

Package Overview
Dependencies
164
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sakamoto66/playwright-markdown-timeline-reporter

Generate Markdown Gantt charts for test results obtained using Playwright. Simplify visualization and understanding of test timelines.


Version published
Weekly downloads
27
decreased by-41.3%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

playwright-markdown-timeline-reporter

License

The playwright-markdown-timeline-reporter is a powerful library designed to convert Playwright test results into visually intuitive Markdown Gantt charts. It transforms test progression and dependencies into easy-to-read graphical timelines, thus promoting more effective analysis and understanding.

Features

  • Markdown Gantt chart generation: The library processes Playwright test results to create Gantt charts in Markdown format. Each test case is represented by a bar on the timeline, indicating its commencement and completion times. Additionally, dependencies between test cases are illustrated via interconnected lines, making the test flow clearer.

Usage

  1. Install the playwright-markdown-timeline-reporter library:
npm i -D @sakamoto66/playwright-markdown-timeline-reporter
  1. To use a reporter define it in playwright.config.ts as reporter:
  • playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
  reporter: [
    [ '@sakamoto66/playwright-markdown-timeline-reporter', { outputFile: 'timeline.md', header:'## Timeline', footer:'footer comment' } ]
  ],
})

Options

OptionRequiredDescription
outputFileOptionalSpecifies the output file. If omitted, results are output to standard out. If the file extension is .html, the content will be output as HTML. Otherwise, it will be output as Markdown.
headerOptionalAdds a custom message at the beginning of the output content.
footerOptionalAdds a custom message at the end of the output content.
workerGraphWidthOptionalSpecifies the width of the parallel graph. The default value is 600.

Output Example

Output Image

License

The playwright-markdown-timeline-reporter project is under the MIT License. For more details, refer to the LICENSE file.

Keywords

FAQs

Last updated on 20 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc