
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.
zebrunner-playwright-agent
Advanced tools
 [](https://github.com/ryanrosello-og/zebrunner-playwright-agent/blob/master/LI
Publish Playwright test results directly to Zebrunner after the completion of all test suite execution.
Run the following:
yarn add zebrunner-playwright-agent -D
Modify your playwright config by enabling the reporter. You will need to update the reporterBaseUrl
and projectKey
keys to match your account.
reporter: [
[
'./node_modules/zebrunner-playwright-agent/src/build/src/lib/zebReporter.js',
{
reporterBaseUrl: 'https://default.zebrunner.com',
projectKey: 'DEF',
},
],
],
Run your tests by providing your Zebrunner API_KEY as an environment variable:
ZEB_API_KEY=[your zebrunner api key] npx playwright test
It is highly recommended that you enable the screenshot on failure feature in your playwright.config.ts
config file:
use: {
...
screenshot: 'only-on-failure',
...
},
This will allow the agent to include screenshots of failures in the reports.
Optionally, you can define an additional Environment variable in the CLI
The example below will classify the smoke_tests
as having run in the dev
environment against the CI build number 559340345
ZEB_API_KEY=[your zebrunner api key] BUILD_INFO=559340345,smoke_tests TEST_ENVIRONMENT=dev npx playwright test
You can further customize the reporter by overriding these values:
Config | Default | Description | |
---|---|---|---|
enabled | true | When this key is set to false, the agent will not post results to Zebrunner. | |
concurrentTasks | 10 | Instructs the reporter on how many concurrent requests will be made to Zebrunner in order to speed up the posting of the results. The maximum allowable number of parallel requests is 20. | |
reporterBaseUrl | The base url for your Zebrunner instance | ||
projectKey | The Zebrunner project key. e.g. DEF |
FAQs
> Publish [Playwright](https://playwright.dev/) test results directly to [Zebrunner](https://zebrunner.com/) after the completion of all test suite execution.
The npm package zebrunner-playwright-agent receives a total of 0 weekly downloads. As such, zebrunner-playwright-agent popularity was classified as not popular.
We found that zebrunner-playwright-agent demonstrated a not healthy version release cadence and project activity because the last version was released 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.