Pages from CodeSandbox urls are blank on `cy.visit()`
See original GitHub issueCurrent behavior:
I’m trying to naviage to an app using cy.visit. The app url is *use any csb test app/. However cy.visit loads the page as a blank white page.
Desired behavior:
The page should actually load and display items.
Test code to reproduce
describe('random test',function(){
it('Logins in to sandbox',function(){
cy.visit("https://ky998.csb.app/")
})
})
Versions
Cypress 5 , MacOS and Windows, Google Chrome, Electron and Firefox
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
cypress-io/cypress - Gitter
I'm trying to run tests with localhost:3030 url and it is showing a blank page, I've tried even with cy.visit('https://www.google.com') to see if...
Read more >URLSearchParams example - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
Read more >Visit The Blank Page Between Cypress Tests - Gleb Bahmutov
This could be confusing if the next test does not immediately start with cy.visit. For example, the JavaScript call.
Read more >The `.gitlab-ci.yml` file - GitLab Docs
GitLab CI/CD not only executes the jobs but also shows you what's happening during execution, just as you would see in your terminal:....
Read more >cypress fix this problem, or use {force: true} to disable error ...
CypressError: cy.check() failed because this element is not visible: ... We get this error on multiple pages, and we can see that we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Heads up, the following code sandbox url works fine in cypress
‘https://ti2os.csb.app?standalone’
Note the use of
?standalone
on the preview URL from the codesandbox.Cypress will load the sandbox url (e.g. https://codesandbox.io/s/goodbye-daft-punk-ti2os?from-embed), even the sandbox embed URL (https://codesandbox.io/embed/goodbye-daft-punk-ti2os), but it won’t load the preview URL for a sandbox (e.g. https://ti2os.csb.app/). I’ve asked codesandbox.io support if they have any thoughts.