Zombie doesn't get changes from other scripts

meyerlavender

New Member
I'm trying to check if any of my jasmine tests failed when I run then in a zombie browser. I'm checking for any elements with the class 'failed', but don't find any even though there are failing tests. Guard-Jasmine sees the failing test. If I print out browser.html(), I can see that the page has an empty body tag. The page starts with an empty body, but Jasmine adds stuff to it for the tests. Printing out browser.errors doesn't show anything. The status code is 200 and I can test for other parts of the page and get those to pass or fail properly. I tried using a huge wait and manually firing the load event on browser.document, but neither worked. Why isn't zombie picking up the changes to the page?P.S. I'm testing the jasmine page just to try out a couple headless js frameworks and since I already had the page working, I thought I would use it again.
 
Top