https://cypress.io logo
I don't have an answer for your very strange issue...
# help
l
I don't have an answer for your very strange issue, but I do have some pointers for your syntax.
cy.
commands are enqueued and run in sequence, so you don't need to use
.then()
unless you want to incorporate the previous command's yield with standard JavaScript. So your test could be re-written as follows:
Copy code
js
import 'cypress-iframe';

describe('Install', () => {
it('should install Ricoch agent ',  function () {
  cy.visit("10.2.4.56")
  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);
  })
})
2 Views