trigger change #232
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 51s
Skip SonarCloud in merge queue
0s
Annotations
10 errors
Element Web Integration Tests
Process completed with exit code 1.
|
<Notifications /> › matches the snapshot:
test/components/views/settings/notifications/Notifications2-test.tsx#L107
expect(received).toMatchSnapshot()
Snapshot name: `<Notifications /> matches the snapshot 1`
- Snapshot - 1
+ Received + 1
@@ -461,11 +461,11 @@
class="mx_SettingsSubsection_text"
>
<span>
Show a badge
<div
- class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light"
+ class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_green mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light"
>
<span
class="mx_NotificationBadge_count"
>
1
at Object.toMatchSnapshot (test/components/views/settings/notifications/Notifications2-test.tsx:107:34)
|
<Notifications /> › correctly handles the loading/disabled state:
test/components/views/settings/notifications/Notifications2-test.tsx#L121
expect(received).toMatchSnapshot()
Snapshot name: `<Notifications /> correctly handles the loading/disabled state 1`
- Snapshot - 1
+ Received + 1
@@ -470,11 +470,11 @@
class="mx_SettingsSubsection_text"
>
<span>
Show a badge
<div
- class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light"
+ class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_green mx_NotificationBadge_level_notification mx_NotificationBadge_2char cpd-theme-light"
>
<span
class="mx_NotificationBadge_count"
>
1
at toMatchSnapshot (test/components/views/settings/notifications/Notifications2-test.tsx:121:38)
|
AppTile › preserves non-persisted widget on container move:
test/components/views/elements/AppTile-test.tsx#L330
expect(received).toMatchSnapshot()
Snapshot name: `AppTile preserves non-persisted widget on container move 1`
- Snapshot - 1
+ Received + 1
@@ -2,11 +2,11 @@
<div
class="mx_AppsDrawer"
>
<div
class="mx_AppsDrawer_resizer"
- style="position: relative; user-select: auto; width: auto; height: 280px; max-height: 576px; min-height: 100px; box-sizing: border-box; flex-shrink: 0;"
+ style="position: relative; user-select: auto; width: auto; height: 380px; max-height: 576px; min-height: 100px; box-sizing: border-box; flex-shrink: 0;"
>
<div
class="mx_AppsContainer"
>
<div
at Object.toMatchSnapshot (test/components/views/elements/AppTile-test.tsx:330:30)
|
Jest (1)
Process completed with exit code 1.
|
DecryptionFailureTracker › tracks client information:
test/DecryptionFailureTracker-test.ts#L699
TypeError: Cannot read properties of undefined (reading 'isMatrixDotOrg')
at Object.isMatrixDotOrg (test/DecryptionFailureTracker-test.ts:699:46)
|
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)
|
<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)
|
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.
|