Open wabisabit opened 6 years ago
I think you need to wrap second suite inside first one as described in Nested tests - https://gemini-testing.github.io/doc/tests.html#nested-suites to be able to access stored localStorage
Thank you @FrEaKmAn I'll try that.
Gemini version 5.7.2
I'm using
executeJS
in order to set a localStorage item for the next suite as explained here: https://github.com/gemini-testing/gemini/issues/799Although it works, in my case, I don't want to capture anything in the first suite, so using
before
orafter
instead ofcapture
would make more sense. But without a call tocapture
the actions are ignored.Command used to run the test:
Result: The localStorage item is unavailable in the second suite
Expected behaviour: The localStorage item is available in the second suite