bahmutov / bahmutov/cypress-angular-unit-test
Running e2e tests after integrating cypress-angular-unit-tests no longer works
- Dominant language
- TypeScript
- Stars
- 160
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
After integrating the cypress-angular-unit-test module, our "regular" e2e tests fail to run, stating cy.visit() may not be used in a component.
We have specified our testFiles in cypress.json and the component attribute pointing to the component fixtures.
### Desired behavior
cypress run should still be able to execute e2e tests alongside component tests.
Thanks for the support.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the cypress.json testFiles and component settings, then reproduce the failure with cypress run after integrating the cypress-angular-unit-test module. Done means regular e2e tests using cy.visit() and component tests can run together without the component-context error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, cypress, typescript
- Domain
- frontend, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100