Is it possible to retrieve a value once from one test and use it in another test later on with Protractor? In my particular situation, I am looking to extract a cookie from the browser just once and then make it accessible in all of the spec files used for testing. It's not ideal for me to read the cookie in the beforeAll
method for each spec file individually.
For instance, if I have 5 spec files and initially obtain the cookie while running the 1st spec file, I require that cookie information to persist and be available for subsequent spec files. Is there a way to store this value so that it can be accessed across all spec files? Is this achievable?