Currently, in CTRF report, all the test steps provide only "name" and "status" of given step.
Playwright provides many more details for each of the step, including a step's category, execution duration, location in source code and all the child steps.
Now that the 'step' object has been updated to include 'extra' property, child steps and other step details should be included in the CTRF report for Playwright.
For example, following test is currently reported without any steps.
Ideally, it should be reported with both the steps included in steps property. For CTRF to be useful for debugging the tests, all step details including child steps, are needed to be on the report.
It should also be noticed that currently, none of the steps inside any hooks like beforeAll(), beforeEach(), afterAll() and afterEach() are reported in CTRF json.
Currently, in CTRF report, all the test steps provide only "name" and "status" of given step.
Playwright provides many more details for each of the step, including a step's category, execution duration, location in source code and all the child steps.
Now that the 'step' object has been updated to include 'extra' property, child steps and other step details should be included in the CTRF report for Playwright.
For example, following test is currently reported without any steps.
Ideally, it should be reported with both the steps included in
steps
property. For CTRF to be useful for debugging the tests, all step details including child steps, are needed to be on the report.It should also be noticed that currently, none of the steps inside any hooks like beforeAll(), beforeEach(), afterAll() and afterEach() are reported in CTRF json.