Failing when following Cypress Docs Google-Authentication - cy.task(db:seed) 'task' not registered #29573
Unanswered
larryfast
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working my way through Google Authentication instructions found here:
https://docs.cypress.io/guides/end-to-end-testing/google-authentication
When I attempt to run the Test Login code I get the following error
I don't see any references to setupNodeEvents cy.task() or db:seed elsewhere on the page.
I tried
More details:
The code block did not include any info about placement so I created a file playgroundAuth.cy.ts in my test suite folder. I also tried changing it to .js but got the same error. Here's the code block from the page:
Beta Was this translation helpful? Give feedback.
All reactions