Facing allure is deprecated error while trying to use the allure-playwright 3.0.0-beta.9 #2678
-
Facing allure is deprecated error while trying to use the allure-playwright 3.0.0-beta.9. I have attached the project as well. Below is package.json and test example
|
Beta Was this translation helpful? Give feedback.
Answered by
baev
Aug 9, 2024
Replies: 2 comments 5 replies
-
you need to use const allure = require("allure-js-commons"); Or require only the API you need const { step, attachment, link } = require("allure-js-commons"); instead of const { allure } = require("allure-playwright"); |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
islam-tenovos
-
Thanks for quick reply @baev. Appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need to use
Or require only the API you need
instead of