fix: Resolve type and build errors #130
Annotations
10 errors, 1 warning, and 1 notice
apps/examples/e2e/shared-e2e.ts#L25
1) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with leading line breaks in dark mode
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
1) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with leading line breaks in dark mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
2) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with trailing line breaks in dark mode
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
2) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with trailing line breaks in dark mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
3) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=none in dark mode
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
3) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=none in dark mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
4) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=none in dark mode
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
4) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=none in dark mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
5) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=none in dark mode
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
apps/examples/e2e/shared-e2e.ts#L25
5) [chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=none in dark mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.tl-canvas') to be visible
at ../shared-e2e.ts:25
23 | export async function setupPage(page: PlaywrightTestArgs['page']) {
24 | await page.goto('http://localhost:5420/end-to-end')
> 25 | await page.waitForSelector('.tl-canvas')
| ^
26 | await page.evaluate(() => {
27 | editor.user.updateUserPreferences({ animationSpeed: 0 })
28 | })
at setupPage (/home/runner/work/tldraw/tldraw/apps/examples/e2e/shared-e2e.ts:25:13)
at /home/runner/work/tldraw/tldraw/apps/examples/e2e/tests/export-snapshots.spec.ts:195:4
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
138 failed
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with leading line breaks in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with Exports geo text with trailing line breaks in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=none in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=none in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=none in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=semi in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=semi in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=semi in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=solid in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=solid in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=solid in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo fill=pattern in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow fill=pattern in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with draw fill=pattern in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo font=draw in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow font=draw in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with note font=draw in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with text font=draw in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo font=sans in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow font=sans in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with note font=sans in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with text font=sans in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo font=serif in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow font=serif in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with note font=serif in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with text font=serif in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with geo font=mono in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with arrow font=mono in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with note font=mono in dark mode
[chromium] › export-snapshots.spec.ts:193:7 › Export snapshots › Exports with text font=mono in dark mode
[chromium] › test-canvas-events.spec.ts:20:7 › Canvas events › pointer events › pointer down ───
[chromium] › test-canvas-events.spec.ts:118:6 › Shape events › pointer down ────────────────────
[chromium] › test-canvas-events.spec.ts:128:6 › Shape events › pointer move ────────────────────
[chromium] › test-canvas-events.spec.ts:138:6 › Shape events › pointer up ──────────────────────
[chromium] › test-focus.spec.ts:11:6 › Focus › focus events ────────────────────────────────────
[chromium] › test-focus.spec.ts:85:6 › Focus › kbds when not focused ───────────────────────────
[chromium] › test-focus.spec.ts:109:6 › Focus › kbds when focused ──────
|
This job failed
Loading