Move top-left toolbar tools to improve screen visibility #162
playwright.yml
on: pull_request
End to end tests
4m 48s
Annotations
6 errors, 2 warnings, and 1 notice
[chromium] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo:
apps/examples/e2e/tests/test-smoke.spec.ts#L29
1) [chromium] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('mobile.styles')
27 | test('undo and redo', async ({ page }) => {
28 | // Open the pop-out menu to reveal the undo/redo buttons
> 29 | await page.getByTestId('mobile.styles').click()
| ^
30 |
31 | // buttons should be disabled when there is no history
32 | expect(page.getByTestId('main.undo')).toBeDisabled()
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:29:43
|
[chromium] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo:
apps/examples/e2e/tests/test-smoke.spec.ts#L29
1) [chromium] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('mobile.styles')
27 | test('undo and redo', async ({ page }) => {
28 | // Open the pop-out menu to reveal the undo/redo buttons
> 29 | await page.getByTestId('mobile.styles').click()
| ^
30 |
31 | // buttons should be disabled when there is no history
32 | expect(page.getByTestId('main.undo')).toBeDisabled()
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:29:43
|
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo:
apps/examples/e2e/tests/test-smoke.spec.ts#L44
2) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ───────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
- Array [
- "geo",
- ]
+ Array []
42 | await page.mouse.up()
43 |
> 44 | expect(await getAllShapeTypes(page)).toEqual(['geo'])
| ^
45 |
46 | await page.getByTestId('mobile.styles').click()
47 |
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:44:40
|
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo:
apps/examples/e2e/tests/test-smoke.spec.ts#L32
2) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ───────────────────────
Error: 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')
30 |
31 | // buttons should be disabled when there is no history
> 32 | expect(page.getByTestId('main.undo')).toBeDisabled()
| ^
33 | expect(page.getByTestId('main.redo')).toBeDisabled()
34 |
35 | await page.keyboard.press('Escape')
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:32:41
|
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo:
apps/examples/e2e/tests/test-smoke.spec.ts#L44
2) [Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
- Array [
- "geo",
- ]
+ Array []
42 | await page.mouse.up()
43 |
> 44 | expect(await getAllShapeTypes(page)).toEqual(['geo'])
| ^
45 |
46 | await page.getByTestId('mobile.styles').click()
47 |
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/test-smoke.spec.ts:44:40
|
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
2 failed
[chromium] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ─────────────────────────────
[Mobile Chrome] › test-smoke.spec.ts:27:6 › smoke tests › undo and redo ────────────────────────
23 skipped
175 passed (3.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
2.36 MB |
|