Get help with testing, discuss unit testing strategies etc.


Post by carina »

Hi,

just a minor question: when running tests with the included phantomjs runner I get an output like this:
> fail 1 - Waiting for component query "someComponent"
> fail 4 - Waiting for component query "anotherComponent"
> fail 8 - Waiting for selector ".msg-nonblocking" to appear
> fail 9 - Waiting for condition to be fullfilled
> fail 13 - Waiting for component query: someComponent to return a visible component
> fail 14 - Waiting for condition to be fullfilled
> [PASS] frontend/test/siesta/test/integration/view/edit_title_of_some_component.t.js
Is this normal output for waitFor statements? If I change my test code to fail, I get an output about the failed assertion. And when running the test in the browser, it passes. The "fail" is printed in red so it doesn't look very calming ;)

We're using 1.1.0-beta1.

(Btw: I tried to post in the Premium forum to which I should have access but I don't see a "new topic" button there).


Thanks!
Carina

Post by mats »

The waitFor fail msg bug is already fixed afaik. About premium access, did you send an email to us to confirm your forum account user names? Awesome that you bought a license, appreciate the support :)

Post by carina »

That's good to hear, we'll just wait for the next release then. And I'll check with our office about the confirmation email...
Awesome that you bought a license, appreciate the support
I try like to support anyone who builds tools that make my life easier :)

Post by mats »

:), your account is now activated for the Premium forums!

Post Reply