You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR; Is there a way to get the currently executed test case (its description derived from describe / it) in a beforeEach block?
What for?
Assuming I have a test runner that performs some sort of visual job on the screen (e.g. drawing SVG elements).
I provide each test case with a container to draw on and want the result to be inspectable by a user. In addition, I would like to add a caption to each of the tests, so that the user can easier keep track of which drawing result belongs to which test execution.
hexsprite, candidJ, zeropaper, IgorAufricht, tamlyn and 21 more