This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
upstream-sdk-notify #194
tests.yml
on: repository_dispatch
Matrix: Jest
Element Web Integration Tests
1m 59s
Skip SonarCloud in merge queue
0s
Annotations
3 errors
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#L275
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:275:40)
|
Jest (1)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-2
|
404 KB |
|