i have migrated ember 3.16 to 3.24
I struck on ember test error. But the app works fine
Chrome 88.0 - [17 ms] - Unit | Service | preferences: it exists
---
actual: >
null
stack: >
TypeError: Cannot read property 'tagName' of undefined
at Class.setup (https://localhost:4221/assets/vendor.js:41026:134)
at Class.setupEventDispatcher (https://localhost:4221/assets/vendor.js:42523:18)
at Class._bootSync (https://localhost:4221/assets/vendor.js:42447:14)
at https://localhost:4221/assets/vendor.js:45731:77
at initializePromise (https://localhost:4221/assets/vendor.js:74537:7)
at new Promise (https://localhost:4221/assets/vendor.js:75038:35)
at Class.boot (https://localhost:4221/assets/vendor.js:45731:27)
at https://localhost:4221/assets/test-support.js:3656:65
at invokeCallback (https://localhost:4221/assets/vendor.js:74510:17)
at https://localhost:4221/assets/vendor.js:74575:26
message: >
Promise rejected before "it exists": Cannot read property 'tagName' of undefined
negative: >
false
browser log:
I think the thing to look into is what is going on at that line in your vendor.js. From the stack trace it looks like an error during the event dispatchers setup method, but throwing a breakpoint there and figuring out why it is attempting to access tagName property will tell you what is going on.