fixing tests part one 1 #240
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 50s
Skip SonarCloud in merge queue
0s
Annotations
5 errors
Element Web Integration Tests
Process completed with exit code 1.
|
<MatrixChat /> › Multi-tab lockout › shows the lockout page when a second tab opens › during crypto init:
test/components/structures/MatrixChat-test.tsx#L1392
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/structures/MatrixChat-test.tsx:1392:13)
at describe (test/components/structures/MatrixChat-test.tsx:1335:9)
at describe (test/components/structures/MatrixChat-test.tsx:1294:5)
at Object.describe (test/components/structures/MatrixChat-test.tsx:73:1)
|
MatrixClientPeg › .start › should initialise the rust crypto library by default:
test/MatrixClientPeg-test.ts#L247
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: called with 0 arguments
at Object.toHaveBeenCalled (test/MatrixClientPeg-test.ts:247:40)
|
ThemeChoicePanel › renders the theme choice UI:
test/components/views/settings/ThemeChoicePanel-test.tsx#L29
expect(received).toMatchSnapshot()
Snapshot name: `ThemeChoicePanel renders the theme choice UI 1`
- Snapshot - 45
+ Received + 0
@@ -16,54 +16,9 @@
class="mx_SettingsSubsection_content"
>
<div
class="mx_ThemeChoicePanel_themeSelectors"
data-testid="theme-choice-panel-selectors"
- >
- <label
- class="mx_StyledRadioButton mx_ThemeSelector_light mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined"
- >
- <input
- disabled=""
- id="theme-light"
- name="theme"
- type="radio"
- value="light"
- />
- <div>
- <div />
- </div>
- <div
- class="mx_StyledRadioButton_content"
- >
- Light
- </div>
- <div
- class="mx_StyledRadioButton_spacer"
/>
- </label>
- <label
- class="mx_StyledRadioButton mx_ThemeSelector_dark mx_StyledRadioButton_disabled mx_StyledRadioButton_outlined"
- >
- <input
- disabled=""
- id="theme-dark"
- name="theme"
- type="radio"
- value="dark"
- />
- <div>
- <div />
- </div>
- <div
- class="mx_StyledRadioButton_content"
- >
- Dark
- </div>
- <div
- class="mx_StyledRadioButton_spacer"
- />
- </label>
- </div>
</div>
</div>
</DocumentFragment>
at Object.toMatchSnapshot (test/components/views/settings/ThemeChoicePanel-test.tsx:29:30)
|
Jest (2)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-1
|
398 KB |
|