Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

upstream-sdk-notify #397

upstream-sdk-notify

upstream-sdk-notify #397

Triggered via repository dispatch September 26, 2024 08:41
@RiotRobotRiotRobot
upstream-sdk-notify ad94c39
Status Failure
Total duration 6m 14s
Artifacts

tests.yml

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

Annotations

6 errors
<MatrixChat /> › mobile registration › should render mobile registration: src/theme.ts#L118
TypeError: prop.startsWith is not a function at startsWith (src/theme.ts:118:18) at clearCustomTheme (src/theme.ts:272:5) at ThemeWatcher.recheck (src/settings/watchers/ThemeWatcher.ts:80:21) at MatrixChat.recheck [as viewWelcome] (src/components/structures/MatrixChat.tsx:1103:27) at viewWelcome (src/components/structures/MatrixChat.tsx:801:22) at MatrixDispatcher.invokeCallback (src/dispatcher/dispatcher.ts:112:31) at invokeCallback (src/dispatcher/dispatcher.ts:89:22) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
Jest (2)
Process completed with exit code 1.
MessageComposer › wysiwyg correctly persists state to and from localStorage: test/components/views/rooms/MessageComposer-test.tsx#L468
expect(element).toHaveTextContent() Expected element to have text content: Test Text Received: Ignored nodes: comments, script, style <html> <head /> <body> <div id="mx_ContextualMenu_Container" /> <div id="mx_Dialog_StaticContainer" /> <div id="mx_Dialog_Container" /> <div> <div aria-label="Message composer" class="mx_MessageComposer mx_MessageComposer_wysiwyg" role="region" > <div class="mx_MessageComposer_wrapper" > <div class="mx_MessageComposer_row" > <div class="mx_SendWysiwygComposer mx_SendWysiwygComposer-focused" data-testid="WysiwygComposer" > <div class="mx_WysiwygComposer_AutoCompleteWrapper" data-testid="autocomplete-wrapper" /> <div class="mx_FormattingButtons" > <button aria-label="Bold" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Italic" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Underline" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Strikethrough" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Bulleted list" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Numbered list" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Quote" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Code" class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover" role="button" tabindex="0" > <div class="mx_FormattingButtons_Icon" /> </button> <button aria-label="Code block" cl
AddRemoveThreepids › should add a phone number: test/components/views/settings/AddRemoveThreepids-test.tsx#L189
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (test/components/views/settings/AddRemoveThreepids-test.tsx:189:5) at Object.describe (test/components/views/settings/AddRemoveThreepids-test.tsx:40:1)
AddRemoveThreepids › should display an error if the code is incorrect: test/components/views/settings/AddRemoveThreepids-test.tsx#L294
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name "Verification code" Here are the accessible roles: button: Name "Country Dropdown": <div aria-describedby="mx_CountryDropdown_value" aria-expanded="false" aria-haspopup="listbox" aria-label="Country Dropdown" aria-owns="mx_CountryDropdown_input" class="mx_AccessibleButton mx_Dropdown_input mx_no_textinput" role="button" tabindex="0" /> Name "Add": <div class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary" role="button" tabindex="0" /> -------------------------------------------------- textbox: Name "Phone Number": <input autocomplete="tel-national" id="mx_Field_8" label="Phone Number" placeholder="Phone Number" type="text" value="" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div id="mx_Dialog_StaticContainer" /> <div id="mx_Dialog_Container" /> <div> <form autocomplete="off" novalidate="" > <div class="mx_Field mx_Field_input mx_Field_labelAlwaysTopLeft" > <span class="mx_Field_prefix" > <div class="mx_Dropdown mx_PhoneNumbers_country mx_CountryDropdown" > <div aria-describedby="mx_CountryDropdown_value" aria-expanded="false" aria-haspopup="listbox" aria-label="Country Dropdown" aria-owns="mx_CountryDropdown_input" class="mx_AccessibleButton mx_Dropdown_input mx_no_textinput" role="button" tabindex="0" > <div class="mx_Dropdown_option" id="mx_CountryDropdown_value" > <span class="mx_CountryDropdown_shortOption" > <div class="mx_Dropdown_option_emoji" > 🇬🇧 </div> +44 </span> </div> <span class="mx_Dropdown_arrow" /> </div> </div> </span> <input autocomplete="tel-national" id="mx_Field_8" label="Phone Number" placeholder="Phone Number" type="text" value="" /> <label for="mx_Field_8" > Phone Number </label> </div> <div class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary" role="button" tabindex="0" > Add </div> </form> </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/settings/AddRemoveThreepids-test.tsx:294:42)
Jest (1)
Process completed with exit code 1.