playwright
playwright copied to clipboard
[REGRESSION]: Incorrect wrapping steps
Context:
- GOOD Playwright Version: 1.32.0
- BAD Playwright Version: >1.33.0
- Operating System: Any
- Extra: None
Code Snippet
await test.step("Description", async () => {
await this.page.route('**/api/articles?limit=10&offset=0', async route => {
const response = await route.fetch();
await route.fulfill({
status: 200,
contentType: 'application/json',
headers: response.headers(),
body: JSON.stringify(
articles
)
});
});
});
Describe the bug
Incorrect wrapping in test steps. In version 1.32 I can wrap correctly test steps to add one step for the mock, but after 1.33 and 1.34 the wrapping is incorrect for the HTML report
Version 1.32
Version >=1.33
Too last version is adding step: tracing.stopChunk
Link with public repo: https://github.com/apis3445/playwright-sample