remix-run / grunge-stack

The Remix Stack for deploying to AWS with DynamoDB, authentication, testing, linting, formatting, etc.
https://remix.run/stacks
MIT License
438 stars 95 forks source link

Cypress smoke test fails with newly initialized project #160

Closed ngtrthinh169TPC closed 1 year ago

ngtrthinh169TPC commented 1 year ago

Have you experienced this bug with the latest version of the template?

Yes

Steps to Reproduce

npx create-remix@latest --template remix-run/grunge-stack
npm run test:e2e:dev

Then go to Cypress and run the smoke test.

Expected Behavior

All the test should pass

Actual Behavior

Cypress's custom commands cannot be recognized:

image

image

I'm having the same problem with the Indie Stack

MichaelDeBoey commented 1 year ago

This seems to be a regression in Cypress with using Cypress.Command.add

Fix in #161