Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug in report notification email in case of parameterized test #1232

Open
SuperJessiK opened this issue Feb 24, 2025 · 0 comments
Open

Bug in report notification email in case of parameterized test #1232

SuperJessiK opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
bug something isn't working priority medium reporting reports, public, private, sharing test run, test report, results, test data
Milestone

Comments

@SuperJessiK
Copy link

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 SuperJessiK added the bug something isn't working label Feb 24, 2025
@poliarush poliarush added this to the 0.5.40 milestone Feb 24, 2025
@poliarush poliarush added priority medium reporting reports, public, private, sharing test run, test report, results, test data labels Feb 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug something isn't working priority medium reporting reports, public, private, sharing test run, test report, results, test data
Projects
None yet
Development

No branches or pull requests

3 participants