Skip to content

1152 upgrade merge react sdk #338

1152 upgrade merge react sdk

1152 upgrade merge react sdk #338

Triggered via pull request November 21, 2024 14:06
Status Failure
Total duration 2m 34s
Artifacts

tchap_tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
InviteDialog › should entered values as lowercase: test/unit-tests/tchap/components/views/dialogs/InviteDialog-test.tsx#L134
expect(element).not.toBeInTheDocument() expected document not to contain element, found <span class="mx_InviteDialog_userTile_name">[email protected]</span> instead at Object.toBeInTheDocument (test/unit-tests/tchap/components/views/dialogs/InviteDialog-test.tsx:134:61)
InviteDialog › should add pasted email values as lowercase: test/unit-tests/tchap/components/views/dialogs/InviteDialog-test.tsx#L154
TestingLibraryElementError: Found multiple elements with the text: [email protected] Here are the matching elements: Ignored nodes: comments, script, style <span class="mx_InviteDialog_userTile_name" > [email protected] </span> Ignored nodes: comments, script, style <span class="mx_InviteDialog_userTile_name" > [email protected] </span> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). 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 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" rel="noreferrer noopener" target="_blank" > share this room </a> . </span> </p> <div class="mx_InviteDialog_addressBar" > <div class="mx_InviteDialog_editor" > <span class="mx_InviteDialog_userTile" > <span class="mx_InviteDialog_userTile_pill" > <img alt="" class="mx_SearchResultAvatar mx_SearchResultAvatar_threepidAvatar" height="20px" src="image-file-stub" width="20px" /> <span class="mx_InviteDialog_userTile_name" > [email protected] </span> </span> <div aria-label="Remove" class="mx_AccessibleButton mx_InviteDialog_userTile_remove" role="button" tabindex="0" > <svg fill="currentColor" height="16px" viewBox="0 0 24 24" width="16px" xmlns="http://www.w3.org/2000/svg" > <path d="M6.293 6.293a1 1 0 0 1 1.414 0L12 10.586l4.293-4.293a1 1 0 1 1 1.414 1.414L13.414 12l4.293 4.293a1 1 0 0 1-1.414 1.414L12 13.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L10.586 12 6.293 7.707a1 1 0 0 1 0-1.414Z" /> </svg> </div> </span> <span class="mx_InviteDialog_userTile" > <span class="mx_InviteDialog_userTile_pill" > <img alt="" class="mx_SearchResultAvatar mx_SearchResultAvatar_threepidAvatar" height="20px" src="image-file-stub" width="20px" /> <span class="mx_InviteDialog_userTile_name" > [email protected] </span> </span> <div aria-label="Remove" class="mx_AccessibleButton mx_InviteDi
Jest
Process completed with exit code 1.
Jest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/