Testing window.close Method From Cypress

Testing window.close Method From Cypress

gleb bahmutov

54 года назад

593 Просмотров

This video shows how to set a "window.close" method stub using cy.window and cy.stub method calls. Then we can click on the button and confirm the method call was indeed made. Find the full code at https://glebbahmutov.com/cypress-examples
Ссылки и html тэги не поддерживаются


Комментарии: