bahmutov / cypress-if

Easy conditional if-else logic for your Cypress tests when there is no other way
https://cypress.tips/courses/cypress-plugins
99 stars 12 forks source link

Sometimes condition go to if or else for 0 reason #54

Closed AntoineNavarro2 closed 1 year ago

AntoineNavarro2 commented 1 year ago

Capture d’écran 2022-11-22 153325 Capture d’écran 2022-11-22 153601

bahmutov commented 1 year ago

What is the Cypress version you are using?

AntoineNavarro2 commented 1 year ago

What is the Cypress version you are using?

V11.1.0

bahmutov commented 1 year ago

Can you try the latest release of this plugin https://github.com/bahmutov/cypress-if/releases/tag/v1.10.2 because it fixes Cypress v11.1.0 compatibility (see #53)

AntoineNavarro2 commented 1 year ago

Can you try the latest release of this plugin https://github.com/bahmutov/cypress-if/releases/tag/v1.10.2 because it fixes Cypress v11.1.0 compatibility (see #53)

It's work again thanks ! Where does the problem come from ?

bahmutov commented 1 year ago

The cypress version changed how it flags a skipped command Sent from my iPhoneOn Nov 22, 2022, at 10:11, AntoineNavarro2 @.***> wrote:

Can you try the latest release of this plugin https://github.com/bahmutov/cypress-if/releases/tag/v1.10.2 because it fixes Cypress v11.1.0 compatibility (see #53)

It's work again thanks ! Where does the problem come from ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>