Running Cypress locally fails
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary of the bug
All cypress test locally fail.
## 🪜 How to reproduce
Tell us the steps to reproduce the problem:
1. Clone the repo
2. Install & bootstrap (npm i. && npm run bootstrap && npm run build:all && npm run test-cypress)
3. When test-cypress runs, the first unit tests work, but when comparing visually all fails.
## 📸 Screenshots or code
## 🖥 📱 Device
- Type: Desktop
- Device: MacBook Pro M2
- OS version: Sonoma 14.5
- Browser version: Google Chrome - Version 126.0.6478.127 (Official Build) (arm64)
## 🧐 Expected behaviour
All UI tests should pass
## 📝 Acceptance Criteria
*Given* Cypress tests
*When* Running them tests
*Then* it should show all pass-es
## Additional info
- Tried using different devices, such as Ubuntu, but the bug still persists.
- Tried re-cloning repo with fresh build
- Tried changing the test platform (i.e just chrome)
- Tried main branch, develop branch, error still persists
- https://stackoverflow.com/a/78208168
Contributor guide
Research direction
Run npm i && npm run bootstrap && npm run build:all && npm run test-cypress, then inspect the first visual-comparison failure and its output. The work is done when the Cypress UI tests pass across the reported setup and the failure no longer occurs on the main and develop branches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- frontend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100