Open FarazQualitest21 opened 10 months ago
@FarazQualitest21 Do you happen to have modifyObstructiveCode
set to false
in your cypress.config.js file? If this is set to true
, I believe this should work.
Hi @jennifer-shehane thanks for your reply even though i am setting it false it is still not working Please have a look at this video this is what exactly happening
https://github.com/cypress-io/cypress/assets/152856590/25b0005b-a549-42ef-aa80-9f518de8d3f9
And it will stuck here only
Yah this is a super weird issue. For many, many, many different reasons now we have had trouble testing Salesforce sites. They do a lot of strange things behind the scenes that are unconventional from other websites. This looks like a bug.
Is there any way around to test like API login if yes can you please suggest me how can i do it? @jennifer-shehane
@FarazQualitest21 I don't have anything specific to point to, but there may be some resources out there.
Do we know when this can be fixed @jennifer-shehane
I saw the same issue for Saleforce Lightning, a temporary solution was adding experimentalModifyObstructiveThirdPartyCode: true to cypress e2e config
do we have any solution?
Current behavior
I am trying to hit my salesforce ui lightning version but i am facing that cypress is stuck with 'your tests are loading', Though same scripts are working for classic version
Desired behavior
No response
Test code to reproduce
sandboxhomepage: 'https://unilever--cgdev.sandbox.my.salesforce.com/',
cy.visit('sandboxhomepage')
Cypress Version
13.6.1
Node version
18.14.0
Operating System
macOS sonoma(14.2)
Debug Logs
No response
Other
No response