Open knidhi opened 9 months ago
Update: I m able to execute tests on windows 10. Issue seems to be specific to Ubuntu environment.
We've encountered this as well trying to upgrade to cypress 12. Our tests still pass on cypress 11 though. It fails in CI on a linux machine but passes locally on my mac.
cypress
: 12.17.4
cypress-cloud
: 1.9.6
agoldis/sorry-cypress-director
: 2.5.10
$ /home/jenkins/agent/workspace/.../node_modules/.bin/cypress-cloud run --browser /usr/bin/google-chrome-stable --parallel --group concurrent --spec 'cypress/e2e/concurrent/**/*' --record --ci-build-id {build-id}
Using config file: 'file:///home/jenkins/agent/workspace/.../currents.config.js'
Copyright (C) 2023 Currents Software Inc https://currents.dev/
This is free software, and you are welcome to redistribute it under certain
conditions. This program comes with no warranty. Parts of this program are MIT
licensed. Refer to the license for details
https://github.com/currents-dev/cypress-cloud/blob/main/LICENSE.md
Cypress stdout:
Cypress stderr:
ERROR Unable to resolve cypress configuration
- make sure that 'cypress-cloud/plugin' is installed
- report the issue together with cypress stdout and stderr
I enabled debug logging (added the environment variable DEBUG=*
) and found this in the logs: We've detected that you're using a 3rd party library that is not supported by Cypress: cypress-cloud
- so it seems like cypress is blocking 3rd party plugins even on v12, not just v13.
Please confirm
Environment information
Describe the bug
After months of running smoothly on our Jenkins we have recently started seeing the following error:
11:37:25 my-repo-e2e: ERROR Unable to resolve cypress configuration 11:37:25 my-repo-e2e: - make sure that 'cypress-cloud/plugin' is installed
Cypress version: 12.12.0 Cypress-cloud version: 1.7.0 agoldis/sorry-cypress-director: 2.5.3
Could this be related to blocks imposed by cypress.io? There haven't been any version upgrades in past couple of months.
Expected behavior
Tests should run as expected since the plugin clearly exists in node/modules directory
Setup and Command
npx cypress-cloud --quiet --project $(npm prefix)/apps/iris-ui-angular-e2e --spec */.ci.spec.* --parallel --record --key irisUiKey --ci-build-id 111 --config baseUrl=https://localhost:4200,video=false
Cypress config: import { defineConfig } from "cypress"; import { cloudPlugin } from "cypress-cloud/plugin"; export default defineConfig({ e2e: { setupNodeEvents(on, config) { const result = cloudPlugin(on, config); return result; }, }, });
Full log and debug output