Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress custom commands doesn't load #251

Closed
nnhjs opened this issue Aug 23, 2023 · 2 comments · Fixed by #254
Closed

Cypress custom commands doesn't load #251

nnhjs opened this issue Aug 23, 2023 · 2 comments · Fixed by #254

Comments

@nnhjs
Copy link

nnhjs commented Aug 23, 2023

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

Yes

Steps to Reproduce

Run cypress test in local
npm run test:e2e:dev

Expected Behavior

We can run cypress test successfully

Actual Behavior

cy.cleanupUser is not a function
Because this error occurred during a after each hook we are skipping the remaining tests in the current suite: smoke tests

Screen Shot 2023-08-23 at 11 10 09

@ngtrthinh169TPC
Copy link

I'm having the same problem with cy.cleanupUser is not a function.
image

Weirdly I'm also seeing the same problem with the grunge stack yesterday. Thinking there might be something between Cypress and Remix setups in general, not only this stack.

@MichaelDeBoey
Copy link
Member

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

Fix in #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants