v2 WebRTC Calling Tests #4204
Annotations
3 errors, 10 warnings, and 5 notices
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:184:7 › v2WebrtcFromRestTwoJoinAudioVideo › should handle a call from REST API to v2 clients:
internal/e2e-js/utils.ts#L869
1) [v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:184:7 › v2WebrtcFromRestTwoJoinAudioVideo › should handle a call from REST API to v2 clients, dialing both into a Conference at answer, audio/video
Error: expect(received).toBeGreaterThan(expected)
Expected: > 2.5
Received: 1.780797452257024e-8
at ../utils.ts:869
867 | const packetsReceived = audioStats['inbound-rtp']['packetsReceived']
868 | if (totalAudioEnergy) ***
> 869 | expect(totalAudioEnergy).toBeGreaterThan(minTotalAudioEnergy)
| ^
870 | *** else ***
871 | console.log('Warning: totalAudioEnergy was missing from the report!')
872 | if (packetsReceived) ***
at expectv2HasReceivedAudio (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:869:30)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts:276:5
|
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:294:7 › v2WebrtcFromRestTwoJoinAudio › should handle a call from REST API to v2 clients:
internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts#L354
2) [v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:294:7 › v2WebrtcFromRestTwoJoinAudio › should handle a call from REST API to v2 clients, dialing both into a Conference at answer, audio G711
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 "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:16 Reason: NORMAL_CLEARING"
352 | const callStatusCallee = pageCallee.locator('#callStatus')
353 | expect(callStatusCallee).not.toBe(null)
> 354 | await expect(callStatusCallee).toContainText('-> active')
| ^
355 |
356 | console.log('The call is active at ', new Date())
357 |
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/v2Webrtc/v2WebrtcFromRest.spec.ts:354:36
|
Run E2E tests (eu, production-eu, PRODUCTION_E2E_JS_EUREGION_SW_TEST_CONFIG, region="eu")
Process completed with exit code 1.
|
🎭 Playwright Run Summary
7 passed (2.1m)
|
🎭 Playwright Run Summary
7 passed (2.4m)
|
🎭 Playwright Run Summary
2 failed
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:184:7 › v2WebrtcFromRestTwoJoinAudioVideo › should handle a call from REST API to v2 clients, dialing both into a Conference at answer, audio/video
[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts:294:7 › v2WebrtcFromRestTwoJoinAudio › should handle a call from REST API to v2 clients, dialing both into a Conference at answer, audio G711
5 passed (2.1m)
|
🎭 Playwright Run Summary
7 passed (2.1m)
|
🎭 Playwright Run Summary
7 passed (2.6m)
|
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 25.9s
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts took 1.8m
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts took 31.4s
|
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 31.9s
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts took 1.7m
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts took 25.7s
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/v2WebrtcFromRest.spec.ts took 2.0m
|
Slow Test:
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts#L1
internal/e2e-js/[v2WebRTC] › v2Webrtc/webrtcCalling.spec.ts took 29.9s
|