Overwrite get command Cypress (12.3.0) #25447
-
Hi, Could someone please help me, I just updated cypress to its latest version (12.3.0) and my commands were obsolete. This is the error I have with (Cypress.Commands.overwrite) (The following error originated from your test code, not from Cypress.
Could you please tell me how to correct this? Code: Cypress.Commands.overwrite('get', (originalFn, selector, options) => { I don't want to have to create another command, this would be an example of what I don't want to do Cypress.Commands.addQuery('get2', (originalFn, selector, options) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is an open issue for overwriting a cypress command. Here is the latest response. |
Beta Was this translation helpful? Give feedback.
There is an open issue for overwriting a cypress command. Here is the latest response.