[test-utils-recorder] beforeEach
recording even when the test is skipped
#6284
Labels
Client
This issue points to a problem in the data-plane of the library.
test-utils-recorder
Label for the issues related to the common recorder
Milestone
If a test is skipped, ideally it would generate no recording. When we were using
recorder.ts
in the various packages, the recording would be cancelled as soon as it would go to look for a recording and find that it was configured to be skipped, so that was the case.In the common recorder, however, if a test suite contains setup logic in
beforeEach
that makes a request, then that request will be recorded (and the recording will be required for playback) even if the test is subsequently skipped, meaning that even skipped tests will require a recording (of only thebeforeEach
steps).Example:
The text was updated successfully, but these errors were encountered: