This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Lock file maintenance #28402
Annotations
5 errors
test/components/views/rooms/RoomKnocksBar-test.tsx#L179
TestingLibraryElementError: Unable to find an accessible element with the role "paragraph"
Here are the accessible roles:
presentation:
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
/>
--------------------------------------------------
heading:
Name "Asking to join":
<h4
class="mx_Heading_h4"
/>
--------------------------------------------------
button:
Name "Deny":
<div
aria-label="Deny"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_icon_primary_outline"
role="button"
tabindex="0"
/>
Name "Approve":
<div
aria-label="Approve"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_icon_primary"
role="button"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="mx_RoomKnocksBar"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
>
B
</span>
<div
class="mx_RoomKnocksBar_content"
>
<h4
class="mx_Heading_h4"
>
Asking to join
</h4>
<p
class="mx_RoomKnocksBar_paragraph"
>
Bob (@bob:example.org)
</p>
</div>
<div
aria-label="Deny"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_icon_primary_outline"
role="button"
tabindex="0"
>
<div
height="18"
width="18"
/>
</div>
<div
aria-label="Approve"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_icon_primary"
role="button"
tabindex="0"
>
<div
height="18"
width="18"
/>
</div>
</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.getByRole (test/components/views/rooms/RoomKnocksBar-test.tsx:179:31)
|
test/components/views/rooms/RoomKnocksBar-test.tsx#L308
TestingLibraryElementError: Unable to find an accessible element with the role "paragraph"
Here are the accessible roles:
presentation:
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
/>
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
/>
--------------------------------------------------
heading:
Name "2 people asking to join":
<h4
class="mx_Heading_h4"
/>
--------------------------------------------------
button:
Name "View":
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_Dialog_Container"
/>
<div>
<div
class="mx_RoomKnocksBar"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
>
B
</span>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
>
J
</span>
<div
class="mx_RoomKnocksBar_content"
>
<h4
class="mx_Heading_h4"
>
2 people asking to join
</h4>
<p
class="mx_RoomKnocksBar_paragraph"
>
Bob and Jane
</p>
</div>
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
>
View
</div>
</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.getByRole (test/components/views/rooms/RoomKnocksBar-test.tsx:308:31)
|
test/components/views/rooms/RoomKnocksBar-test.tsx#L316
TestingLibraryElementError: Unable to find an accessible element with the role "paragraph"
Here are the accessible roles:
presentation:
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
/>
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
/>
--------------------------------------------------
heading:
Name "3 people asking to join":
<h4
class="mx_Heading_h4"
/>
--------------------------------------------------
button:
Name "View":
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_Dialog_Container"
/>
<div>
<div
class="mx_RoomKnocksBar"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
>
B
</span>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
>
J
</span>
<div
class="mx_RoomKnocksBar_content"
>
<h4
class="mx_Heading_h4"
>
3 people asking to join
</h4>
<p
class="mx_RoomKnocksBar_paragraph"
>
Bob, Jane and John
</p>
</div>
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
>
View
</div>
</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.getByRole (test/components/views/rooms/RoomKnocksBar-test.tsx:316:31)
|
test/components/views/rooms/RoomKnocksBar-test.tsx#L324
TestingLibraryElementError: Unable to find an accessible element with the role "paragraph"
Here are the accessible roles:
presentation:
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
/>
Name "":
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
/>
--------------------------------------------------
heading:
Name "4 people asking to join":
<h4
class="mx_Heading_h4"
/>
--------------------------------------------------
button:
Name "View":
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_Dialog_Container"
/>
<div>
<div
class="mx_RoomKnocksBar"
>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="4"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@bob:example.org"
>
B
</span>
<span
class="_avatar_mcap2_17 mx_BaseAvatar mx_RoomKnocksBar_avatar _avatar-imageless_mcap2_61"
data-color="3"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
title="@jane:example.org"
>
J
</span>
<div
class="mx_RoomKnocksBar_content"
>
<h4
class="mx_Heading_h4"
>
4 people asking to join
</h4>
<p
class="mx_RoomKnocksBar_paragraph"
>
Bob, Jane and 2 others
</p>
</div>
<div
aria-label="View"
class="mx_AccessibleButton mx_RoomKnocksBar_action mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
role="button"
tabindex="0"
>
View
</div>
</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.getByRole (test/components/views/rooms/RoomKnocksBar-test.tsx:324:31)
|
|
This job failed
Loading