-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature: Add keywords (Given, When, Then) to html report #69
Comments
@vitalets Eg: Eg2: In these examples we used the same step but in different context 'given' in eg1 and 'when' in eg 2 Or did i misunderstood you? Thanks |
Hi @meeranharish
Instead of current behavior:
|
Thanks for the response. Yes, the steps are not tied to keywords but only that we might miss the keyword in the report. |
Got it. No, steps will not be restricted to keywords. |
@vitalets |
This is just internal implementation details. Nothing will change from the usage point. await Given("State 1");
await When("Action 1");
await Then("Assertion 1"); |
Is this sufficient enough to get the corresponding keywords in the html report for each step? Currently we don't get right? |
Yes, it should be sufficient. There are also |
Looking forward :) |
The problem
Currently html-report does not contain keywords (Given, When, Then):
It should be:
A solution
Pass keywords to Playwright steps to display them in report.
Use exactly the same keywords as used in feature file (e.g. don't convert And -> Given).
Handle i18n keywords.
Keep in mind Cucumber reporters: #9
The text was updated successfully, but these errors were encountered: