lotte icon indicating copy to clipboard operation
lotte copied to clipboard

PHANTOMJS_VERSION = '<2.0.0'

Open itpmngt opened this issue 9 years ago • 3 comments

Lotte is expecting PhantomJS to be above 2.0.0 but PhantomJS is at =2.0.0 instead of <2.0.0

line 3 const PHANTOMJS_VERSION = '<2.0.0'

itpmngt avatar May 24 '15 11:05 itpmngt

Hey,

Thanks for reporting this. I haven't tested against PhantomJS 2.0.0. What happens if you update the line to >= 2.0.0, does that work for you?

StanAngeloff avatar May 25 '15 11:05 StanAngeloff

Yes, that was my fix.

BTW, is it imperative to use 2.0.0? I am asking because other frameworks (casper.js) use below 2.0.0 so for me it needs to replace phantomjs to switch between both

itpmngt avatar May 25 '15 11:05 itpmngt

If your tests work on PhantomJS 2.x then that means Lotte is compatible with that version of PhantomJS. I haven't personally tested with anything above 1.9, however it appears from what you are saying that tests run and complete successfully on 2.x?

EDIT: You can also use --no-verify on the command line to skip PhantomJS version checks.

StanAngeloff avatar May 25 '15 13:05 StanAngeloff