https://cypress.io logo
<@1014525697785602149> for the record, all Cypress...
# e2e-testing
s
@wide-waiter-58637 for the record, all Cypress code runs within the browser. If you want to run Node specific code, it is placed inside:
Copy code
setupNodeEvents: async (on, config) => {
... this tells Cypress this is code that does Not run on the browser i.e. query DB Cypress configuration options are different in that they represent your unique settings for running Cypress. These are key-value pairs i.e
experimentalSessionAndOrigin: true,
and are documented here https://docs.cypress.io/guides/references/configuration You can view all your unique settings when running
cypress open
UI > Settings > Project Settings That is why moving that configuration flag solved your problem.