-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module API (1.4.4) not working with Javascript #80
Comments
Thanks for reporting @mirobo, will fix ASAP |
* fix: esm + cjs exports. Resovle #80. * chore: add e2e export and api tests * fix: prevent side effects on import... kind of * fix: remove bg color for pending tests in summary * chore: update localhost release testing docs * chore: revent package version * chore: update unit test snapshots * chore: release v1.4.5-beta.0
I've published 1.4.5-beta.0 on npm - please confirm it's working for you |
It seems like it's not published? https://www.npmjs.com/package/cypress-cloud?activeTab=versions Stupid question.. did you run these commands from your own documentation? 😉😁
|
Now I see it.. I'll get back to you later! |
Calling the "run" function now works, but the plugin itself can no longer communicate with sorry-cypress (error 400). I created a separate issue here: #96 |
On node 16.13.1 I get: Is node 17+ a requirement? On node 18.15.0 |
@lpanger what version of the package are you using? We have released https://www.npmjs.com/package/cypress-cloud/v/1.4.5-beta.1, working on the production release rn. As for the errors - it requires node 14.7.0+, weird I am not seeing those when testing locally. How do I reproduce it? |
https://github.com/lpanger/cypress-cloud-module-api cypress-cloud 1.4.5-beta.1 clone repo and run node index.js |
Before opening, please confirm:
Environment information
cypress: ^12.7.0 => 12.7.0
cypress-cloud: ^1.4.4 => 1.4.4
npx envinfo --system --binaries --browsers --npmPackages --duplicates --npmGlobalPackages
Describe the bug
I'm not able to use the cypress-cloud module API within a JS file.
Starting cypress-cloud via "npx cypress-cloud" works fine. But it is still a blocker since I cannot pass Cypress config options to "npx cypress-cloud".
I dynamically configure some Cypress env variables in a JavaScript file and because of it I need (it is much more convenient) to start cypress-cloud via the Module API
Expected behavior
Module API works everywhere :)
Command and Setup
Simple demo project: https://github.com/mirobo/cypress-cloud-module-api
Run commands:
Full log and debug output
The text was updated successfully, but these errors were encountered: