CF & Video SDKs: Allow user to update media with renegotiation (#1137) #1699
unit-tests.yml
on: push
Matrix: Run unit and stack tests
Matrix: Browser SDK production / Run E2E tests
Matrix: Browser SDK staging / Run E2E tests
Matrix: RealtimeAPI SDK production / Run E2E tests
Matrix: RealtimeAPI SDK staging / Run E2E tests
Browser SDK production
/
report-result
2s
Browser SDK staging
/
report-result
4s
RealtimeAPI SDK production
/
report-result
4s
RealtimeAPI SDK staging
/
report-result
3s
Annotations
8 errors, 42 warnings, and 17 notices
[default] › video.test.ts:14:7 › Video › should join the room and listen for events:
internal/e2e-realtime-api/src/playwright/video.test.ts#L1
1) [default] › video.test.ts:14:7 › Video › should join the room and listen for events ───────────
Test timeout of 60000ms exceeded.
|
RealtimeAPI SDK production / Run E2E tests (20.x, dev:playwright)
Process completed with exit code 1.
|
[callfabric] › callfabric/conversation.spec.ts:10:7 › Conversation Room › send message in a room conversation:
internal/e2e-js/tests/callfabric/conversation.spec.ts#L97
1) [callfabric] › callfabric/conversation.spec.ts:10:7 › Conversation Room › send message in a room conversation
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
95 | expect(messages).not.toBeUndefined()
96 |
> 97 | expect(messages.data.length).toEqual(2)
| ^
98 | expect(messages.data[0]).toMatchObject(***
99 | conversation_id: addressId,
100 | details: ***,
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/callfabric/conversation.spec.ts:97:34
|
Browser SDK production / Run E2E tests (20.x, callfabric)
Process completed with exit code 1.
|
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:106:7 › v2WebrtcFromRest › should handle a call from REST API to v2 client:
internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts#L157
1) [v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:106:7 › v2WebrtcFromRest › should handle a call from REST API to v2 client, dialing into a Conference at answer
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "-> active"
Received string: "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('#callStatus')
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "new -> ringing Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
155 | const callStatusCallee = pageCallee.locator('#callStatus')
156 | expect(callStatusCallee).not.toBe(null)
> 157 | await expect(callStatusCallee).toContainText('-> active')
| ^
158 |
159 | console.log('The call is active at ', new Date())
160 |
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts:157:36
|
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:309:7 › v2WebrtcFromRestTwoJoinAudioTURN › should handle a call from REST API to 2 v2 clients:
internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts#L374
2) [v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:309:7 › v2WebrtcFromRestTwoJoinAudioTURN › should handle a call from REST API to 2 v2 clients, dialing both into a Conference at answer, audio G711, TURN only
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "-> active"
Received string: "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('#callStatus')
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "new -> ringing Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
372 | const callStatusCallee1 = pageCallee1.locator('#callStatus')
373 | expect(callStatusCallee1).not.toBe(null)
> 374 | await expect(callStatusCallee1).toContainText('-> active')
| ^
375 |
376 | console.log('call1 is active at ', new Date())
377 |
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts:374:37
|
[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts:120:7 › v2WebrtcCalling › should receive a call from LaML and expect to receive audio:
internal/e2e-js/tests/v2Webrtc/webrtcCalling.spec.ts#L157
3) [v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts:120:7 › v2WebrtcCalling › should receive a call from LaML and expect to receive audio
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "-> active"
Received string: "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('#callStatus')
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">None</span>
- unexpected value "None"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "ringing -> answering Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "answering -> hangup Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
155 | const callStatusCallee = pageCallee.locator('#callStatus')
156 | expect(callStatusCallee).not.toBe(null)
> 157 | await expect(callStatusCallee).toContainText('-> active')
| ^
158 |
159 | const callDurationMs = 20000
160 |
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/v2Webrtc/webrtcCalling.spec.ts:157:36
|
Browser SDK staging / Run E2E tests (20.x, v2WebRTC)
Process completed with exit code 1.
|
Slow Test:
internal/e2e-js/[badNetwork] › roomSessionBadNetwork.spec.ts#L1
internal/e2e-js/[badNetwork] › roomSessionBadNetwork.spec.ts took 50.5s
|
Slow Test:
internal/e2e-js/[videoElement] › buildVideoWithFabricSDK.spec.ts#L1
internal/e2e-js/[videoElement] › buildVideoWithFabricSDK.spec.ts took 29.9s
|
Slow Test:
internal/e2e-js/[videoElement] › buildVideoWithVideoSDK.spec.ts#L1
internal/e2e-js/[videoElement] › buildVideoWithVideoSDK.spec.ts took 27.0s
|
Slow Test:
internal/e2e-js/[reattach] › roomSessionReattachMultiple.spec.ts#L1
internal/e2e-js/[reattach] › roomSessionReattachMultiple.spec.ts took 23.3s
|
Slow Test:
internal/e2e-js/[reattach] › roomSessionReattach.spec.ts#L1
internal/e2e-js/[reattach] › roomSessionReattach.spec.ts took 21.5s
|
Slow Test:
internal/e2e-js/[audience] › roomSessionAudienceCount.spec.ts#L1
internal/e2e-js/[audience] › roomSessionAudienceCount.spec.ts took 26.5s
|
Slow Test:
internal/e2e-js/[audience] › roomSessionFollowLeader.spec.ts#L1
internal/e2e-js/[audience] › roomSessionFollowLeader.spec.ts took 22.6s
|
Slow Test:
internal/e2e-js/[promote] › roomSessionPromoteDemote.spec.ts#L1
internal/e2e-js/[promote] › roomSessionPromoteDemote.spec.ts took 37.1s
|
Slow Test:
internal/e2e-js/[promote] › roomSessionPromoteReattachDemote.spec.ts#L1
internal/e2e-js/[promote] › roomSessionPromoteReattachDemote.spec.ts took 35.4s
|
Slow Test:
internal/e2e-js/[promote] › roomSessionPromoteMeta.spec.ts#L1
internal/e2e-js/[promote] › roomSessionPromoteMeta.spec.ts took 15.1s
|
Slow Test:
internal/e2e-js/[demote] › roomSessionDemote.spec.ts#L1
internal/e2e-js/[demote] › roomSessionDemote.spec.ts took 30.6s
|
Slow Test:
internal/e2e-js/[demote] › roomSessionDemoteReattachPromote.spec.ts#L1
internal/e2e-js/[demote] › roomSessionDemoteReattachPromote.spec.ts took 24.5s
|
Slow Test:
internal/e2e-js/[demote] › roomSessionDemotePromote.spec.ts#L1
internal/e2e-js/[demote] › roomSessionDemotePromote.spec.ts took 21.0s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/swml.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/swml.spec.ts took 28.4s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts took 20.1s
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts took 1.6m
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts took 15.6s
|
Slow Test:
internal/e2e-js/[videoElement] › buildVideoWithFabricSDK.spec.ts#L1
internal/e2e-js/[videoElement] › buildVideoWithFabricSDK.spec.ts took 1.2m
|
Slow Test:
internal/e2e-js/[videoElement] › buildVideoWithVideoSDK.spec.ts#L1
internal/e2e-js/[videoElement] › buildVideoWithVideoSDK.spec.ts took 47.5s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/swml.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/swml.spec.ts took 30.2s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/raiseHand.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/raiseHand.spec.ts took 23.5s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/reattach.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/reattach.spec.ts took 21.9s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts took 21.1s
|
Slow Test:
internal/e2e-js/[callfabric] › callfabric/videoRoom.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/videoRoom.spec.ts took 21.0s
|
Slow Test:
internal/e2e-js/[renegotiation] › roomSessionUpdateMedia.spec.ts#L1
internal/e2e-js/[renegotiation] › roomSessionUpdateMedia.spec.ts took 1.2m
|
Slow Test:
internal/e2e-js/[renegotiation] › callfabric/renegotiateAudio.spec.ts#L1
internal/e2e-js/[renegotiation] › callfabric/renegotiateAudio.spec.ts took 57.7s
|
Slow Test:
internal/e2e-js/[renegotiation] › callfabric/renegotiateVideo.spec.ts#L1
internal/e2e-js/[renegotiation] › callfabric/renegotiateVideo.spec.ts took 24.7s
|
Slow Test:
internal/e2e-js/[renegotiation] › roomSessionUpdateMedia.spec.ts#L1
internal/e2e-js/[renegotiation] › roomSessionUpdateMedia.spec.ts took 1.3m
|
Slow Test:
internal/e2e-js/[renegotiation] › callfabric/renegotiateAudio.spec.ts#L1
internal/e2e-js/[renegotiation] › callfabric/renegotiateAudio.spec.ts took 1.2m
|
Slow Test:
internal/e2e-js/[renegotiation] › callfabric/renegotiateVideo.spec.ts#L1
internal/e2e-js/[renegotiation] › callfabric/renegotiateVideo.spec.ts took 36.2s
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts took 2.6m
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts took 26.0s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 44.7s
|
Slow Test:
internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts took 29.7s
|
Slow Test:
internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 28.3s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinUntil.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinUntil.spec.ts took 24.4s
|
Slow Test:
internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts took 21.0s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 59.0s
|
Slow Test:
internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 44.9s
|
Slow Test:
internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts took 31.9s
|
Slow Test:
internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts took 30.0s
|
Slow Test:
internal/e2e-js/[default] › roomSessionDevices.spec.ts#L1
internal/e2e-js/[default] › roomSessionDevices.spec.ts took 27.4s
|
🎭 Playwright Run Summary
5 passed (32.2s)
|
🎭 Playwright Run Summary
1 passed (51.2s)
|
🎭 Playwright Run Summary
12 passed (57.8s)
|
🎭 Playwright Run Summary
8 passed (1.2m)
|
🎭 Playwright Run Summary
4 passed (1.2m)
|
🎭 Playwright Run Summary
1 failed
[default] › video.test.ts:14:7 › Video › should join the room and listen for events ────────────
5 passed (1.5m)
|
🎭 Playwright Run Summary
4 passed (1.5m)
|
🎭 Playwright Run Summary
4 passed (1.5m)
|
🎭 Playwright Run Summary
1 failed
[callfabric] › callfabric/conversation.spec.ts:10:7 › Conversation Room › send message in a room conversation
2 skipped
19 passed (1.7m)
|
🎭 Playwright Run Summary
3 failed
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:106:7 › v2WebrtcFromRest › should handle a call from REST API to v2 client, dialing into a Conference at answer
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:309:7 › v2WebrtcFromRestTwoJoinAudioTURN › should handle a call from REST API to 2 v2 clients, dialing both into a Conference at answer, audio G711, TURN only
[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts:120:7 › v2WebrtcCalling › should receive a call from LaML and expect to receive audio
4 passed (1.9m)
|
🎭 Playwright Run Summary
12 passed (2.0m)
|
🎭 Playwright Run Summary
2 skipped
20 passed (2.6m)
|
🎭 Playwright Run Summary
8 passed (2.6m)
|
🎭 Playwright Run Summary
8 passed (3.1m)
|
🎭 Playwright Run Summary
7 passed (3.1m)
|
🎭 Playwright Run Summary
2 skipped
34 passed (4.1m)
|
🎭 Playwright Run Summary
2 skipped
34 passed (5.9m)
|