app icon indicating copy to clipboard operation
app copied to clipboard

Bug in report notification email in case of parameterized test

Open SuperJessiK opened this issue 10 months ago • 1 comments

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:

  1. 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); }); });
  2. Run the test
  3. 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 Image

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.

SuperJessiK avatar Feb 24 '25 17:02 SuperJessiK