Hammerhead error when clicking button that opens another page
Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When clicking button that opens another page I'm getting Uncaught Error: Cannot call method 'split' of undefined [http://192.168.0.24:5194/hammerhead.js line: 1 column: 28104]. This happens randomly and makes the test to fail.
What is the expected behavior?
Page is loaded correctly.
How would you reproduce the current behavior (if this is a bug)?
This happens randomly, when clicking a button that redirects to other page
Specify your
- operating system: MacOs Sierra 10.12.6
- testcafe version: 0.18.1
- node.js version: v8.1.2
Hi @pablorivera,
Could you please us with the full error callstack? To find it you can run your tests with --debug-on-fail flag and opened browser's developer tools. The error should be appeared in the browser's console.
Sure @AlexanderMoskovkin ! Here it is
POST http://192.168.0.24:61016/SJCY1diaZ/https://develop-i.quid.com/api/autocomplete 500 (Internal Server Error)
I had already opened a ticket for this https://github.com/DevExpress/testcafe/issues/1802
GET http://192.168.0.24:61016/SJCY1diaZ/https://develop-i.quid.com/api/networks/200822 500 (Internal Server Error)
I had already opened a ticket for this https://github.com/DevExpress/testcafe/issues/1802
Uncaught Error: Cannot call method 'split' of undefined
at Function.t._error (hammerhead.js:1)
at value (hammerhead.js:1)
at F (livechatinit2.js:3)
at G (livechatinit2.js:3)
at H (livechatinit2.js:3)
at A (livechatinit2.js:3)
at a.bugsnag (bugsnag-3.min.js:2)
at bugsnag-3.min.js:2
Please let me know if you need something else. Thanks!
Hi @pablorivera .
Console error, you provided, is a consequence of the problem.
The cause of the problem - request to https://develop-i.quid.com/api/autocomplete finished with 500 http status code.
It is difficult to understand why it is happen without direct access to the your application.
Could we do a remote session with you using Skype, TeamViewer or something else?
Or we need to example which we can run on our side.
I'm closing this since there were no activity here for a long time. Feel free to reopen the issue if it's still needed. Also, you can try to run your tests on the latest TestCafe version.