Skip to content

Browser SDK [staging] #1932

Browser SDK [staging]

Browser SDK [staging] #1932

Triggered via schedule August 12, 2024 08:18
Status Failure
Total duration 14m 55s
Artifacts

browser-js-staging.yml

on: schedule
Matrix: Run E2E tests
report-result
8s
report-result
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 3 notices
[default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement: internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts#L1
1) [default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement Test timeout of 120000ms exceeded.
[default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement: internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts#L74
1) [default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement Error: page.$: Target page, context or browser has been closed 72 | ) 73 | > 74 | const videoElement = await page.$('div[id^="sw-sdk-"] > video') | ^ 75 | expect(videoElement).toBeNull() 76 | expect(element).not.toBeNull() 77 | ***) at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts:74:37
[default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement: internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts#L1
1) [default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement Pending operations: - page.evaluate at tests/callfabric/buildVideoElement.spec.ts:48:36
[default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements: internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts#L1
2) [default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements Test timeout of 120000ms exceeded.
[default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements: internal/e2e-js/utils.ts#L391
2) [default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements Error: page.waitForSelector: Target closed =========================== logs =========================== waiting for locator('div[id^="sw-sdk-"] > video') to be visible ============================================================ at ../utils.ts:391 389 | 390 | export const expectMCUVisible = async (page: Page) => *** > 391 | await page.waitForSelector('div[id^="sw-sdk-"] > video') | ^ 392 | *** 393 | 394 | export const expectMCUVisibleForAudience = async (page: Page) => *** at expectMCUVisible (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:391:14) at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts:111:27
[default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements: internal/e2e-js/tests/callfabric/buildVideoElement.spec.ts#L1
2) [default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements Pending operations: - page.waitForSelector at utils.ts:391:14
[default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room: internal/e2e-js/tests/roomSession.spec.ts#L168
3) [default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room, perform actions and then leave the room Error: page.evaluate: Object 166 | 167 | // --------------- Session Recording --------------- > 168 | await page.evaluate(async () => *** | ^ 169 | // @ts-expect-error 170 | const roomObj: Video.RoomSession = window._roomObj 171 | at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSession.spec.ts:168:16
[default] › roomSession.spec.ts:598:7 › RoomSession › should allow retrieving the room session recordings and playbacks: internal/e2e-js/tests/roomSession.spec.ts#L636
4) [default] › roomSession.spec.ts:598:7 › RoomSession › should allow retrieving the room session recordings and playbacks Error: page.evaluate: Object 634 | 635 | // --------------- Start recording and playback from 1st room --------------- > 636 | await pageOne.evaluate( | ^ 637 | async (*** PLAYBACK_URL ***) => *** 638 | // @ts-expect-error 639 | const roomObj: Video.RoomSession = window._roomObj at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSession.spec.ts:636:19
[default] › roomSessionRemoveAt.spec.ts:40:9 › RoomSession remove_at › should remove all members after the remove_at value [random room name from room config]: internal/e2e-js/tests/roomSessionRemoveAt.spec.ts#L1
5) [default] › roomSessionRemoveAt.spec.ts:40:9 › RoomSession remove_at › should remove all members after the remove_at value [random room name from room config] Test timeout of 120000ms exceeded.
[default] › roomSessionRemoveAt.spec.ts:40:9 › RoomSession remove_at › should remove all members after the remove_at value [random room name from room config]: internal/e2e-js/utils.ts#L373
5) [default] › roomSessionRemoveAt.spec.ts:40:9 › RoomSession remove_at › should remove all members after the remove_at value [random room name from room config] Error: page.evaluate: Target closed at ../utils.ts:373 371 | options: *** invokeJoin: boolean *** = *** invokeJoin: true *** 372 | ) => *** > 373 | return page.evaluate((*** invokeJoin ***) => *** | ^ 374 | return new Promise<any>(async (resolve, reject) => *** 375 | // @ts-expect-error 376 | const roomObj: Video.RoomSession = window._roomObj at expectRoomJoined (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:373:15) at createTestRoomSession (/home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/utils.ts:113:5) at /home/runner/work/signalwire-js/signalwire-js/internal/e2e-js/tests/roomSessionRemoveAt.spec.ts:59:7
Slow Test: internal/e2e-js/[callfabric] › callfabric/swml.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/swml.spec.ts took 34.0s
Slow Test: internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/relayApp.spec.ts took 23.3s
Slow Test: internal/e2e-js/[callfabric] › callfabric/videoRoom.spec.ts#L1
internal/e2e-js/[callfabric] › callfabric/videoRoom.spec.ts took 21.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 29.1s
Slow Test: internal/e2e-js/[default] › callfabric/buildVideoElement.spec.ts#L1
internal/e2e-js/[default] › callfabric/buildVideoElement.spec.ts took 5.6m
Slow Test: internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAt.spec.ts took 2.3m
Slow Test: internal/e2e-js/[default] › roomSession.spec.ts#L1
internal/e2e-js/[default] › roomSession.spec.ts took 1.3m
Slow Test: internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts#L1
internal/e2e-js/[default] › roomSessionJoinFrom.spec.ts took 53.9s
Slow Test: internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts#L1
internal/e2e-js/[default] › roomSessionRemoveAfterSecondsElapsed.spec.ts took 41.3s
🎭 Playwright Run Summary
10 passed (1.5m)
🎭 Playwright Run Summary
7 passed (2.3m)
🎭 Playwright Run Summary
5 failed [default] › callfabric/buildVideoElement.spec.ts:40:7 › buildVideoElement › should return the rootElement [default] › callfabric/buildVideoElement.spec.ts:79:7 › buildVideoElement › should render multiple video elements [default] › roomSession.spec.ts:14:7 › RoomSession › should handle joining a room, perform actions and then leave the room [default] › roomSession.spec.ts:598:7 › RoomSession › should allow retrieving the room session recordings and playbacks [default] › roomSessionRemoveAt.spec.ts:40:9 › RoomSession remove_at › should remove all members after the remove_at value [random room name from room config] 2 skipped 34 passed (14.3m)