Eik/UI features account div1 #164
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 8s
Skip SonarCloud in merge queue
0s
Annotations
21 errors
Element Web Integration Tests
Process completed with exit code 1.
|
<LoginWithQR /> › no homeserver support:
src/components/views/auth/LoginWithQR.tsx#L173
TypeError: Cannot read properties of undefined (reading 'HomeserverLacksSupport')
at LoginWithQR.HomeserverLacksSupport [as generateCode] (src/components/views/auth/LoginWithQR.tsx:173:88)
at LoginWithQR.updateMode (src/components/views/auth/LoginWithQR.tsx:88:13)
|
<LoginWithQR /> › no homeserver support:
test/components/views/settings/devices/LoginWithQR-test.tsx#L114
TypeError: Cannot read properties of undefined (reading 'HomeserverLacksSupport')
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div />
</div>
</body>
</html>
at HomeserverLacksSupport (test/components/views/settings/devices/LoginWithQR-test.tsx:114:56)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77)
at checkRealTimersCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
<LoginWithQR /> › failed to connect:
src/components/views/auth/LoginWithQR.tsx#L184
TypeError: Cannot read properties of undefined (reading 'Unknown')
at LoginWithQR.Unknown [as generateCode] (src/components/views/auth/LoginWithQR.tsx:184:92)
at LoginWithQR.updateMode (src/components/views/auth/LoginWithQR.tsx:88:13)
|
<LoginWithQR /> › failed to connect:
test/components/views/settings/devices/LoginWithQR-test.tsx#L128
TypeError: Cannot read properties of undefined (reading 'Unknown')
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div />
</div>
</body>
</html>
at Unknown (test/components/views/settings/devices/LoginWithQR-test.tsx:128:56)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77)
at checkRealTimersCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
<LoginWithQR /> › failed to connect:
src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66)
at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5)
at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11)
at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7)
at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5)
at node_modules/react-dom/cjs/react-dom.development.js:26147:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5)
at node_modules/@testing-library/react/dist/pure.js:144:23
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26)
at Set.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21)
at Object.<anonymous> (test/components/views/
|
<LoginWithQR /> › render QR then cancel and try again:
src/components/views/auth/LoginWithQR.tsx#L205
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at UserCancelled (src/components/views/auth/LoginWithQR.tsx:205:77)
at Object.onClick (test/components/views/settings/devices/LoginWithQR-test.tsx:161:15)
|
<LoginWithQR /> › render QR then cancel and try again:
src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66)
at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5)
at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11)
at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7)
at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5)
at node_modules/react-dom/cjs/react-dom.development.js:26147:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5)
at node_modules/@testing-library/react/dist/pure.js:144:23
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26)
at Set.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21)
at Object.<anonymous> (test/components/views/
|
<LoginWithQR /> › render QR then back:
src/components/views/auth/LoginWithQR.tsx#L222
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at UserCancelled (src/components/views/auth/LoginWithQR.tsx:222:77)
at Object.onClick (test/components/views/settings/devices/LoginWithQR-test.tsx:206:15)
|
<LoginWithQR /> › render QR then back:
src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66)
at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5)
at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11)
at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7)
at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5)
at node_modules/react-dom/cjs/react-dom.development.js:26147:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5)
at node_modules/@testing-library/react/dist/pure.js:144:23
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26)
at Set.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21)
at Object.<anonymous> (test/components/views/
|
<LoginWithQR /> › approve - no crypto:
src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled')
at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66)
at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5)
at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11)
at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7)
at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5)
at node_modules/react-dom/cjs/react-dom.development.js:26147:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5)
at node_modules/@testing-library/react/dist/pure.js:144:23
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26)
at Set.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21)
at Object.<anonymous> (test/components/views/
|
AutoDiscoveryUtils › buildValidatedConfigFromDiscovery() › handles homeserver too old error:
test/utils/AutoDiscoveryUtils-test.tsx#L228
expect(received).rejects.toThrow(expected)
Expected substring: "Your homeserver is too old and does not support the minimum API version required. Please contact your server owner, or upgrade your server."
Received message: "Unexpected error resolving homeserver configuration"
274 | });
275 | }
> 276 | throw new UserFriendlyError("auth|autodiscovery_unexpected_error_hs");
| ^
277 | } // else the error is not related to syntax - continue anyways.
278 | }
279 |
at Function.buildValidatedConfigFromDiscovery (src/utils/AutoDiscoveryUtils.tsx:276:23)
at buildValidatedConfigFromDiscovery (test/utils/AutoDiscoveryUtils-test.tsx:227:36)
at Object.toThrow (node_modules/expect/build/index.js:202:58)
at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23)
at Object.toThrow (node_modules/expect/build/index.js:218:22)
at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23)
|
NotificationBadge › shows a dot if the level is activity:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:37:37)
|
NotificationBadge › still shows an empty badge if hideIfDot us true:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:53:37)
|
NotificationBadge › StatelessNotificationBadge › lets you click it:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:62:41)
|
<TooltipTarget /> › displays Natural aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Natural aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; left: 6px; top: 0px; transform: translateY(-50%);"
+ style="display: block; left: 0px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Left aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Left aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; right: 1030px; top: 0px; transform: translateY(-50%);"
+ style="display: block; right: 1024px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Right aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Right aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; left: 6px; top: 0px; transform: translateY(-50%);"
+ style="display: block; left: 0px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Top aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Top aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: -6px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))), -100%);"
+ style="display: block; top: -16px; left: 0px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Bottom aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Bottom aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: 6px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))));"
+ style="display: block; top: 0px; left: 0px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays InnerBottom aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays InnerBottom aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: -50px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))));"
+ style="display: block;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|