Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

For an assertion failures for the steps I.see or I.dontSee methods assertion error messages are not able to capture as it's not available in test object in hook method _failure(test) #4464

Open
AugustineAutoGit opened this issue Aug 21, 2024 · 1 comment
Labels

Comments

@AugustineAutoGit
Copy link

What are you trying to achieve?

For an assertion failures for the steps I.see or I.dontSee methods assertion error messages should be able to capture

What do you get instead?

Not able to capture the error message as the same is not available in test object in hook method _failure(test).
Screenshot 2024-08-21 at 11 27 11 AM

Hence not able to capture assertion failure message in Allure report:
Screenshot 2024-08-21 at 11 30 13 AM

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version: 3.6.4
  • NodeJS Version: 20
  • Operating System: MacOS
  • Playwright
  • Configuration file:
# paste config here
Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant