Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[allure-playwright]: Need a new feature to add parameters to allure report #472

Closed
yon11101 opened this issue Jul 29, 2022 · 1 comment · Fixed by #473
Closed

[allure-playwright]: Need a new feature to add parameters to allure report #472

yon11101 opened this issue Jul 29, 2022 · 1 comment · Fixed by #473
Assignees

Comments

@yon11101
Copy link

yon11101 commented Jul 29, 2022

Is your feature request related to a problem? Please describe.
I use allure-playwright@2.0.0-beta.18 with playwright/test in my project, and I want show some parameters related to test info in my test report, but I can't find any api to do this. Currently I stdout the parameters and attach them to allure report as a workaround.

I investigate allure-js-commons, I find a usefull function, and I try to use it in allure-playwright but failed.

   parameter(name, value) {
        this.currentExecutable.addParameter(name, value);
   }

Describe the solution you'd like
I'd like to use have a function like allure.parameters({key,value}), maybe your team has a better solution.

Additional context

  • playwright/test@1.24.0
  • allure-playwright@2.0.0-beta.18
@yon11101 yon11101 changed the title [allure-playwright]: Need a new feature to add parameters to test report [allure-playwright]: Need a new feature to add parameters to allure report Jul 29, 2022
@yon11101
Copy link
Author

Greate thanks to you @vovsemenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants