Tuesday, 15 March 2011

continuous integration - TypeError: null is not an object (evaluating 'document.body.querySelector('.alert > .bar.passed').innerText') -


For some reasons, I am doing an intermittent failure (or at least running reports) to run my test tests. Error Run-Jasmine Is contained in JS and the error itself appears in the form of

  `typeError: zero is not an object (evaluation 'document.body.query selector (' .warning & gt; pass' ). Internal text ') phantomjs: //webpage.evaluate (): 58 phantomjs: //webpage.evaluate (): 61`  

I used TeamCity 8.1.3 (build 30101) Jasmine 2.2.0 and Phatcom 2.0.0 Make step command parameter

  - web-security = no-hell-to-remote- url-access = yes --ignore -ssl-errors = yes jasmine / run-Jasmine Js specs / specsRunner .html  

I have tried to downgrade Jasmine and Phatom, but have not made any changes. I have different run-Jasmine. JS scripts have tried, but there is no benefit. Does anyone have the same problem?

Everything was fine till a few days ago and now it is 90% of the time.

Thanks in advance.

I got a job, got a new run- jasmine.js script.

I tried this script, but there was a problem with expiration, so I went away but now I want to say 'default max timeout' in script Increased by 60 seconds, it seems that the move is fine.


No comments:

Post a Comment