sorry-cypress / cy2-azure

MIT License
1 stars 2 forks source link

Incompatible with Cypress 11 #2

Open agoldis opened 1 year ago

agoldis commented 1 year ago

Cypress 11 has a different packaging and does not expose the source files. As a result - cy2-azure is not working anymore.

There are also complains about Cypress 10 compatibility: https://sorry-cypress.slack.com/archives/C01346MRQBY/p1669814106853329

DamienCassou commented 1 year ago

We are unable to update Cypress because of this :-(.

kuldea-paulo commented 1 year ago

We are also unable to upgrade from 9.7.0. We use azure blob storage to store the screenshots when the tests fail. The error we are having, as soon as we use cy2-azure, is

Error: ENOENT: no such file or directory, copyfile '/root/.cache/Cypress/12.0.0/Cypress/resources/app/packages/server/config/app.yml' -> '/root/.cache/Cypress/12.0.0/Cypress/resources/app/packages/server/config/_app.yml'
    at Object.copyFileSync (node:fs:2817:3)
    at Object.<anonymous> (/e2e/node_modules/cy2-azure/dist/patch.js:57:25)
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/e2e/node_modules/cy2-azure/dist/patch.js:15:28)
    at _next (/e2e/node_modules/cy2-azure/dist/patch.js:33:17) {
  errno: -2,
  syscall: 'copyfile',
  code: 'ENOENT',
  path: '/root/.cache/Cypress/12.0.0/Cypress/resources/app/packages/server/config/app.yml',
  dest: '/root/.cache/Cypress/12.0.0/Cypress/resources/app/packages/server/config/_app.yml'
agoldis commented 1 year ago

Most chances you will have to switch to cypress-cloud package