Skip to content

[ECO-4904] Add Unified Test Suite CI action #5

[ECO-4904] Add Unified Test Suite CI action

[ECO-4904] Add Unified Test Suite CI action #5

Re-run triggered October 17, 2024 13:11
Status Failure
Total duration 1m 36s
Artifacts

unified-test-suite.yml

on: pull_request
unified-test-suite
1m 7s
unified-test-suite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/core/chat.integration.test.ts > Chat > should add a new agent string: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/core/chat.integration.test.ts#L37
TypeError: Cannot read properties of undefined (reading 'agents') ❯ test/core/chat.integration.test.ts:37:56
test/core/chat.integration.test.ts > Chat > should work using basic auth: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/core/chat.integration.test.ts#L52
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connections": 0, + Object { + "connections": 1, "presenceMembers": 0, } ❯ test/core/chat.integration.test.ts:52:45
test/core/chat.integration.test.ts > Chat > should work using msgpack: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/core/chat.integration.test.ts#L64
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connections": 0, + Object { + "connections": 1, "presenceMembers": 0, } ❯ test/core/chat.integration.test.ts:64:45
test/core/chat.integration.test.ts > Chat > should have a connection state: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/core/chat.integration.test.ts#L25
Error: Connection status connected not reached ❯ Timeout._onTimeout test/core/chat.integration.test.ts:25:14
test/core/messages.integration.test.ts > messages integration > should be able to send and receive chat messages: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/core/messages.integration.test.ts#L48
AssertionError: expected [ { …(8) }, { …(8) } ] to deeply equal [ ObjectContaining{…}, …(1) ] - Expected + Received Array [ - ObjectContaining { + Object { + "_calculatedTimeserial": Object { + "counter": 0, + "seriesId": "e7dqCEjmABhXbP98558502", + "timestamp": 1729170783576, + }, "clientId": "ably-chat-js-client-0a08br", + "createdAt": "2024-10-17T13:13:03.576Z", + "headers": Object {}, + "metadata": Object {}, + "roomId": "ably-chat-js-room-zxc1yn", "text": "Hello there!", - "timeserial": "e7dqCEjmABhXbP98558502@1729170783576-0:0", + "timeserial": "e7dqCEjmABhXbP98558502@1729170783576-0", + }, + Object { + "_calculatedTimeserial": Object { + "counter": 0, + "seriesId": "e7dqCEjmABhXbP98558502", + "timestamp": 1729170783600, }, - ObjectContaining { "clientId": "ably-chat-js-client-0a08br", + "createdAt": "2024-10-17T13:13:03.600Z", + "headers": Object {}, + "metadata": Object {}, + "roomId": "ably-chat-js-room-zxc1yn", "text": "I have the high ground!", - "timeserial": "e7dqCEjmABhXbP98558502@1729170783600-0:0", + "timeserial": "e7dqCEjmABhXbP98558502@1729170783600-0", }, ] ❯ test/core/messages.integration.test.ts:48:44
test/core/messages.integration.test.ts > messages integration > should be able to retrieve chat history: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/unified-clients/jsonrpc/blocking.ts#L35
Error: Cannot read properties of undefined (reading 'items') ❯ new JSONRPCErrorException node_modules/json-rpc-2.0/dist/models.js:55:28 ❯ BlockingClient.requestWithID test/unified-clients/jsonrpc/blocking.ts:35:13 ❯ BlockingClient.request test/unified-clients/jsonrpc/blocking.ts:15:17 ❯ RpcPaginatedResult.get items [as items] test/unified-clients/RpcPaginatedResult.ts:15:42 ❯ test/core/messages.integration.test.ts:68:42 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: +0, data: undefined, toObject: 'Function<anonymous>' }
test/core/messages.integration.test.ts > messages integration > should be able to paginate chat history: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/unified-clients/jsonrpc/blocking.ts#L35
Error: Cannot read properties of undefined (reading 'items') ❯ new JSONRPCErrorException node_modules/json-rpc-2.0/dist/models.js:55:28 ❯ BlockingClient.requestWithID test/unified-clients/jsonrpc/blocking.ts:35:13 ❯ BlockingClient.request test/unified-clients/jsonrpc/blocking.ts:15:17 ❯ RpcPaginatedResult.get items [as items] test/unified-clients/RpcPaginatedResult.ts:15:42 ❯ test/core/messages.integration.test.ts:95:43 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: +0, data: undefined, toObject: 'Function<anonymous>' }
test/core/messages.integration.test.ts > messages integration > should be able to paginate chat history, but backwards: opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/@ably-labs/uts-chat/test/unified-clients/jsonrpc/blocking.ts#L35
Error: Cannot read properties of undefined (reading 'items') ❯ new JSONRPCErrorException node_modules/json-rpc-2.0/dist/models.js:55:28 ❯ BlockingClient.requestWithID test/unified-clients/jsonrpc/blocking.ts:35:13 ❯ BlockingClient.request test/unified-clients/jsonrpc/blocking.ts:15:17 ❯ RpcPaginatedResult.get items [as items] test/unified-clients/RpcPaginatedResult.ts:15:42 ❯ test/core/messages.integration.test.ts:131:43 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: +0, data: undefined, toObject: 'Function<anonymous>' }