0

describe('open popup', ()=>{

it('click minimize button',()=>{
    cy.visit('url')

    cy.get('minimized-button').click()   //it is minimize tab click
   
    var iframesrc=cy.get('#modal-iframe').invoke('attr','src')
    cy.get('email').type('jhdsj@gamil.com')      //here I want it block 
                                                  for confirmation of 
                                                   entering email

}) })

when I am trying to enter in Iframe,not able to locate any element even i use wrap also...what i want is entering in loop then want step by step it block with testcase name that confirm in terminal that which step is passed in popup and which one is fail.

  • Your question seems to be not clear. Please try to clarify more on what you are trying to achieve. Use the `Edit` button and add more details to the question. – Alapan Das Mar 08 '22 at 10:46
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Mar 08 '22 at 12:23
  • What I got is, You need to loop the test with the entered values ​​and the test case name should include the values, Is it? – Niluka Monnankulama Mar 08 '22 at 12:54

0 Answers0