Skip to content

Distinguish room state and timeline events when dealing with widgets #1612

Distinguish room state and timeline events when dealing with widgets

Distinguish room state and timeline events when dealing with widgets #1612

Triggered via pull request December 6, 2024 21:08
Status Failure
Total duration 5m 18s
Artifacts

tests.yml

on: pull_request
Matrix: Jest
jest-tests
2s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors
StopGapWidgetDriver › If the feature_dynamic_room_predecessors feature is not enabled › passes the flag through to getVisibleRooms: test/unit-tests/stores/widgets/StopGapWidgetDriver-test.ts#L573
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: false Number of calls: 0 at Object.toHaveBeenCalledWith (test/unit-tests/stores/widgets/StopGapWidgetDriver-test.ts:573:44)
StopGapWidgetDriver › If the feature_dynamic_room_predecessors is enabled › passes the flag through to getVisibleRooms: test/unit-tests/stores/widgets/StopGapWidgetDriver-test.ts#L588
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: true Number of calls: 0 at Object.toHaveBeenCalledWith (test/unit-tests/stores/widgets/StopGapWidgetDriver-test.ts:588:44)
Jest (1)
Process completed with exit code 1.
StopGapWidget › should replace parameters in widget url template: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feeds incoming to-device messages to the widget: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feed event › feeds incoming event to the widget: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feed event › should not feed incoming event to the widget if seen already: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feed event › feeds decrypted events asynchronously: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feed event › should not feed incoming event if not in timeline: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget › feed event › feeds incoming event that is not in timeline but relates to unknown parent to the widget: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:54:16)
StopGapWidget with stickyPromise › should wait for the sticky promise to resolve before starting messaging: src/stores/widgets/StopGapWidget.ts#L302
TypeError: this.messaging.setViewedRoomId is not a function at StopGapWidget.setViewedRoomId [as startMessaging] (src/stores/widgets/StopGapWidget.ts:302:28) at Object.startMessaging (test/unit-tests/stores/widgets/StopGapWidget-test.ts:267:16)
Jest (2)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.