Browser SDK [staging] #306
Annotations
6 errors, 7 warnings, and 3 notices
[default] › roomSessionDemoteAudience.spec.ts:14:7 › RoomSession demote method › should not be able to demote audience:
internal/e2e-js/utils.ts#L380
1) [default] › roomSessionDemoteAudience.spec.ts:14:7 › RoomSession demote method › should not be able to demote audience
Error: page.evaluate: Object
at ../utils.ts:380
378 | options: { invokeJoin: boolean } = { invokeJoin: true }
379 | ) => {
> 380 | return page.evaluate(({ invokeJoin }) => {
| ^
381 | return new Promise<any>(async (resolve, reject) => {
382 | // @ts-expect-error
383 | const roomObj: Video.RoomSession = window._roomObj
at expectRoomJoined (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:380:15)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSessionDemoteAudience.spec.ts:49:27
|
[default] › roomSessionDemotePromote.spec.ts:15:7 › RoomSession demote participant and then promote again › should demote participant and then promote again:
internal/e2e-js/utils.ts#L380
2) [default] › roomSessionDemotePromote.spec.ts:15:7 › RoomSession demote participant and then promote again › should demote participant and then promote again
Error: page.evaluate: Object
at ../utils.ts:380
378 | options: { invokeJoin: boolean } = { invokeJoin: true }
379 | ) => {
> 380 | return page.evaluate(({ invokeJoin }) => {
| ^
381 | return new Promise<any>(async (resolve, reject) => {
382 | // @ts-expect-error
383 | const roomObj: Video.RoomSession = window._roomObj
at expectRoomJoined (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:380:15)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSessionDemotePromote.spec.ts:51:27
|
[default] › roomSessionDemoteReattachPromote.spec.ts:16:7 › RoomSession demote participant:
internal/e2e-js/utils.ts#L380
3) [default] › roomSessionDemoteReattachPromote.spec.ts:16:7 › RoomSession demote participant, reattach and then promote again › should demote participant, reattach and then promote again
Error: page.evaluate: Object
at ../utils.ts:380
378 | options: { invokeJoin: boolean } = { invokeJoin: true }
379 | ) => {
> 380 | return page.evaluate(({ invokeJoin }) => {
| ^
381 | return new Promise<any>(async (resolve, reject) => {
382 | // @ts-expect-error
383 | const roomObj: Video.RoomSession = window._roomObj
at expectRoomJoined (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:380:15)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSessionDemoteReattachPromote.spec.ts:51:27
|
[default] › roomSessionDevices.spec.ts:11:7 › RoomSessionDevices › should emit the microphone:
internal/e2e-js/utils.ts#L380
4) [default] › roomSessionDevices.spec.ts:11:7 › RoomSessionDevices › should emit the microphone, and camera updated event
Error: page.evaluate: Object
at ../utils.ts:380
378 | options: { invokeJoin: boolean } = { invokeJoin: true }
379 | ) => {
> 380 | return page.evaluate(({ invokeJoin }) => {
| ^
381 | return new Promise<any>(async (resolve, reject) => {
382 | // @ts-expect-error
383 | const roomObj: Video.RoomSession = window._roomObj
at expectRoomJoined (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:380:15)
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSessionDevices.spec.ts:28:46
|
[default] › webrtcCalling.spec.ts:8:7 › V2Calling › should handle one webrtc endpoint calling to a second webrtc endpoint waiting to answer:
internal/e2e-js/tests/webrtcCalling.spec.ts#L103
5) [default] › webrtcCalling.spec.ts:8:7 › V2Calling › should handle one webrtc endpoint calling to a second webrtc endpoint waiting to answer
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "-> active"
Received string: "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('#callStatus')
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "requesting -> trying Early Media:false Answered: false"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
- locator resolved to <span id="callStatus">…</span>
- unexpected value "hangup -> destroy Code:3 Reason: NO_ROUTE_DESTINATION"
101 |
102 | // Wait for call to be active on both caller and callee
> 103 | await expect(callStatusCaller).toContainText('-> active')
| ^
104 | await expect(callStatusCallee).toContainText('-> active')
105 |
106 |
at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/webrtcCalling.spec.ts:103:36
|
Run E2E tests (18.x, default)
Process completed with exit code 1.
|
Slow Test:
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts#L1
internal/e2e-js/[slow] › roomSessionBadNetwork.spec.ts took 51.4s
|
Slow Test:
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts#L1
internal/e2e-js/[slow] › roomSessionAudienceCount.spec.ts took 50.3s
|
Slow Test:
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 49.3s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteDemote.spec.ts took 38.3s
|
Slow Test:
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionPromoteReattachDemote.spec.ts took 37.0s
|
Slow Test:
internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 34.5s
|
Slow Test:
internal/e2e-js/[default] › roomSessionDemote.spec.ts#L1
internal/e2e-js/[default] › roomSessionDemote.spec.ts took 32.7s
|
🎭 Playwright Run Summary
2 passed (18.8s)
|
🎭 Playwright Run Summary
2 passed (1.7m)
|
🎭 Playwright Run Summary
5 failed
[default] › roomSessionDemoteAudience.spec.ts:14:7 › RoomSession demote method › should not be able to demote audience
[default] › roomSessionDemotePromote.spec.ts:15:7 › RoomSession demote participant and then promote again › should demote participant and then promote again
[default] › roomSessionDemoteReattachPromote.spec.ts:16:7 › RoomSession demote participant, reattach and then promote again › should demote participant, reattach and then promote again
[default] › roomSessionDevices.spec.ts:11:7 › RoomSessionDevices › should emit the microphone, and camera updated event
[default] › webrtcCalling.spec.ts:8:7 › V2Calling › should handle one webrtc endpoint calling to a second webrtc endpoint waiting to answer
58 passed (10.7m)
|