cypress-component-testing-examples
cypress-component-testing-examples copied to clipboard
No framework - basic test w/ @cypress/webpack-dev-server
This example should be effectively identical to https://github.com/cypress-io/cypress-component-examples/tree/main/no-framework
Observations while running npx cypress open-ct
- Spec files render and run
- As-expected
- Renaming a spec file results in an error in the AUT Frame "Module not found: Error: Can't resolve (path to the renamed spec file old name)"
- Renaming the spec file back causes it to work again
- Selecting a spec file that was renamed or added since starting the TR results in a "No tests found." error
- I expect it to run the spec
- Changing any spec / module files causes the current spec to reload
- I expect the spec to reload only if its files were changed, not if unrelated files were changed