Skip to content

Jts/2006 improve search #289

Jts/2006 improve search

Jts/2006 improve search #289

Triggered via pull request September 18, 2024 14:38
Status Failure
Total duration 5m 17s
Artifacts 1

tests.yml

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

Annotations

10 errors
InviteDialog › should add pasted values: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › should add pasted values: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › should add pasted values: test/components/views/dialogs/InviteDialog-test.tsx#L302
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_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" > <input autocomplete="off" data-testid="invite-dialog-input" type="text" value="@bob:[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" > Go </div> </div> </div> <span /> <div class="error" /> <div class="mx_InviteDialog_userSections" > <div class="mx_InviteDialog_section_hidden_suggestions_disclaimer" > <span> Some suggestions may be hidden for privacy. </span> <p> If you can't see who you're looking for, send them your invite link below. </p> </div> </div> <div class="mx_InviteDialog_footer" > <h3> Or send invite link </h3> <div class="mx_CopyableText mx_CopyableText_border" > <a class="mx_InviteDialog_footer_link" href="https://matrix.to/#/@bob:example.org" > https://matrix.to/#/@bob:example.org </a> <div aria-label="Copy" class="mx_AccessibleButton mx_CopyableText_copyButton" role="button" tabindex="0" /> </div> </div> </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:302:22)
InviteDialog › should start a DM if the profile is available: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › should start a DM if the profile is available: test/components/views/dialogs/InviteDialog-test.tsx#L392
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"_events": {"RoomMember.membership": [Function anonymous]}, "_eventsCount": 1, "_maxListeners": undefined, "canSupport": Map {"Thread" => 0, "ThreadUnreadNotifications" => 0, "LoginTokenRequest" => 0, "RelationBasedRedactions" => 0, "AccountDataDeletion" => 0, "RelationsRecursion" => 0, "IntentionalMentions" => 0}, "getAccountData": [Function mockConstructor], "getClientWellKnown": [Function mockConstructor], "getIdentityAccount": [Function mockConstructor], "getIdentityServerUrl": [Function mockConstructor], "getOpenIdToken": [Function mockConstructor], "getProfileInfo": [Function mockConstructor], "getPushActionsForEvent": [Function mockConstructor], "getRoom": [Function mockConstructor], "getRooms": [Function mockConstructor], "getSafeUserId": [Function mockConstructor], "getTerms": [Function mockConstructor], "getUserId": [Function mockConstructor], "getVisibleRooms": [Function mockConstructor], "isGuest": [Function mockConstructor], "isInitialSyncComplete": [Function mockConstructor], "isRoomEncrypted": [Function mockConstructor], "lookupThreePid": [Function mockConstructor], "mxcUrlToHttp": [Function mockConstructor], "registerWithIdentityServer": [Function mockConstructor], "searchUserDirectory": [Function mockConstructor], "supportsThreads": [Function mockConstructor], Symbol(kCapture): false}, [{"_userId": "@alice:example.org", "avatarUrl": undefined, "displayName": undefined}] Number of calls: 0 at Object.toHaveBeenCalledWith (test/components/views/dialogs/InviteDialog-test.tsx:392:39)
InviteDialog › should not allow pasting the same user multiple times: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › should not allow pasting the same user multiple times: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › when inviting a user with an unknown profile and »promptBeforeInviteUnknownUsers« setting = false › should not show the »invite anyway« dialog: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
InviteDialog › when inviting a user with an unknown profile and »promptBeforeInviteUnknownUsers« setting = false › should start the DM directly: src/components/views/dialogs/InviteDialog.tsx#L688
TypeError: this.searchResults is not iterable at InviteDialog.searchResults (src/components/views/dialogs/InviteDialog.tsx:688:29) at src/components/views/dialogs/InviteDialog.tsx:957:17
Jest (1)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-2
400 KB