You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my playwright tests all of my expect includes the description of the assertion.
await expect(bingMapsPage.geoName.locator, 'Geo name is equal to: GermanyBavariaMunich (District)').toHaveText('GermanyBavariaMunich (District)');
But this assertion description is only added when the detail is equal to true. Please add the assert descriptions with the detail = false. The only way is to add an extra step to all assertions, but it is easier that the description of the expect functions is added automatically.
Describe the solution you'd like
Add the expect description to the HTML report when the detail is set to false. This way, I don't need to wrap all expect with a test.step with the same text of the expect function.
Describe alternatives you've considered
Manually wrap the expects functions with a test.step
Add the allure code to add the step
Create a generic assert function and on this function add the test.step
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I need that the Allure HTML report doesn't include the playwright code. For this reason, I set up the details to be false.
On my playwright tests all of my expect includes the description of the assertion.
But this assertion description is only added when the detail is equal to true. Please add the assert descriptions with the detail = false. The only way is to add an extra step to all assertions, but it is easier that the description of the expect functions is added automatically.
Describe the solution you'd like
Add the expect description to the HTML report when the detail is set to false. This way, I don't need to wrap all expect with a test.step with the same text of the expect function.
Describe alternatives you've considered
Manually wrap the expects functions with a test.step
Add the allure code to add the step
Create a generic assert function and on this function add the test.step
Additional context
The text was updated successfully, but these errors were encountered: