Where are people placing code that should be run only once at the beginning of the all the tests? I tried some tricks with before() in e2e.js but that seems to run before every file. Unfortunately, I can't seem to get a global variable to work in there (run the code when typeof var === "undefined" then let var = true so it won't run again)
I'm currently exploring on('before:run'), but then I don't get access to cy.
Is there another way or is this the best method?