Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Upgrade Cypress Version #9

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nyghtly-derek
Copy link

@nyghtly-derek nyghtly-derek commented Dec 13, 2022

The cypress-capybara package is broken when using Cypress 12.

It's because we're not allowed to invoke cy. from within .should anymore (.and is an alias for .should). So, we need to use .then instead. Unfortunately, that has the side effect of breaking these commands when used with .should(not.exist).

I decided that it wasn't worth it to keep on fixing this, but I wanted to push my work upstream in case someone wants to take it over.

One option to fix this is to simply stop supporting .should(not.exist) for this command. It doesn't seem particularly important to me.

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

Successfully merging this pull request may close these issues.

None yet

1 participant