This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Merge pull request #41 from element-hq/t3chguy/wat/230.1 #400
Annotations
3 errors
Run tests:
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)
|
Run tests:
test/components/views/settings/AddRemoveThreepids-test.tsx#L284
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Country Dropdown"
Here are the accessible roles:
textbox:
Name "Verification code":
<input
autocomplete="off"
id="mx_Field_9"
label="Verification code"
placeholder="Verification code"
type="text"
value=""
/>
--------------------------------------------------
button:
Name "Continue":
<div
aria-disabled="true"
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary mx_AccessibleButton_disabled"
disabled=""
role="button"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_Dialog_Container"
/>
<div>
<div>
<div>
A text message has been sent to +447700900000. Please enter the verification code it contains.
<br />
</div>
<form
autocomplete="off"
novalidate=""
>
<div
class="mx_Field mx_Field_input"
>
<input
autocomplete="off"
id="mx_Field_9"
label="Verification code"
placeholder="Verification code"
type="text"
value=""
/>
<label
for="mx_Field_9"
>
Verification code
</label>
</div>
<div
aria-disabled="true"
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary mx_AccessibleButton_disabled"
disabled=""
role="button"
tabindex="0"
>
Continue
</div>
</form>
</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/settings/AddRemoveThreepids-test.tsx:284:40)
|
Run tests
Process completed with exit code 1.
|
Loading