I am using iframe plugin to intract with iframes on cypress #27859
Unanswered
IamUmairIftikhar
asked this question in
Plugins
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The iframe test cases are working fine on my local device but when I push the code on GitLab and run it on CI. It is not running
I have installed the plugin using:
npm install –D cypress-iframe
Imported the module like:
import '../../node_modules/cypress-iframe';:
here's my code:
verifyEmailAddress(){
this.verifyemailaddress.click().clear().type('testautomationcarnivalist')
cy.get('[title="Check Inbox @yopmail.com"]').click()
cy.url().should('include', '/wm')
cy.contains('[email protected]').should('be.visible')
cy.iframe('[name="ifmail"]').within(() => {
cy.contains('Verify').click();
});
cy.wait(5000)
}
Error I am getting:
Beta Was this translation helpful? Give feedback.
All reactions