CI Tests beta feature: Is it possible to log errors/failures from beforeHooks #1583
Replies: 3 comments 1 reply
-
hi @declancarrollcb ! Thanks for reaching out. This is a great observation. We're indeed missing visibility over what happens in |
Beta Was this translation helpful? Give feedback.
-
Hey Juan, In the Datadog tracing tags I can see a test suite attribute, so it would make sense to try wrap a suite span also. It could be included as an optional column on the main test dashboard though. It would also be a valuable metric to track the longest individual test times, and the aggregated longest test suite times, that would be particularly useful for people who use Jest as an E2E UI framework where a single test suite is broken up into multiple steps for a test. |
Beta Was this translation helpful? Give feedback.
-
I've followed the setup instructions for integrating Datadog tracing into our Jest Circus tests. Most of the time it's working fine, however if there is an error/exception in the "before" hooks of a suite, there is no error sent to Datadog.
This gives a very inaccurate impression of what happened from the Dashboard view. Has anyone else encountered this?
Beta Was this translation helpful? Give feedback.
All reactions