allure-framework / allure-js

Allure integrations for JavaScript test frameworks
https://allurereport.org/
Apache License 2.0
230 stars 124 forks source link

Puppeteer support #1200

Open Robinfr opened 3 days ago

Robinfr commented 3 days ago

Is your feature request related to a problem? Please describe. Currently, it does not seem that Allure-jest supports Puppeteer with Jest.

Describe the solution you'd like Either add a allure-jest/puppeteer import that can be used for Puppeteer, or allow initiating custom environments. In that way, jest-environment-puppeteer could be passed and used instead.

Robinfr commented 3 days ago

See https://github.com/allure-framework/allure-js/compare/main...Robinfr:allure-js:puppeteer-support for an example (let me know if you want me to create a pull request for this).

baev commented 3 days ago

We definitely should export createJestEnvironment method to allow users to create custom environments