exception: Whoops, there is no test to run when setting `window.top.location`
See original GitHub issuewhen run visit https://weex.kaola.com/activity/pages/cosmetic.html?spm=a2v0d.b27995055.icon.1, it’s crash, Whoops, there is no test to run.
case:
cy.viewport(1024, 768);
cy.visit('https://m.kaola.com/');
cy.wait(1000);
cy.get('div.closeBtn').click();
cy.wait(1000);
cy.get('a:nth-child(1) > img.icon').click();
cy.visit('https://weex.kaola.com/activity/pages/cosmetic.html?spm=a2v0d.b27995055.icon.1');
Current behavior:
Desired behavior:
Test code to reproduce
Versions
cypress: 4.10.0 system: mac browser: chrome 83
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Error Messages | Cypress Documentation
Test File Errors No tests found This message means that Cypress was unable to find tests in the specified file. You'll likely get...
Read more >Problems trying to running Symfony 2.0.14: "Whoops, looks ...
I am using Symfony 2.0.15 on Windows 7 running PHP 5.4.2 (later upgraded to 5.4.4) and encountered the same problem with same error...
Read more >Stop frames from allowing themselves to navigate top without ...
navigate top if the top-level page doesn't have any sandbox flags set. ... one place, so there's no way to know if the...
Read more >PHP: The Right Way
With PHP 5.4 or newer, you can start learning PHP without installing and ... if you develop code locally and then test it...
Read more >Error handling, "try...catch" - The Modern JavaScript Tutorial
If there were no errors, then catch (err) is ignored: the execution ... The JavaScript engine first reads the code, and then runs...
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 Free
Top 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
@jennifer-shehane : Any updates on this issue? This is a real blocker for us as asking an application code change for it to run on a certain tool isnt the best possible practice. Any updates on when this might become available would be great.
@mylearning1005 You’d have to change the application code so that it no longer references
window.top
, so that it can be correctly run within an iframe.