app
app copied to clipboard
Bug in report notification email in case of parameterized test
Describe the bug Issue observed while running Playwright tests When running a parameterized test, the placeholder is always displayed in the Report notification email instead of the parameter value for the respective iteration
To Reproduce Steps to reproduce the behavior:
- Create a parameterized test
Example:
[{ name: 'Alice' }, { name: 'Bob' }, { name: 'Charlie' }].forEach(({ name }) => {
test(
testing with ${name} @Tc3ee236f, async ({ page }) => { await expect(10).toBeGreaterThan(11); }); }); - Run the test
- Observe the test output in Report notification email
Expected behavior For each iteration, the respective parameter value is displayed
Actual behavior The parameter value is not displayed,.It is the placeholder i.e. ${name} that is displayed
Screenshots
Desktop (please complete the following information):
- OS: ios
- Browser: chrome
- Browser Version [e.g. 22]
- Application: prod
Additional context Add any other context about the problem here.