aspect-build / aspect-build/rules_cypress
[Bug]: Cypress UI hangs 15 second after opening
- Dominant language
- Starlark
- Stars
- 12
- Forks
- 15
- Avg merge
- 41m
- Merged PRs (30d)
- 11
Description
### What happened?
I am running cypress ui through bazel on MacOS.
When running cypress open the app opens, shows the welcome screen then shortly after hangs.
This process takes between 14 to 17 seconds.
The UI will become unresponsive for up 2 minutes and then start working again.
I have tried with with:
rules v6 & cypress 13.
rules v7 & cypress 14.
They both behave in the same way.
I can also see this issue if I run `cypress run --headed --no-exit`.
When running cypress outsize of bazel there is no issue with the UI freezing.
### Version
Development (host) and target OS/architectures:
Output of `bazel --version`:
Version of the Aspect rules, or other relevant rules from your
`WORKSPACE` or `MODULE.bazel` file:
Language(s) and/or frameworks involved:
### How to reproduce
```shell
run cypress with the "open" command instead of the "run" command.
```
### Any other information?
_No response_
Contributor guide
Research direction
Start by reproducing `cypress open` through Bazel on macOS, then compare it with `cypress run --headed --no-exit` and a run outside Bazel. Check whether the UI becomes unresponsive for 14–17 seconds and up to two minutes; done means the Cypress UI remains responsive when launched through Bazel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100