Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update widget tile if the url should change #24934

Update widget tile if the url should change

Update widget tile if the url should change #24934

Triggered via pull request March 27, 2024 18:22
Status Failure
Total duration 6m 26s
Artifacts 1

tests.yml

on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 14s
Element Web Integration Tests
Skip SonarCloud in merge queue
0s
Skip SonarCloud in merge queue
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 13 warnings
AppTile › for a pinned widget › should render permission request: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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/elements/AppTile-test.tsx:411:40)
CallView › with an existing call › calls clean on mount: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:107:19)
CallView › with an existing call › automatically connects to the call when skipLobby is true: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:157:19)
CallView › without an existing call › creates and connects to a new call when the join button is pressed: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:165:19)
Jest (1)
Process completed with exit code 1.
RETRY 1: <Notifications /> › clear all notifications › clears all notifications: test/components/views/settings/Notifications-test.tsx#L910
expect(jest.fn()).toHaveBeenCalled() Expected number of calls: >= 1 Received number of calls: 0 at Object.toHaveBeenCalled (test/components/views/settings/Notifications-test.tsx:910:48)
RETRY 1: ForwardDialog › should be navigable using arrow keys: test/components/views/dialogs/ForwardDialog-test.tsx#L154
expect(received).toHaveClass() received value must be an HTMLElement or an SVGElement. Received has value: undefined Ignored nodes: comments, script, style <html> <head /> <body> <div> <div data-focus-guard="true" style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;" tabindex="0" /> <div aria-describedby="mx_ForwardList" aria-labelledby="mx_BaseDialog_title" class="mx_ForwardDialog" data-focus-lock-disabled="false" role="dialog" > <div class="mx_Dialog_header" > <h1 class="mx_Heading_h3 mx_Dialog_title" id="mx_BaseDialog_title" > Forward message </h1> </div> <div aria-label="Close dialog" class="mx_AccessibleButton mx_Dialog_cancelButton" role="button" tabindex="0" /> <h3> Message preview </h3> <div class="mx_ForwardDialog_preview" > <div aria-atomic="true" aria-live="off" class="mx_EventTile" data-event-id="$9999999999999999999999999999999999999999999" data-has-reply="false" data-layout="group" data-scroll-tokens="$9999999999999999999999999999999999999999999" data-self="true" tabindex="-1" > <div class="mx_DisambiguatedProfile" > <span class="mx_Username_color4 mx_DisambiguatedProfile_displayName" dir="auto" > Alice </span> </div> <div class="mx_EventTile_avatar" > <span class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61" data-color="4" data-testid="avatar-img" data-type="round" role="presentation" style="--cpd-avatar-size: 30px;" title="@bob:example.org" > A </span> </div> <div class="mx_EventTile_line" > <a aria-label="00:00" href="https://matrix.to/#/!111111111111111111:example.org/$9999999999999999999999999999999999999999999" /> <div class="mx_MTextBody mx_EventTile_content" > <span class="mx_EventTile_body" dir="auto" > Hello world! </span> </div> <div aria-label="Message Actions" aria-live="off" class="mx_MessageActionBar" role="toolbar" > <div aria-label="Edit" class="mx_AccessibleButton mx_MessageActionBar_iconButton" role="button" tabindex="0" > <div /> </div> <div aria-expanded="false" aria-haspopup="true" aria-label="Options" class="mx_AccessibleButton mx_MessageActionBar_iconButton mx_MessageActionBar_optionsButton" role="button" tabindex="-1" > <div /> </div> </div> </div> </div> </div> <hr /> <div class="mx_ForwardList" id="mx_ForwardList" > <div class="mx_SearchBox mx_textinput" > <input aria-activedescendant="mx_ForwardDialog_entry_a" aria-owns="mx_ForwardDialog_resultsList" autocomplete="off" class="mx_textinput_icon mx_textinput
RETRY 1: MLocationBody › <MLocationBody> › with error › displays correct fallback content without error style when map_style_url is not configured: test/components/views/messages/MLocationBody-test.tsx#L95
expect(received).toMatchSnapshot() Snapshot name: `MLocationBody <MLocationBody> with error displays correct fallback content without error style when map_style_url is not configured 1` Snapshot: <div class="mx_EventTile_body mx_MLocationBody" > <span class="" > Unable to load map: This homeserver is not configured to display maps. </span> <br /> Shared a location: Found at geo:51.5076,-0.1276 at 2021-12-21T12:22+0000 </div> Received: null at Object.toMatchSnapshot (test/components/views/messages/MLocationBody-test.tsx:95:81)
RETRY 1: AppTile › for a pinned widget › should render permission request: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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/elements/AppTile-test.tsx:411:40)
RETRY 2: AppTile › for a pinned widget › should render permission request: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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/elements/AppTile-test.tsx:411:40)
RETRY 1: <BeaconViewDialog /> › renders a map with markers: test/components/views/beacon/BeaconViewDialog-test.tsx#L108
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"_events": {"error": [Function anonymous]}, "_eventsCount": 1, "_maxListeners": undefined, "addControl": [Function mockConstructor], "fitBounds": [Function mockConstructor], "removeControl": [Function mockConstructor], "setCenter": [Function mockConstructor], "setStyle": [Function mockConstructor], "zoomIn": [Function mockConstructor], "zoomOut": [Function mockConstructor], Symbol(kCapture): false} Number of calls: 0 at Object.toHaveBeenCalledWith (test/components/views/beacon/BeaconViewDialog-test.tsx:108:34)
RETRY 1: CallView › with an existing call › calls clean on mount: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:107:19)
RETRY 2: CallView › with an existing call › calls clean on mount: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:107:19)
RETRY 1: CallView › with an existing call › automatically connects to the call when skipLobby is true: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:157:19)
RETRY 2: CallView › with an existing call › automatically connects to the call when skipLobby is true: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:157:19)
RETRY 1: CallView › without an existing call › creates and connects to a new call when the join button is pressed: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 node_modules/react-dom/cjs/react-dom.development.js:11327:26 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 flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9) at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3) at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23620:3) 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 flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14) at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9) at render (node_modules/@testing-library/react/dist/pure.js:97:26) at renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:165:19)
RETRY 2: CallView › without an existing call › creates and connects to a new call when the join button is pressed: src/utils/UrlUtils.ts#L55
TypeError: Cannot read properties of undefined (reading 'includes') at includes (src/utils/UrlUtils.ts:55:12) at AppPermission.parseWidgetUrl (src/components/views/elements/AppPermission.tsx:72:35) at new parseWidgetUrl (src/components/views/elements/AppPermission.tsx:57:30) at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12716:18) at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17425:5) at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19073: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 renderView (test/components/views/voip/CallView-test.tsx:77:15) at Object.renderView (test/components/views/voip/CallView-test.tsx:165:19)
RETRY 1: MessageComposerButtons › Renders other buttons in menu in wide mode: test/components/views/rooms/MessageComposerButtons-test.tsx#L97
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 0 @@ -4,8 +4,7 @@ "More options", Array [ "Sticker", "Voice Message", "Poll", - "Location", ], ] at Object.toEqual (test/components/views/rooms/MessageComposerButtons-test.tsx:97:35)

Artifacts

Produced during runtime
Name Size
coverage-2 Expired
393 KB