melodic-artist-76036
02/20/2023, 6:11 PMcy.origin and require to import dependencies. Those dependencies are local modules (page objects) which I need for assertions. Locally, everything works like a charm, but on CI I get this error:
Error: Error: ENOENT: no such file or directory, open '/tmp/cypress/webpack-preprocessor/36c17fa865a97b9d11c9436638e044d7/cross-origin-cb-948eb7e9dc3ceb4e5222da0c9c591d18.js'
Now before posting the whole setup, does anyone have an idea what could be the issue here? It seems it can not find the sources required for cross origin callbacks.adventurous-dream-20049
02/20/2023, 6:44 PMCypress.require() for including dependencies within the cy.origin() callback. You can see more in the docs here: https://docs.cypress.io/guides/references/changelog#12-6-0melodic-artist-76036
02/21/2023, 8:35 AMadventurous-dream-20049
02/21/2023, 6:16 PMhallowed-ability-2849
03/03/2023, 5:00 PMhallowed-ability-2849
03/11/2023, 2:05 PMstraight-jelly-78334
03/11/2023, 5:42 PMhallowed-ability-2849
03/11/2023, 5:43 PM