Launching Google Sign in/Git Hub through https://cloud.cypress.io/login #28202
Unanswered
Chaithra-SSI
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
I am unable to work on Google Gmail Sign in/Git Hub Sign in after launching the "https://cloud.cypress.io/login".
I need to work in Gmail and Git Hub by visiting it through the "https://cloud.cypress.io/login".
Test Script is below.
it("Visits Cypress.io and Click Login with Git Hub", () => {
// Visit the Cypress.io website
cy.visit("https://cloud.cypress.io/login");
cy.wait(5000)
cy.xpath("//body/div[@id='app']/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/form[1]/div[2]/button[1]/span[2]").click({ force: true })
// Locate and click the "Login with GitHub" button
cy.origin('https://github.com/login',()=>
{
cy.get('#login_field').type("Your Git ID")
cy.get('#password').type("Your Password")
cy.get('[value="Sign in"]').click({force:true})
})
});
Could anyone from the team help me out?
Beta Was this translation helpful? Give feedback.
All reactions