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
We can perform jasmine.getEnv().currentSpec.description to get the name of the test in the AfterEach block in Jasmine 1 version for protractor but doesn't work when switching to jasmine2 framework in Protractor.
The scenario specifically where I would use is to capture screenshot with file name containing the spec name.
Is it possible to bring back the deprecated feature or provide a different mechanism that I can include in every spec file in the afterEach block to capture screenshots with the filename containing the spec name.
The text was updated successfully, but these errors were encountered:
Hi Team,
We can perform jasmine.getEnv().currentSpec.description to get the name of the test in the AfterEach block in Jasmine 1 version for protractor but doesn't work when switching to jasmine2 framework in Protractor.
I see a closed story here: #611.
The scenario specifically where I would use is to capture screenshot with file name containing the spec name.
Is it possible to bring back the deprecated feature or provide a different mechanism that I can include in every spec file in the afterEach block to capture screenshots with the filename containing the spec name.
The text was updated successfully, but these errors were encountered: