Open nickbreaton opened 1 year ago
I'm happy to PR the fix I've made in my fork, including the tests if desired.
Also, in case others run into this before its resolved, setting the following globally seems to ensure this.get('prev')
is always defined by the time your test runs.
beforeEach(() => {
cy.then(() => null)
})
I ran into this today. Thank you for finding and providing a solution :smile:
I also ran into this issue. Thanks for the explanation & workaround! A MR would be appreciated :)
beforeEach(() => {
cy.then(() => null)
})
I put this in my e2e.ts file and it worked!
Any plans to release a fix for this? Thanks!
cypress-testing-library
version: 9.0.0node
version: 19.4.0npm
(oryarn
) version: 9.2.0 (npm)What you did:
What happened:
Reproduction repository:
Problem description:
Suggested solution:
Thanks for continuing to provide an amazing utility. 🙏