Hello,
I'm having trouble logging into SalesForce using cypress. I put user and password and when I click to enter the left side of the execution just loading and it doesn't go ahead. Follow images
Code:
context('SalesForce Login', () => {
it('Login', () => {
cy.visit('https://duratexcrm--qa.sandbox.my.salesforce.com/')
cy.get('#username')
.type(Cypress.env('username'))
cy.get('#password')
.type(Cypress.env('password'), { log: false })
cy.get('#Login').click()
cy.get("//button[@aria-label='Pesquisar']").should('be.visible')
});
});
Thanks!
https://cdn.discordapp.com/attachments/1111282230610899054/1111282230912884746/Screenshot_2023-05-25_101454.png▾
https://cdn.discordapp.com/attachments/1111282230610899054/1111282231219077120/Screenshot_2023-05-25_101430.png▾