Cypress package should install Replay browsers
ceceliacreates opened this issue · comments
Currently, when installing @replayio/cypress
in a project then running the tests, the Replay Firefox browser is not found.
Error:
spawn /Users/cecelia/.replay/playwright/firefox/Nightly.app/Contents/MacOS/firefox ENOENT
Error: spawn /Users/cecelia/.replay/playwright/firefox/Nightly.app/Contents/MacOS/firefox ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Additionally, running ls
on the browser path indicates no file or directory found, implying the Replay Browser is not installed.
I tested the Replayable Playwright project on my other computer and adding @replayio/playwright
to the project then npm install
did install the browser. I was able to ls
the path and see it installed. So, this is a Cypress-specific problem.
I did notice that the install script for Cypress looks different than for Playwright.
https://github.com/replayio/replay-cli/blob/main/packages/playwright/src/install.ts
https://github.com/replayio/replay-cli/blob/main/packages/cypress/src/install.ts