Eik/hide labs and sharedinvites #264
Annotations
10 errors
Run tests:
test/components/views/rooms/SendMessageComposer-test.tsx#L457
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: {"action": "reply_to_event", "context": "Room", "event": null}
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="mx_SendMessageComposer"
>
<div
class="mx_BasicMessageComposer"
>
<div
aria-label="Formatting"
class="mx_MessageComposerFormatBar"
role="toolbar"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconBold"
role="button"
tabindex="0"
type="button"
/>
<button
aria-label="Italics"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconItalic"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconStrikethrough"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Code block"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconCode"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Quote"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconQuote"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Insert link"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconInsertLink"
role="button"
tabindex="-1"
type="button"
/>
</div>
<div
aria-autocomplete="list"
aria-haspopup="listbox"
aria-multiline="true"
class="mx_BasicMessageComposer_input mx_BasicMessageComposer_input_shouldShowPillAvatar"
contenteditable="true"
data-testid="basicmessagecomposer"
dir="auto"
role="textbox"
tabindex="0"
translate="no"
>
<div>
This is a message
</div>
</div>
</div>
</div>
</div>
</body>
</html>
at toHaveBeenCalledWith (test/components/views/rooms/SendMessageComposer-test.tsx:457:39)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77)
at checkRealTimersCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
Run tests:
test/components/views/rooms/SendMessageComposer-test.tsx#L485
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: "myfakeroom", null, {"body": "test message", "m.mentions": {}, "msgtype": "m.text"}
Number of calls: 0
at Object.toHaveBeenCalledWith (test/components/views/rooms/SendMessageComposer-test.tsx:485:44)
|
Run tests:
test/components/views/rooms/SendMessageComposer-test.tsx#L505
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: "myfakeroom", null, {"body": "test message", "m.mentions": {}, "msgtype": "m.text"}
Number of calls: 0
at Object.toHaveBeenCalledWith (test/components/views/rooms/SendMessageComposer-test.tsx:505:44)
|
Run tests:
test/components/views/rooms/SendMessageComposer-test.tsx#L533
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: "myfakeroom", null, {"body": "test message", "m.mentions": {}, "msgtype": "m.text"}
Number of calls: 0
at Object.toHaveBeenCalledWith (test/components/views/rooms/SendMessageComposer-test.tsx:533:44)
|
Run tests:
test/components/structures/RoomView-test.tsx#L347
expect(received).toMatchSnapshot()
Snapshot name: `RoomView for a local room in state NEW should match the snapshot 1`
- Snapshot - 0
+ Received + 11
@@ -40,10 +40,21 @@
</div>
</div>
<div
class="mx_LegacyRoomHeader_topic mx_RoomTopic"
/>
+ <div
+ class="mx_MiscHeaderButtons"
+ >
+ <div
+ aria-current="false"
+ aria-label="Support"
+ class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_supportButton"
+ role="button"
+ tabindex="0"
+ />
+ </div>
</div>
</header>
<main
class="mx_RoomView_body"
>
at Object.toMatchSnapshot (test/components/structures/RoomView-test.tsx:347:35)
|
Run tests:
test/components/structures/RoomView-test.tsx#L371
expect(received).toMatchSnapshot()
Snapshot name: `RoomView for a local room in state NEW that is encrypted should match the snapshot 1`
- Snapshot - 0
+ Received + 11
@@ -47,10 +47,21 @@
</div>
</div>
<div
class="mx_LegacyRoomHeader_topic mx_RoomTopic"
/>
+ <div
+ class="mx_MiscHeaderButtons"
+ >
+ <div
+ aria-current="false"
+ aria-label="Support"
+ class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_supportButton"
+ role="button"
+ tabindex="0"
+ />
+ </div>
</div>
</header>
<main
class="mx_RoomView_body"
>
at Object.toMatchSnapshot (test/components/structures/RoomView-test.tsx:371:39)
|
Run tests:
test/components/structures/RoomView-test.tsx#L379
expect(received).toMatchSnapshot()
Snapshot name: `RoomView for a local room in state CREATING should match the snapshot 1`
- Snapshot - 0
+ Received + 11
@@ -40,10 +40,21 @@
</div>
</div>
<div
class="mx_LegacyRoomHeader_topic mx_RoomTopic"
/>
+ <div
+ class="mx_MiscHeaderButtons"
+ >
+ <div
+ aria-current="false"
+ aria-label="Support"
+ class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_supportButton"
+ role="button"
+ tabindex="0"
+ />
+ </div>
</div>
</header>
<div
class="mx_RoomView_body"
>
at Object.toMatchSnapshot (test/components/structures/RoomView-test.tsx:379:31)
|
Run tests:
test/components/structures/RoomView-test.tsx#L389
expect(received).toMatchSnapshot()
Snapshot name: `RoomView for a local room in state ERROR should match the snapshot 1`
- Snapshot - 0
+ Received + 11
@@ -40,10 +40,21 @@
</div>
</div>
<div
class="mx_LegacyRoomHeader_topic mx_RoomTopic"
/>
+ <div
+ class="mx_MiscHeaderButtons"
+ >
+ <div
+ aria-current="false"
+ aria-label="Support"
+ class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_supportButton"
+ role="button"
+ tabindex="0"
+ />
+ </div>
</div>
</header>
<main
class="mx_RoomView_body"
>
at Object.toMatchSnapshot (test/components/structures/RoomView-test.tsx:389:35)
|
Run tests:
test/components/views/rooms/MessageComposer-test.tsx#L59
TestingLibraryElementError: Unable to find a label with the text of: Sticker
Ignored nodes: comments, script, style
<body>
<div
id="mx_ContextualMenu_Container"
>
<div
class="mx_ContextualMenu_wrapper mx_MessageComposer_Menu"
style="right: 1014px;"
>
<div
class="mx_ContextualMenu_background"
/>
<div
class="mx_ContextualMenu mx_ContextualMenu_right"
role="menu"
>
<ul
class="mx_IconizedContextMenu mx_IconizedContextMenu_compact"
role="none"
>
<div
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
>
<li
aria-label="Voice Message"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="0"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_voiceMessage"
/>
<span
class="mx_IconizedContextMenu_label"
>
Voice Message
</span>
</li>
<li
aria-label="Poll"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="-1"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_poll"
/>
<span
class="mx_IconizedContextMenu_label"
>
Poll
</span>
</li>
<li
aria-label="Location"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="-1"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_location"
/>
<span
class="mx_IconizedContextMenu_label"
>
Location
</span>
</li>
</div>
</ul>
</div>
</div>
</div>
<div>
<div
aria-label="Message composer"
class="mx_MessageComposer"
role="region"
>
<div
class="mx_MessageComposer_wrapper"
>
<div
class="mx_MessageComposer_row"
>
<div
class="mx_SendMessageComposer"
>
<div
class="mx_BasicMessageComposer"
>
<div
aria-label="Formatting"
class="mx_MessageComposerFormatBar"
role="toolbar"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconBold"
role="button"
tabindex="0"
type="button"
/>
<button
aria-label="Italics"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconItalic"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconStrikethrough"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Code block"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconCode"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Quote"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconQuote"
|
Run tests:
test/components/views/rooms/MessageComposer-test.tsx#L59
TestingLibraryElementError: Unable to find a label with the text of: Sticker
Ignored nodes: comments, script, style
<body>
<div
id="mx_ContextualMenu_Container"
>
<div
class="mx_ContextualMenu_wrapper mx_MessageComposer_Menu"
style="right: 1014px;"
>
<div
class="mx_ContextualMenu_background"
/>
<div
class="mx_ContextualMenu mx_ContextualMenu_right"
role="menu"
>
<ul
class="mx_IconizedContextMenu mx_IconizedContextMenu_compact"
role="none"
>
<div
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
>
<li
aria-label="Attachment"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="0"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_upload"
/>
<span
class="mx_IconizedContextMenu_label"
>
Attachment
</span>
</li>
<li
aria-label="Poll"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="-1"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_poll"
/>
<span
class="mx_IconizedContextMenu_label"
>
Poll
</span>
</li>
<li
aria-label="Location"
class="mx_AccessibleButton mx_IconizedContextMenu_item"
role="menuitem"
tabindex="-1"
>
<span
class="mx_IconizedContextMenu_icon mx_MessageComposer_location"
/>
<span
class="mx_IconizedContextMenu_label"
>
Location
</span>
</li>
</div>
</ul>
</div>
</div>
</div>
<div>
<div
aria-label="Message composer"
class="mx_MessageComposer"
role="region"
>
<div
class="mx_MessageComposer_wrapper"
>
<div
class="mx_MessageComposer_row"
>
<div
class="mx_SendMessageComposer"
>
<div
class="mx_BasicMessageComposer"
>
<div
aria-label="Formatting"
class="mx_MessageComposerFormatBar"
role="toolbar"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconBold"
role="button"
tabindex="0"
type="button"
/>
<button
aria-label="Italics"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconItalic"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconStrikethrough"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Code block"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconCode"
role="button"
tabindex="-1"
type="button"
/>
<button
aria-label="Quote"
class="mx_AccessibleButton mx_MessageComposerFormatBar_button mx_MessageComposerFormatBar_buttonIconQuote"
|
Loading