Skip to content

Jts/GitHub action trigger branch #223

Jts/GitHub action trigger branch

Jts/GitHub action trigger branch #223

Triggered via pull request August 21, 2024 07:59
Status Failure
Total duration 6m 34s
Artifacts

tests.yml

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

Annotations

15 errors
Element Web Integration Tests
Process completed with exit code 1.
<Notifications /> › matches the snapshot: test/components/views/settings/notifications/Notifications2-test.tsx#L107
expect(received).toMatchSnapshot() Snapshot name: `<Notifications /> matches the snapshot 1` - Snapshot - 1 + Received + 1 @@ -461,11 +461,11 @@ class="mx_SettingsSubsection_text" > <span> Show a badge <div - class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light" + class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_green mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light" > <span class="mx_NotificationBadge_count" > 1 at Object.toMatchSnapshot (test/components/views/settings/notifications/Notifications2-test.tsx:107:34)
<Notifications /> › correctly handles the loading/disabled state: test/components/views/settings/notifications/Notifications2-test.tsx#L121
expect(received).toMatchSnapshot() Snapshot name: `<Notifications /> correctly handles the loading/disabled state 1` - Snapshot - 1 + Received + 1 @@ -470,11 +470,11 @@ class="mx_SettingsSubsection_text" > <span> Show a badge <div - class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light" + class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_green mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light" > <span class="mx_NotificationBadge_count" > 1 at toMatchSnapshot (test/components/views/settings/notifications/Notifications2-test.tsx:121:38)
AppTile › preserves non-persisted widget on container move: test/components/views/elements/AppTile-test.tsx#L330
expect(received).toMatchSnapshot() Snapshot name: `AppTile preserves non-persisted widget on container move 1` - Snapshot - 1 + Received + 1 @@ -2,11 +2,11 @@ <div class="mx_AppsDrawer" > <div class="mx_AppsDrawer_resizer" - style="position: relative; user-select: auto; width: auto; height: 280px; max-height: 576px; min-height: 100px; box-sizing: border-box; flex-shrink: 0;" + style="position: relative; user-select: auto; width: auto; height: 380px; max-height: 576px; min-height: 100px; box-sizing: border-box; flex-shrink: 0;" > <div class="mx_AppsContainer" > <div at Object.toMatchSnapshot (test/components/views/elements/AppTile-test.tsx:330:30)
InviteDialog › should add pasted values: src/components/views/dialogs/InviteDialog.tsx#L1166
TypeError: Cannot read properties of undefined (reading 'find') at find (src/components/views/dialogs/InviteDialog.tsx:1166:31) at src/components/views/dialogs/InviteDialog.tsx:1161:9
InviteDialog › should add pasted values: test/components/views/dialogs/InviteDialog-test.tsx#L292
Unable to find an element with the text: [email protected]. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <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-labelledby="mx_BaseDialog_title" class="mx_InviteDialog_other mx_Dialog_fixedWidth" data-focus-lock-disabled="false" role="dialog" > <div class="mx_Dialog_header" > <h1 class="mx_Heading_h3 mx_Dialog_title" id="mx_BaseDialog_title" > Invite to !111111111111111111:example.org </h1> </div> <div aria-label="Close dialog" class="mx_AccessibleButton mx_Dialog_cancelButton" role="button" tabindex="0" /> <div class="mx_InviteDialog_content" > <p class="mx_InviteDialog_helpText" > <span> Invite someone using their name, email address, username (like <a class="mx_InviteDialog_helpText_userId" href="https://matrix.to/#/@bob:example.org" rel="noreferrer noopener" target="_blank" > @bob:example.org </a> ) or <a href="https://matrix.to/#/!111111111111111111:example.org?via=example.org" rel="noreferrer noopener" target="_blank" > share this room </a> . </span> </p> <div class="mx_InviteDialog_addressBar" > <div class="mx_InviteDialog_editor" > <input autocomplete="off" data-testid="invite-dialog-input" type="text" value="@bob:example.org [email protected]" /> </div> <div class="mx_InviteDialog_buttonAndSpinner" > <div aria-disabled="true" class="mx_AccessibleButton mx_InviteDialog_goButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary mx_AccessibleButton_disabled" disabled="" role="button" tabindex="0" > Invite </div> </div> </div> <span /> <div class="error" /> <div class="mx_InviteDialog_userSections" /> </div> </div> <div data-focus-guard="true" style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;" tabindex="0" /> </div> </body> at waitForWrapper (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/components/views/dialogs/InviteDialog-test.tsx:292:22)
InviteDialog › should support pasting one username that is not a mx id or email: src/components/views/dialogs/InviteDialog.tsx#L1166
TypeError: Cannot read properties of undefined (reading 'find') at find (src/components/views/dialogs/InviteDialog.tsx:1166:31) at src/components/views/dialogs/InviteDialog.tsx:1161:9
InviteDialog › should allow to invite multiple emails to a room: test/components/views/dialogs/InviteDialog-test.tsx#L75
TestingLibraryElementError: Unable to find an element with the text: [email protected]. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <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-labelledby="mx_BaseDialog_title" class="mx_InviteDialog_other mx_Dialog_fixedWidth" data-focus-lock-disabled="false" role="dialog" > <div class="mx_Dialog_header" > <h1 class="mx_Heading_h3 mx_Dialog_title" id="mx_BaseDialog_title" > Invite to !111111111111111111:example.org </h1> </div> <div aria-label="Close dialog" class="mx_AccessibleButton mx_Dialog_cancelButton" role="button" tabindex="0" /> <div class="mx_InviteDialog_content" > <p class="mx_InviteDialog_helpText" > <span> Invite someone using their name, email address, username (like <a class="mx_InviteDialog_helpText_userId" href="https://matrix.to/#/@bob:example.org" rel="noreferrer noopener" target="_blank" > @bob:example.org </a> ) or <a href="https://matrix.to/#/!111111111111111111:example.org?via=example.org" rel="noreferrer noopener" target="_blank" > share this room </a> . </span> </p> <div class="mx_InviteDialog_addressBar" > <div class="mx_InviteDialog_editor" > <input autocomplete="off" data-testid="invite-dialog-input" type="text" value="[email protected]" /> </div> <div class="mx_InviteDialog_buttonAndSpinner" > <div aria-disabled="true" class="mx_AccessibleButton mx_InviteDialog_goButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary mx_AccessibleButton_disabled" disabled="" role="button" tabindex="0" > Invite </div> </div> </div> <span /> <div class="error" /> <div class="mx_InviteDialog_userSections" /> </div> </div> <div data-focus-guard="true" style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;" tabindex="0" /> </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 getByText (test/components/views/dialogs/InviteDialog-test.tsx:75:19) at Object.expectPill (test/components/views/dialogs/InviteDialog-test.tsx:313:9)
InviteDialog › should not allow to invite more than one email to a DM: test/components/views/dialogs/InviteDialog-test.tsx#L344
TestingLibraryElementError: Unable to find an element with the text: Invites by email can only be sent one at a time. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <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-labelledby="mx_BaseDialog_title" class="mx_InviteDialog_other mx_InviteDialog_hasFooter mx_Dialog_fixedWidth" data-focus-lock-disabled="false" role="dialog" > <div class="mx_Dialog_header" > <h1 class="mx_Heading_h3 mx_Dialog_title" id="mx_BaseDialog_title" > Direct Messages </h1> </div> <div aria-label="Close dialog" class="mx_AccessibleButton mx_Dialog_cancelButton" role="button" tabindex="0" /> <div class="mx_InviteDialog_content" > <p class="mx_InviteDialog_helpText" > <span> Start a conversation with someone using their name, email address or username (like <a href="https://matrix.to/#/@bob:example.org" rel="noreferrer noopener" target="_blank" > @bob:example.org </a> ). </span> </p> <div class="mx_InviteDialog_addressBar" > <div class="mx_InviteDialog_editor" > <span class="mx_InviteDialog_userTile" > <span class="mx_InviteDialog_userTile_pill" > <span class="mx_InviteDialog_userTile_name" > [email protected] </span> </span> <div class="mx_AccessibleButton mx_InviteDialog_userTile_remove" role="button" tabindex="0" > <svg height="8" viewBox="26 25 6 6" width="8" xmlns="http://www.w3.org/2000/svg" > <defs> <filter filterUnits="objectBoundingBox" height="115.8%" id="a" width="111.8%" x="-5.9%" y="-7.9%" > <feoffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1" /> <fegaussianblur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="16" /> <fecolormatrix in="shadowBlurOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0.473684211 0 0 0 0 1 0 0 0 0.241258741 0" /> <femerge> <femergenode in="shadowMatrixOuter1" /> <femergenode in="SourceGraphic" /> </femerge> </filter> </defs> <g filter="url(#a)" stroke="#61708B" transform="translate(-406 -215)" > <path d="M438 240l-6 6M432 240l6 6" /> </g> </svg> </div> </span> <input autocomplete="off"
InviteDialog › should not allow to invite a MXID and an email to a DM: test/components/views/dialogs/InviteDialog-test.tsx#L369
TestingLibraryElementError: Unable to find an element with the text: Invites by email can only be sent one at a time. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <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-labelledby="mx_BaseDialog_title" class="mx_InviteDialog_other mx_InviteDialog_hasFooter mx_Dialog_fixedWidth" data-focus-lock-disabled="false" role="dialog" > <div class="mx_Dialog_header" > <h1 class="mx_Heading_h3 mx_Dialog_title" id="mx_BaseDialog_title" > Direct Messages </h1> </div> <div aria-label="Close dialog" class="mx_AccessibleButton mx_Dialog_cancelButton" role="button" tabindex="0" /> <div class="mx_InviteDialog_content" > <p class="mx_InviteDialog_helpText" > <span> Start a conversation with someone using their name, email address or username (like <a href="https://matrix.to/#/@bob:example.org" rel="noreferrer noopener" target="_blank" > @bob:example.org </a> ). </span> </p> <div class="mx_InviteDialog_addressBar" > <div class="mx_InviteDialog_editor" > <span class="mx_InviteDialog_userTile" > <span class="mx_InviteDialog_userTile_pill" > <span class="mx_InviteDialog_userTile_name" > [email protected] </span> </span> <div class="mx_AccessibleButton mx_InviteDialog_userTile_remove" role="button" tabindex="0" > <svg height="8" viewBox="26 25 6 6" width="8" xmlns="http://www.w3.org/2000/svg" > <defs> <filter filterUnits="objectBoundingBox" height="115.8%" id="a" width="111.8%" x="-5.9%" y="-7.9%" > <feoffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1" /> <fegaussianblur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="16" /> <fecolormatrix in="shadowBlurOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0.473684211 0 0 0 0 1 0 0 0 0.241258741 0" /> <femerge> <femergenode in="shadowMatrixOuter1" /> <femergenode in="SourceGraphic" /> </femerge> </filter> </defs> <g filter="url(#a)" stroke="#61708B" transform="translate(-406 -215)" > <path d="M438 240l-6 6M432 240l6 6" /> </g> </svg> </div> </span> <input autocomplete="off"
InviteDialog › should not allow pasting the same user multiple times: src/components/views/dialogs/InviteDialog.tsx#L1166
TypeError: Cannot read properties of undefined (reading 'find') at find (src/components/views/dialogs/InviteDialog.tsx:1166:31) at src/components/views/dialogs/InviteDialog.tsx:1161:9
MatrixClientPeg › .start › should initialise the rust crypto library by default: test/MatrixClientPeg-test.ts#L247
expect(jest.fn()).not.toHaveBeenCalled() Expected number of calls: 0 Received number of calls: 1 1: called with 0 arguments at Object.toHaveBeenCalled (test/MatrixClientPeg-test.ts:247:40)
<MatrixChat /> › Multi-tab lockout › shows the lockout page when a second tab opens › during crypto init: test/components/structures/MatrixChat-test.tsx#L1392
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/structures/MatrixChat-test.tsx:1392:13) at describe (test/components/structures/MatrixChat-test.tsx:1335:9) at describe (test/components/structures/MatrixChat-test.tsx:1294:5) at Object.describe (test/components/structures/MatrixChat-test.tsx:73:1)
ThemeChoicePanel › renders the theme choice UI: test/components/views/settings/ThemeChoicePanel-test.tsx#L29
expect(received).toMatchSnapshot() Snapshot name: `ThemeChoicePanel renders the theme choice UI 1` - Snapshot - 45 + Received + 0 @@ -16,54 +16,9 @@ class="mx_SettingsSubsection_content" > <div class="mx_ThemeChoicePanel_themeSelectors" data-testid="theme-choice-panel-selectors" - > - <label - class="mx_StyledRadioButton mx_ThemeSelector_light mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined" - > - <input - disabled="" - id="theme-light" - name="theme" - type="radio" - value="light" - /> - <div> - <div /> - </div> - <div - class="mx_StyledRadioButton_content" - > - Light - </div> - <div - class="mx_StyledRadioButton_spacer" /> - </label> - <label - class="mx_StyledRadioButton mx_ThemeSelector_dark mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined" - > - <input - disabled="" - id="theme-dark" - name="theme" - type="radio" - value="dark" - /> - <div> - <div /> - </div> - <div - class="mx_StyledRadioButton_content" - > - Dark - </div> - <div - class="mx_StyledRadioButton_spacer" - /> - </label> - </div> </div> </div> </DocumentFragment> at Object.toMatchSnapshot (test/components/views/settings/ThemeChoicePanel-test.tsx:29:30)
Jest (2)
Process completed with exit code 1.