bahmutov / cypress-if

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

Possible issue with overriding #31

Closed fleks-dev closed 2 years ago

fleks-dev commented 2 years ago

If someone has already overwritten the .get() command, and cypress-if is added afterwards, the user will lose his overwritten changes because this plugin does the same?

bahmutov commented 2 years ago

It should not, but of course you can set up your own overwrite and see

fleks-dev commented 2 years ago

I'll check right away

fleks-dev commented 2 years ago

It does not :+1: