Skip to content

Distinguish room state and timeline events in embedded clients #10472

Distinguish room state and timeline events in embedded clients

Distinguish room state and timeline events in embedded clients #10472

Triggered via pull request December 6, 2024 21:14
Status Failure
Total duration 4m 15s
Artifacts 2

tests.yml

on: pull_request
Matrix: Downstream test element-web / Jest
Waiting for pending jobs
Matrix: jest
Run Complement Crypto tests  /  tests
Run Complement Crypto tests / tests
Downstream test element-web  /  jest-tests
Downstream test element-web / jest-tests
Jest tests
0s
Jest tests
Downstream Complement Crypto tests
0s
Downstream Complement Crypto tests
Downstream tests
2s
Downstream tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors
RoomWidgetClient › events › sends: spec/unit/embedded.spec.ts#L148
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 (spec/unit/embedded.spec.ts:148:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › send handles wrong field in response: spec/unit/embedded.spec.ts#L160
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 (spec/unit/embedded.spec.ts:160:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › receives: spec/unit/embedded.spec.ts#L171
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 (spec/unit/embedded.spec.ts:171:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › local echos › get response then local echo: spec/unit/embedded.spec.ts#L265
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:265:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › local echos › get local echo then response: spec/unit/embedded.spec.ts#L291
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:291:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › local echos › __ local echo then response: spec/unit/embedded.spec.ts#L330
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:330:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › handles widget errors with generic error data: spec/unit/embedded.spec.ts#L341
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 (spec/unit/embedded.spec.ts:341:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › handles widget errors with Matrix API error response data: spec/unit/embedded.spec.ts#L353
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 (spec/unit/embedded.spec.ts:353:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › delayed events › when supported › sends delayed message events: spec/unit/embedded.spec.ts#L396
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 (spec/unit/embedded.spec.ts:396:13) at describe (spec/unit/embedded.spec.ts:383:9) at describe (spec/unit/embedded.spec.ts:382:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › delayed events › when supported › sends child action delayed message events: spec/unit/embedded.spec.ts#L415
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 (spec/unit/embedded.spec.ts:415:13) at describe (spec/unit/embedded.spec.ts:383:9) at describe (spec/unit/embedded.spec.ts:382:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
Jest [unit] (Node 22)
The job was canceled because "unit_lts__" failed.
queueToDevice (IndexedDB store) › non-timed tests › retries on when client is started: spec/unit/queueToDevice.spec.ts#L153
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at Object.toEqual (spec/unit/queueToDevice.spec.ts:153:62) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
queueToDevice (IndexedDB store) › non-timed tests › splits many messages into multiple HTTP requests: spec/unit/queueToDevice.spec.ts#L219
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 20 at Array.toEqual (spec/unit/queueToDevice.spec.ts:219:71) at HttpBackend._takeFromQueue (node_modules/matrix-mock-request/lib/index.js:249:34) at _tryFlush (node_modules/matrix-mock-request/lib/index.js:134:20) at Timeout.tryFlush [as _onTimeout] (node_modules/matrix-mock-request/lib/index.js:124:13)
queueToDevice (IndexedDB store) › async tests › retries on error: spec/unit/queueToDevice.spec.ts#L274
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 96 @@ -1,8 +1,103 @@ Object { "messages": Object { - "@alice:example.org": Object { + "@user0:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@User10:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user11:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user12:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user13:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user14:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user15:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user16:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user17:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user18:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user19:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user1:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user2:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user3:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user4:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user5:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user6:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user7:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user8:example.org": Object { + "AAAAAAAA": Object { + "foo": 42, + }, + }, + "@user9:example.org": Object { "AAAAAAAA": Object { "foo": 42, }, }, }, at Array.toEqual (spec/unit/queueToDevice.spec.ts:274:42) at HttpBackend._takeFromQueue (node_modules/matrix-mock-request/lib/index.js:249:34) at HttpBackend.flushSync (node_modules/matrix-mock-request/lib/index.js:330:61) at Object.flushSync (spec/unit/queueToDevice.spec.ts:289:32) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › sends: spec/unit/embedded.spec.ts#L148
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 (spec/unit/embedded.spec.ts:148:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › send handles wrong field in response: spec/unit/embedded.spec.ts#L160
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 (spec/unit/embedded.spec.ts:160:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › receives: spec/unit/embedded.spec.ts#L171
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 (spec/unit/embedded.spec.ts:171:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
RoomWidgetClient › events › local echos › get response then local echo: spec/unit/embedded.spec.ts#L265
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:265:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › local echos › get local echo then response: spec/unit/embedded.spec.ts#L291
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:291:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › local echos › __ local echo then response: spec/unit/embedded.spec.ts#L330
TypeError: Cannot read properties of undefined (reading 'getType') at Object.getType (spec/unit/embedded.spec.ts:330:35) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
RoomWidgetClient › events › handles widget errors with generic error data: spec/unit/embedded.spec.ts#L341
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 (spec/unit/embedded.spec.ts:341:9) at describe (spec/unit/embedded.spec.ts:147:5) at Object.describe (spec/unit/embedded.spec.ts:117:1)
Jest tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-integ-22
156 KB
coverage-integ-lts
156 KB