Bug
The browser get's redirected to a blank page
Should visit the salesforce login page
Run salesforce_spec.js
This was actually fixed in 2.0.0.
Logging into Salesforce works now.
Hi!, sorry to bother you, i was looking for automate a SalesForce page with cypress but i im getting the same issue about the login in sf, i have the last version (3.3.0 i think) i was wondering if you were able to fix the login with salesforce
This issue as described above is working in Cypress version 3.1.0 - with this being the test case:
describe("Salesforce", function() {
it("opens the login page", function() {
cy.visit("https://login.salesforce.com/");
});
});
@AlanGDC I would suggest opening a new issue and giving a reproducible example of the issue you are having.
@jennifer-shehane After entering the login credentials and hit submit the "Whoops, there is no test to run" message is displayed.
Here is my code:
describe("Salesforce", function() {
it("opens the login page", function() {
cy.visit("https://login.salesforce.com/");
});
it("Log in to Salesforce", function() {
cy.get("#username").type("[email protected]")
cy.get("#password").type("xxxxxxxxx")
cy.get("#Login").click()
})
});
What am I doing wrong? I really need help with this. Thanks.
Hey @simonmagabe can you open a new issue for this - as this results in a different error message than this issue. I am indeed able to reproduce this issue, so it looks like a bug.
To those redirected here, this might be a viable solution:
https://github.com/cypress-io/cypress/issues/2367#issuecomment-584058927