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

Do not skip finally #18

Closed
bahmutov opened this issue Sep 1, 2022 · 1 comment
Closed

Do not skip finally #18

bahmutov opened this issue Sep 1, 2022 · 1 comment
Labels
bug Something isn't working released

Comments

@bahmutov
Copy link
Owner

bahmutov commented Sep 1, 2022

it.only('yields the IF subject', () => {
  cy.wrap(1)
    .if('equal', 1)
    .then(() => 101)
    .else()
    .then(() => -1)
    .finally()
    .should('equal', 101)
})

Skips the finally and should assertion

Screen Shot 2022-09-01 at 06 53 55

@bahmutov bahmutov added the bug Something isn't working label Sep 1, 2022
@github-actions
Copy link

github-actions bot commented Sep 1, 2022

🎉 This issue has been resolved in version 1.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

1 participant