Skip to content

Move top-left toolbar tools to improve screen visibility #161

Move top-left toolbar tools to improve screen visibility

Move top-left toolbar tools to improve screen visibility #161

Triggered via pull request October 27, 2024 14:29
Status Failure
Total duration 6m 2s
Artifacts 1

playwright.yml

on: pull_request
End to end tests
5m 54s
End to end tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo: apps/examples/e2e/tests/test-smoke.spec.ts#L29
1) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ─────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeDisabled() Locator: getByTestId('main.undo') Expected: disabled Received: <element(s) not found> Call log: - expect.toBeDisabled with timeout 5000ms - waiting for getByTestId('main.undo') 27 | test('undo and redo', async ({ page }) => { 28 | // buttons should be disabled when there is no history > 29 | expect(page.getByTestId('main.undo')).toBeDisabled() | ^ 30 | expect(page.getByTestId('main.redo')).toBeDisabled() 31 | 32 | // create a shape at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:29:41
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo: apps/examples/e2e/tests/test-smoke.spec.ts#L46
1) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ─────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByTestId('main.undo') 44 | 45 | // Click the undo button to undo the shape > 46 | await page.getByTestId('main.undo').click() | ^ 47 | 48 | expect(await getAllShapeTypes(page)).toEqual([]) 49 | expect(page.getByTestId('main.undo')).toBeDisabled() at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:46:39
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo: apps/examples/e2e/tests/test-smoke.spec.ts#L29
1) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeDisabled() Locator: getByTestId('main.undo') Expected: disabled Received: <element(s) not found> Call log: - expect.toBeDisabled with timeout 5000ms - waiting for getByTestId('main.undo') 27 | test('undo and redo', async ({ page }) => { 28 | // buttons should be disabled when there is no history > 29 | expect(page.getByTestId('main.undo')).toBeDisabled() | ^ 30 | expect(page.getByTestId('main.redo')).toBeDisabled() 31 | 32 | // create a shape at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:29:41
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo: apps/examples/e2e/tests/test-smoke.spec.ts#L46
1) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByTestId('main.undo') 44 | 45 | // Click the undo button to undo the shape > 46 | await page.getByTestId('main.undo').click() | ^ 47 | 48 | expect(await getAllShapeTypes(page)).toEqual([]) 49 | expect(page.getByTestId('main.undo')).toBeDisabled() at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:46:39
End to end tests
Process completed with exit code 1.
End to end tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
1 failed [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ──────────────────────── 23 skipped 176 passed (3.4m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.91 MB