ProdPerfect / prodperfect-keen-tracking.js

Keen IO Streams SDK - record events from anywhere in your stack
https://keen.io/products/streams/
MIT License
3 stars 4 forks source link

IE Edge Throws [Object object] Error #28

Open pevner-p2 opened 5 years ago

pevner-p2 commented 5 years ago

Browser Video: BrowserStack Recording BrowserStack Report: Here

Running on Browser Stack’s Edge 18.17763.0 / Windows 10.0.0 browser results in:

Uncaught object "[object Object]" was thrown. Throw Error instead.

BrowserStack’s recording shows the test runner timming out “waiting for element to appear.”

Steps to Reproduce

  1. Clone prodperfect-keen-tracking.js repo, npm install --save-dev
  2. export BROWSERSTACK_USERNAME= export BROWSERSTACK_ACCESS_KEY= Both from the browserstack settings tab of their app
  3. Run node_modules/.bin/testcafe 'browserstack:edge:Windows 10' test/testcafe/regression-tests.js from root of prodperfect keen tracking repository
  4. See error in console output

screenshot

Expected: This test passes without complaint, just like all the other browsers. The actions performed by testcafe should be seen performed in the video.

Actual: testcafe times out waiting for an element to appear. On timeout, the above error is thrown.

Other Notes: Windows / Edge is the only browser that has this issue. Actually throwing an [Object object] is likely just an indication that testcafe is not driving the browser correctly and instead seeing timeouts. I suspect Edge would complain about a thrown [Object object] no matter what caused the timeout.

pevner-p2 commented 5 years ago

@willscripted Here's your issue.