![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
zebrunner-playwright-agent
Advanced tools
> Publish [Playwright](https://playwright.dev/) test results directly to [Zebrunner](https://zebrunner.com/) after the completion of all test suite execution.
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',
enabled: true,
concurrentTasks: 10,
},
],
],
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.
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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.