aspect-build / aspect-build/rules_cypress
[FR]: Need a way to run cypress_module_test() with js_run_devserver for developing tests
- Dominant language
- Starlark
- Stars
- 12
- Forks
- 15
- Avg merge
- 41m
- Merged PRs (30d)
- 11
Description
### What is the current behavior?
So I'm working on maintaining some Cypress tests, and I've set up a target to open the Cypress UI, but I currently need to restart the target each time I edit a spec file.
### Describe the feature
Thinking that if this could be used with `js_run_devserver` and have it sync the Cypress specs, that might be ideal.
Is there any way to do this currently?
Contributor guide
Research direction
Start by tracing the cypress_module_test() and js_run_devserver entry points to understand how Cypress specs are supplied and synchronized. Check whether the current target lifecycle requires a restart after spec edits. Done means a Cypress UI development target reflects spec changes without requiring the target to be restarted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, javascript
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100