Skip to content

test: add e2e tests #12

test: add e2e tests

test: add e2e tests #12

Triggered via pull request January 29, 2026 06:58
@BreadGenieBreadGenie
synchronize #23
e2e-tests
Status Failure
Total duration 6m 39s
Artifacts 1

e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 notice
E2E Tests
Process completed with exit code 1.
[chromium] › specs/media/video-audio-toggle.spec.ts:91:6 › Audio Toggle › remote participant should see audio state change: e2e/page-objects/ToolbarControls.ts#L43
4) [chromium] › specs/media/video-audio-toggle.spec.ts:91:6 › Audio Toggle › remote participant should see audio state change Error: locator.waitFor: Target page, context or browser has been closed Call log: - waiting for getByRole('button', { name: 'Toggle Audio' }).first() to be visible at ../page-objects/ToolbarControls.ts:43 41 | await this.waitForToolbarVisible(); 42 | await this.dismissBlockingToasts(); > 43 | await this.micButton.waitFor({ state: "visible", timeout: 5000 }); | ^ 44 | await this.micButton.click(); 45 | await this.page.waitForTimeout(250); 46 | } at ToolbarControls.toggleMicrophone (/home/runner/work/meet/meet/e2e/page-objects/ToolbarControls.ts:43:24) at /home/runner/work/meet/meet/e2e/specs/media/video-audio-toggle.spec.ts:107:3
[chromium] › specs/media/video-audio-toggle.spec.ts:91:6 › Audio Toggle › remote participant should see audio state change: e2e/specs/media/video-audio-toggle.spec.ts#L0
4) [chromium] › specs/media/video-audio-toggle.spec.ts:91:6 › Audio Toggle › remote participant should see audio state change Test timeout of 30000ms exceeded.
[chromium] › specs/media/video-audio-toggle.spec.ts:70:6 › Audio Toggle › should be able to toggle microphone off and on: e2e/page-objects/ToolbarControls.ts#L44
3) [chromium] › specs/media/video-audio-toggle.spec.ts:70:6 › Audio Toggle › should be able to toggle microphone off and on Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByRole('button', { name: 'Toggle Audio' }).first() - locator resolved to <button type="button" title="Toggle Audio (Ctrl+D)" class="!rounded-full p-0 !bg-opacity-90 hover:!bg-opacity-100 transition-all duration-200 hover:scale-105 active:scale-95 inline-flex items-center justify-center gap-2 transition-colors focus:outline-none shrink-0 text-ink-white bg-surface-gray-7 hover:bg-surface-gray-6 active:bg-surface-gray-5 focus-visible:ring focus-visible:ring-outline-gray-3 h-13 w-13 rounded-xl">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 100ms 14 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms at ../page-objects/ToolbarControls.ts:44 42 | await this.dismissBlockingToasts(); 43 | await this.micButton.waitFor({ state: "visible", timeout: 5000 }); > 44 | await this.micButton.click(); | ^ 45 | await this.page.waitForTimeout(250); 46 | } 47 | at ToolbarControls.toggleMicrophone (/home/runner/work/meet/meet/e2e/page-objects/ToolbarControls.ts:44:24) at /home/runner/work/meet/meet/e2e/specs/media/video-audio-toggle.spec.ts:79:3
[chromium] › specs/media/video-audio-toggle.spec.ts:70:6 › Audio Toggle › should be able to toggle microphone off and on: e2e/specs/media/video-audio-toggle.spec.ts#L0
3) [chromium] › specs/media/video-audio-toggle.spec.ts:70:6 › Audio Toggle › should be able to toggle microphone off and on Test timeout of 30000ms exceeded.
[chromium] › specs/media/video-audio-toggle.spec.ts:28:6 › Video Toggle › remote participant should see video state change: e2e/page-objects/ToolbarControls.ts#L147
2) [chromium] › specs/media/video-audio-toggle.spec.ts:28:6 › Video Toggle › remote participant should see video state change Error: expect.toBeVisible: Target page, context or browser has been closed at ../page-objects/ToolbarControls.ts:147 145 | // Ensure toolbar and primary controls are visible 146 | await this.waitForToolbarReady(); > 147 | await expect(this.cameraButton).toBeVisible({ timeout: 5000 }); | ^ 148 | } 149 | 150 | async dismissBlockingToasts() { at ToolbarControls.waitForToolbarVisible (/home/runner/work/meet/meet/e2e/page-objects/ToolbarControls.ts:147:35) at ToolbarControls.toggleCamera (/home/runner/work/meet/meet/e2e/page-objects/ToolbarControls.ts:49:3) at /home/runner/work/meet/meet/e2e/specs/media/video-audio-toggle.spec.ts:44:3
[chromium] › specs/media/video-audio-toggle.spec.ts:28:6 › Video Toggle › remote participant should see video state change: e2e/specs/media/video-audio-toggle.spec.ts#L0
2) [chromium] › specs/media/video-audio-toggle.spec.ts:28:6 › Video Toggle › remote participant should see video state change Test timeout of 30000ms exceeded.
[chromium] › specs/media/video-audio-toggle.spec.ts:4:6 › Video Toggle › should be able to toggle camera off and on: e2e/page-objects/ToolbarControls.ts#L51
1) [chromium] › specs/media/video-audio-toggle.spec.ts:4:6 › Video Toggle › should be able to toggle camera off and on TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Toggle Video' }).first() to be visible at ../page-objects/ToolbarControls.ts:51 49 | await this.waitForToolbarVisible(); 50 | await this.dismissBlockingToasts(); > 51 | await this.cameraButton.waitFor({ state: "visible", timeout: 5000 }); | ^ 52 | await this.cameraButton.click(); 53 | await this.page.waitForTimeout(300); 54 | } at ToolbarControls.toggleCamera (/home/runner/work/meet/meet/e2e/page-objects/ToolbarControls.ts:51:27) at /home/runner/work/meet/meet/e2e/specs/media/video-audio-toggle.spec.ts:14:3
🎭 Playwright Run Summary
4 failed [chromium] › specs/media/video-audio-toggle.spec.ts:4:6 › Video Toggle › should be able to toggle camera off and on [chromium] › specs/media/video-audio-toggle.spec.ts:28:6 › Video Toggle › remote participant should see video state change [chromium] › specs/media/video-audio-toggle.spec.ts:70:6 › Audio Toggle › should be able to toggle microphone off and on [chromium] › specs/media/video-audio-toggle.spec.ts:91:6 › Audio Toggle › remote participant should see audio state change

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
24.1 MB
sha256:1c1120f3ab2348c0fd1c6aeb18811f216f0fd642e66f65c1aa001e9fb868f741