Skip to content

v3.99.0

v3.99.0 #20

Triggered via push May 9, 2024 15:02
Status Success
Total duration 7m 31s
Artifacts 2

tests.yml

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

Annotations

8 warnings
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" data-state="closed" 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"
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: message › sendMessage › calls client.sendMessage with › a null argument if SendMessageParams is missing relation: test/components/views/rooms/wysiwyg_composer/utils/message-test.ts#L103
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (test/components/views/rooms/wysiwyg_composer/utils/message-test.ts:103:13) at describe (test/components/views/rooms/wysiwyg_composer/utils/message-test.ts:102:9) at describe (test/components/views/rooms/wysiwyg_composer/utils/message-test.ts:76:5) at Object.describe (test/components/views/rooms/wysiwyg_composer/utils/message-test.ts:34:1)
RETRY 1: <BeaconViewDialog /> › renders a map with markers: test/components/views/beacon/BeaconViewDialog-test.tsx#L106
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:106:34)
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)
RETRY 1: <BeaconMarker /> › renders marker when beacon has location: test/components/views/beacon/BeaconMarker-test.tsx#L120
TestingLibraryElementError: Unable to find an element by: [data-testid="avatar-img"] Ignored nodes: comments, script, style <body> <div> <div class="mx_Spinner" > <div aria-label="Loading…" class="mx_Spinner_icon" data-testid="spinner" role="progressbar" style="width: 32px; height: 32px;" /> </div> </div> </body> at Object.getElementError (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByTestId (test/components/views/beacon/BeaconMarker-test.tsx:120:23)
RETRY 2: <BeaconMarker /> › renders marker when beacon has location: test/components/views/beacon/BeaconMarker-test.tsx#L119
expect(received).toMatchSnapshot() Snapshot name: `<BeaconMarker /> renders marker when beacon has location 1` - Snapshot - 18 + Received + 7 <DocumentFragment> - <span> <div - class="mx_Marker mx_Username_color6" - id="!room:server_@alice:server" + class="mx_Spinner" > <div - class="mx_Marker_border" - > - <span - class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61" - data-color="6" - data-testid="avatar-img" - data-type="round" - role="presentation" - style="--cpd-avatar-size: 36px;" - title="@alice:server" - > - a - </span> + aria-label="Loading…" + class="mx_Spinner_icon" + data-testid="spinner" + role="progressbar" + style="width: 32px; height: 32px;" + /> </div> - </div> - </span> </DocumentFragment> at Object.toMatchSnapshot (test/components/views/beacon/BeaconMarker-test.tsx:119:30)

Artifacts

Produced during runtime
Name Size
coverage-1
398 KB
coverage-2
395 KB