Remove Customisations in "InviteDialog" #300
Annotations
2 errors
Run tests:
test/components/views/dialogs/InviteDialog-test.tsx#L482
expect(received).resolves.toHaveLength()
Received promise rejected instead of resolved
Rejected to value: [TestingLibraryElementError: Unable to find an element with the text: @bob:example.org, which matches selector 'a'. 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"
>
Start a conversation with someone using their name, or invite by using their email address.
</p>
<div
class="mx_InviteDialog_addressBar"
>
<div
class="mx_InviteDialog_editor"
>
<span
class="mx_InviteDialog_userTile"
>
<span
class="mx_InviteDialog_userTile_pill"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_SearchResultAvatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 20px;"
>
b
</span>
<span
class="mx_InviteDialog_userTile_name"
>
@bob:example.org
</span>
</span>
<div
class="mx_AccessibleButton mx_InviteDialog_userTile_remove"
role="button"
tabindex="0"
>
<img
alt="Remove"
height="8"
src="image-file-stub"
width="8"
/>
</div>
</span>
<input
autocomplete="off"
data-testid="invite-dialog-input"
type="text"
value=""
/>
</div>
<div
class="mx_InviteDialog_buttonAndSpinner"
>
<div
class="mx_AccessibleButton mx_InviteDialog_goButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
>
Go
</div>
</div>
</div>
<span />
<div
class="error"
/>
<div
class="mx_InviteDialog_userSections"
>
<div
class="mx_InviteDialog_section"
>
<h3>
Recent Conversations
</h3>
<div
class="mx_AccessibleButton mx_InviteDialog_tile mx_InviteDialog_tile--room"
role="button"
tabindex="0"
>
<span
class="mx_InviteDialog_tile_avatarStack"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 36px;"
>
|
Run tests
Process completed with exit code 1.
|
Loading