https://cypress.io logo
Hello Everyone, I am quite new to cypress, our te...
# e2e-testing
c
Hello Everyone, I am quite new to cypress, our team has a framework ready with react, ts and cypress e2e. I am not able to click on dialog box which appears intermittently. Please find below code which we are trying to execute:-
Copy code
cy.doEmailLogin(Cypress.env('userNameEmail'), Cypress.env('passwordEmail'));
cy.wait(10000);
            
cy.get("#secondaryButton").then((el) => {            #Failing at this step
     el.trigger('click')
    });

cy.get('[data-action=openMenu]').click({ force: true });
cy.get('[data-section=signed-in-user]').should('be.exist');
Please find attached page DOM screenshots:-