ZombieJS and CORS
See original GitHub issueSo I solved my other issue, it was down to watermarks seemingly causing issues with ZombieJs fills, so the validation was failing so the request was never sent.
Now that the request is sent I get the error statusText: 'No Transport'
, so after googling it seems like it could be down to jquery ajax and CORS.
Now I notice in #521 that you have added support for CORS, so I am wondering if I need to do some IE style quirk handling in my code to handle ZombieJS. I currently do:
if (navigator.appName == "Microsoft Internet Explorer")
{ jQuery.support.cors = true; }
To allow version of IE to work with CORS and Jquery, so is there anything I need to do to allow ZombieJS to work with it? as I could not find any info on it from searching.
Issue Analytics
- State:
- Created 9 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
jquery CORS based ajax request fails with zombiejs #1881
I have already posted an issue around this on the zombie boards: assaf/zombie#805 When using regular xhr (granted its not cross browser etc) ......
Read more >zombie-cors - npm Package Health Analysis - Snyk
Zombie.js is a lightweight framework for testing client-side JavaScript code in a simulated environment. No browser required.
Read more >zombie.js-triggered AJAX requests don't complete
I'm trying to write unit tests with Zombie.js. My problem is that AJAX requests aren't finishing when initiated using browser.evaluate ...
Read more >zombie | Yarn - Package Manager
Zombie.js is a lightweight framework for testing client-side JavaScript code in a simulated environment. No browser required.
Read more >Quality Assurance and Testing with Chai - Run Functional ...
site = 'https://plum-stupendous-drive.glitch.me'; suite("Functional Tests with Zombie.js", function() { const browser = new Browser( //{ ...
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
Try this if you don’t want jQuery.
Hi guys, I’m just testing zombie.js, with mapbox.js as well and have the same issue. Did you find any workaround for this ? thanks