Hey All,
I was able to resolve the issues with our component test migration and wanted to share the root cause and solution.
The issue was for next.js component tests using a standard webpack. When starting the component tests they would hang with the message "Cannot GET /__cypress/src/index.html" and in the terminal had a few errors for "Module not found".
The cause of this was that the support/components.ts included an import for the commands.ts. However, within the ./commands.ts we were importing Percy and a few other packages. This caused webpack to fail compile due to not finding the modules for those imports.
Simple solution was to remove the import of commands form component.ts and as a BP I plan to move the imports for Percy and other packages specific to our e2e tests into the support/e2e.ts