Tests in module theodul-core are often failing.
For more details, see attached build logs.
I can't reproduce it on my machines, compiling fine without errors.
It has something to do with require.js:
[ERROR] java.lang.RuntimeException: org.openqa.selenium.TimeoutException: Timed out after 300 seconds waiting for com.github.searls.jasmine.runner.SpecRunnerExecutor$1@689dd599
But as I said, I can't reproduce this error...
To me, the error shows up when I build the whole project, and not only the theodul-core module. When I cd into the theodul-core folder and run the build from there, it (generally) runs without errors.
FWIW: the tests consistently fails for me (i.e. page.onError) at requires.js line #1696 " (anonymous function) http://localhost...require.js:1696)"
i.e. return onError(makeError('scripterror', 'Script error for: ' + data.id, evt, [data.id]));
How can I get the Jasmine test to output the data from that line to the system console?
That data.id just appears to be the name of the view, i.e.
page.onError - msg: Error: Script error for: engage/core
page.onError - msg: Error: Script error for: engage/views/mobile
page.onError - msg: Error: Script error for: engage/models/engage
page.onError - msg: Error: Script error for: engage/views/desktop
page.onError - msg: Error: Script error for: engage/views/embed
I also noticed that the above errors do not come in the same order each time. The testing load order is not consistent which might be why the failure is inconsistent.