You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a blank cypress project and trying to run it with the cypress Nix package fails. No specs are run, and it immediately crashes.
Desired behavior
Cypress should run the test successfully. With a non-Nix version of Cypress, it works.
Test code to reproduce
I've created a minimal reproducible example:
docker run -it nixos/nix
git clone https://github.com/nkalupahana/cypress-nix-repro
cd cypress-nix-repro
nix-shell # see default.nix
npm install
npx cypress run --e2e --headless
Cypress Version
13.2.0
Node version
v18.20.4
Operating System
Host OS: macOS 14.6.1 (23G93)
In Docker: Linux 5b042f1d30e2 6.10.11-linuxkit #1 SMP Thu Oct 3 10:17:28 UTC 2024 aarch64 GNU/Linux
The same issue happens on Cypress 13.13.2, this time with the Electron renderer. In order to see this reproduction, after cloning the repro, switch to the unstable branch.
Setting --browser firefox (with Firefox from Nix) on Nix unstable works. Firefox on Nix main release does not work (hangs trying to open Firefox), but this is a different bug.
Current behavior
Creating a blank cypress project and trying to run it with the cypress Nix package fails. No specs are run, and it immediately crashes.
Desired behavior
Cypress should run the test successfully. With a non-Nix version of Cypress, it works.
Test code to reproduce
I've created a minimal reproducible example:
Cypress Version
13.2.0
Node version
v18.20.4
Operating System
Host OS: macOS 14.6.1 (23G93)
In Docker:
Linux 5b042f1d30e2 6.10.11-linuxkit #1 SMP Thu Oct 3 10:17:28 UTC 2024 aarch64 GNU/Linux
Debug Logs
https://pastebin.com/p47PGU9
Other
The same issue happens on Cypress 13.13.2, this time with the Electron renderer. In order to see this reproduction, after cloning the repro, switch to the
unstable
branch.Setting
--browser firefox
(with Firefox from Nix) on Nix unstable works. Firefox on Nix main release does not work (hangs trying to open Firefox), but this is a different bug.cc maintainers of Cypress Nix package: @thorstenweber83 @mmahut @Craftzman7
The text was updated successfully, but these errors were encountered: