I'm a beginner with cypress. I create a small test that login into the printer's web page.
it('should install Ricoch agent ', function () {
cy.visit(address)
cy.get('frameset')
cy.frameLoaded('frame[title="Header Area"]')
cy.iframe('frame[title="Header Area"]')
.find('span')
.contains('Login')
.wait(10000)
.click({force: true})
.wait(10000);
})
Test correctly visit web app, get frameset, load frame, and find span, but when I want to click "Login" button the test shuts down, and it says that there is no test.
img:
1.There is no test
2.Code of the tested
3.Last correct operation
"dependencies": {
"cypress": "9.6.1",
"cypress-iframe": "^1.0.1"
},