Fix #7921 and added test cases (#892) #228
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
unit-tests.yml
on: push
Matrix: Run unit and stack tests
Matrix: Run browser SDK production e2e tests / Run E2E tests
Matrix: Run browser SDK staging e2e tests / Run E2E tests
Matrix: Run RealtimeAPI SDK production e2e tests / Run E2E tests
Matrix: Run RealtimeAPI SDK staging e2e tests / Run E2E tests
Annotations
4 errors, 14 warnings, and 7 notices
Run RealtimeAPI SDK production e2e tests / Run E2E tests (18.x)
Process completed with exit code 1.
|
[default] › callfabric/videoRoom.spec.ts:12:7 › CallFabric VideoRoom › should handle joining a room:
internal/e2e-js/tests/callfabric/videoRoom.spec.ts#L144
1) [default] › callfabric/videoRoom.spec.ts:12:7 › CallFabric VideoRoom › should handle joining a room, perform actions and then leave the room
Error: expect(received).toStrictEqual(expected) // deep equality
- Expected - 3
+ Received + 1
- Object {
- "something": "xx-yy-zzz",
- }
+ Object {}
142 | return roomObj.getMeta()
143 | })
> 144 | expect(currentMeta.meta).toStrictEqual(expected)
| ^
145 | }
146 | await expectRoomMeta({})
147 |
at expectRoomMeta (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/callfabric/videoRoom.spec.ts:144:32)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/callfabric/videoRoom.spec.ts:161:5
|
[default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room:
internal/e2e-js/tests/roomSession.spec.ts#L488
2) [default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room, perform actions and then leave the room
Error: page.evaluate: Target closed
486 | const expectRoomMemberMeta = async (expected: any) => {
487 | // --------------- Get Room Meta ---------------
> 488 | const initialMeta: any = await page.evaluate(() => {
| ^
489 | // @ts-expect-error
490 | const roomObj: Video.RoomSession = window._roomObj
491 | return roomObj.getMemberMeta()
at expectRoomMemberMeta (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSession.spec.ts:488:43)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSession.spec.ts:587:5
|
Run browser SDK staging e2e tests / Run E2E tests (18.x, default)
Process completed with exit code 1.
|
Slow Test:
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts#L1
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts took 52.2s
|
Slow Test:
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts#L1
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts took 50.9s
|
Slow Test:
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts#L1
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts took 1.1m
|
Slow Test:
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts#L1
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts took 52.0s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 45.0s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts took 36.7s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts took 35.5s
|
Slow Test:
internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 35.1s
|
Slow Test:
internal/e2e-js/[default] › roomSessionDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionDemote.spec.ts took 31.7s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 51.1s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts took 40.3s
|
Slow Test:
internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 39.8s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts took 38.6s
|
Slow Test:
internal/e2e-js/[default] › roomSessionDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionDemote.spec.ts took 32.9s
|
🎭 Playwright Run Summary
2 passed (23.3s)
|
🎭 Playwright Run Summary
2 passed (18.3s)
|
🎭 Playwright Run Summary
2 passed (1.7m)
|
🎭 Playwright Run Summary
5 passed (45.7s)
|
🎭 Playwright Run Summary
2 passed (2.0m)
|
🎭 Playwright Run Summary
63 passed (10.9m)
|
🎭 Playwright Run Summary
2 failed
[default] › callfabric/videoRoom.spec.ts:12:7 › CallFabric VideoRoom › should handle joining a room, perform actions and then leave the room
[default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room, perform actions and then leave the room
61 passed (12.2m)
|