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

Question: (playwright-qase-reporter) - Set step data and expected result via reporter #670

Open
RichWattieCera opened this issue Sep 2, 2024 · 5 comments

Comments

@RichWattieCera
Copy link

Hi, is it possible to set data values and the expected result for steps via code, and then during a test run, updates the test in Qase via the reporter?

@gibiw
Copy link
Contributor

gibiw commented Sep 2, 2024

@RichWattieCera Hello! The reporter doesn't support this functionality.

@RichWattieCera
Copy link
Author

Thanks for responding. Could this be a possible feature request or is it something that's already been discussed?

@gibiw
Copy link
Contributor

gibiw commented Sep 2, 2024

You are the first to request this functionality. Can you describe your case in more detail? What problem do you want to solve?

@RichWattieCera
Copy link
Author

I like the fact that I can essentially have my playwright code as a source of truth. So that if the application under test changes, I need to update a test and I only have to do that in one place. Then once running the tests it will update the test steps in Qase. Rather than me having to go and update that manually as well.

Use Case...
I have manually set "Data" and/or "Expected Result" values for test steps in Qase.
I have Qase automation configured so that the report updates my test steps.
These properties get deleted when the test runs.
I now have to add that data back into Qase.
It would be handy to be able to set these properties in the code for each/any test step.

@ZeylanEmir
Copy link

I want to inform you that the above thoughts of the authors are true, in qasefor playwright or cypress or any other testing framework it would be useful to have a function similar to the function in python: where you can write qase.step(1, "passed") or something similar that would indicate that this particular step has been passed or not Since it is inconvenient for many manual testers to read the test results, where either the first 1-2 steps are marked as "passed" and the rest are either "skipped" or "unmarked", and this causes certain inconveniences.

image

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

No branches or pull requests

3 participants