
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
playwright-ci-reporter
Advanced tools
A CI-friendly custom reporter for Playwright tests with enhanced logging.
A modern, maintainable custom reporter for Playwright tests that enhances your test output with colorized results, comprehensive metrics, and intelligent failure analysis. Perfect for CI/CD pipelines and local development.
šØ Smart Colorized Output:
š Comprehensive Metrics:
š Advanced Features:
š Intelligent Reporting:
Install the package using npm:
npm install playwright-ci-reporter
Integrate the playwright-ci-reporter
into your Playwright configuration file (playwright.config.ts
):
import {defineConfig} from '@playwright/test';
export default defineConfig({
testDir: './tests', // Adjust to your test directory
retries: 2, // Example of using retries
reporter: [['playwright-ci-reporter']],
use: {
trace: 'on-first-retry', // Example: trace only on retries
video: 'on-first-retry',
screenshot: 'only-on-failure',
},
});
š Starting test run: 3 tests using 2 workers
ā
Login test passed in 1.23s
ā
API integration test passed in 2.45s
ā ļø Payment test was skipped
ā
All 3 tests passed | 1 skipped | ā± Total: 3.68s
Additional Metrics:
- Average passed test time: 1.84s
- Slowest test took: 2.45s
- Top 3 slowest tests:
1. API integration test: 2.45s
2. Login test: 1.23s
ā ļø Warning: 1 test was skipped.
Please ensure to test the skipped scenarios manually before deployment.
š Starting test run: 3 tests using 2 workers
ā
Login test passed in 1.23s
ā API test failed in 2.45s
š Retry attempt for "API test" (failed) in 2.50s
ā ļø Payment test was skipped
ā 1 of 3 tests failed | 1 passed | 1 skipped | ā± Total: 6.18s
Failures:
--- Failure #1 ---
Test: API test
Stack Trace:
at Connection.connect (/src/api/connection.ts:45:7)
We welcome contributions! Here's how you can help:
git checkout -b feature/amazing-feature
git commit -m 'Add some amazing feature'
git push origin feature/amazing-feature
Please ensure your PR:
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A CI-friendly custom reporter for Playwright tests with enhanced logging.
The npm package playwright-ci-reporter receives a total of 797 weekly downloads. As such, playwright-ci-reporter popularity was classified as not popular.
We found that playwright-ci-reporter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.