I'm new to this group and Jasmine. Thanks for creating Jasmine,
working with it is a real pleasure.
I'm trying to use Jasmine with PhantomJS, and I'm facing a problem. My
test passes when run in the browser (FF and Chromium), but fails when
run in PhantomJS. With PhantomJS I get the following message:
"Expected '600px' to equal '600px'.", which is... weird.
I've been trying to understand what's going on. I've figured that the
problem may be related to the way the matchersClass is defined in the
Env constructor. If I do this.matchersClass = jasmine.Matchers,
instead of having this.matchersClass inherit from jasmine.Matchers my
test passes in PhantomJS. See [*].
Any idea about what may cause this behavior? And also, anyone knows
why this.matchersClass needs to be a subclass of jasmine.Matchers, the
reason isn't obvious to me.
Thank you!
[*] <https://github.com/elemoine/jasmine/commit/760a61a65f34921f1a1e9742cef75704ab53355b>
--
Eric
Yes, Airya mentioned some Qt/Qt-Webkit 4.6 bug to me. But this is still unclear.
--
Eric