cypress-component-testing-examples icon indicating copy to clipboard operation
cypress-component-testing-examples copied to clipboard

No framework - basic test w/ @cypress/webpack-dev-server

Open cowboy opened this issue 4 years ago • 0 comments

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

cowboy avatar Aug 13 '21 14:08 cowboy