defunctzombie / zuul

[UNMAINTAINED] multi-framework javascript browser testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

current_test is undefined when test fails

alekseykulikov opened this issue · comments

This is a test, that caused this output: https://saucelabs.com/tests/071c92de092d4477bad44927c434272a

- testing: android @ Linux: 4.0 5.0
- queuing: <android 5.0 on Linux>
- queuing: <android 4.0 on Linux>
- starting: <android 4.0 on Linux>
- starting: <android 5.0 on Linux>

/Users/aleksey/.nvm/versions/node/v5.0.0/lib/node_modules/zuul/bin/zuul:284
                console.log('%s %s'.red, name, current_test.name);
                                                           ^

TypeError: Cannot read property 'name' of undefined
    at EventEmitter.<anonymous> (/Users/aleksey/.nvm/versions/node/v5.0.0/lib/node_modules/zuul/bin/zuul:284:60)
    at emitOne (events.js:77:13)

It seems, there's assertion event fires before test.

done as 3.7.3