Skip to content

Error handling

Error handling #3662

Triggered via pull request August 2, 2023 10:18
Status Success
Total duration 6m 50s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 15 warnings, and 1 notice
[chromium] › integration/examples/shadow-dom.test.ts:9:7 › shadow-dom example › renders slate editor inside nested shadow: playwright/integration/examples/shadow-dom.test.ts#L13
1) [chromium] › integration/examples/shadow-dom.test.ts:9:7 › shadow-dom example › renders slate editor inside nested shadow Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 11 | const innerShadow = outerShadow.locator('> div') 12 | > 13 | expect(await innerShadow.getByRole('textbox').count()).toBe(1) | ^ 14 | }) 15 | }) 16 | at /home/runner/work/slate/slate/playwright/integration/examples/shadow-dom.test.ts:13:60
[chromium] › integration/examples/tables.test.ts:8:7 › table example › table tag rendered: playwright/integration/examples/tables.test.ts#L14
2) [chromium] › integration/examples/tables.test.ts:8:7 › table example › table tag rendered ===== Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 12 | .locator('table') 13 | .count() > 14 | ).toBe(1) | ^ 15 | }) 16 | }) 17 | at /home/runner/work/slate/slate/playwright/integration/examples/tables.test.ts:14:7
[firefox] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded: playwright/integration/examples/embeds.test.ts#L16
3) [firefox] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded ====== Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 14 | .locator('iframe') 15 | .count() > 16 | ).toBe(1) | ^ 17 | }) 18 | }) 19 | at /home/runner/work/slate/slate/playwright/integration/examples/embeds.test.ts:16:7
[firefox] › integration/examples/huge-document.test.ts:13:7 › huge document example › contains image: playwright/integration/examples/huge-document.test.ts#L15
4) [firefox] › integration/examples/huge-document.test.ts:13:7 › huge document example › contains image Error: expect(received).toBe(expected) // Object.is equality Expected: 100 Received: 0 13 | test('contains image', async ({ page }) => { 14 | for (const { tag, count } of elements) { > 15 | expect(await page.locator(tag).count()).toBe(count) | ^ 16 | } 17 | }) 18 | }) at /home/runner/work/slate/slate/playwright/integration/examples/huge-document.test.ts:15:47
[firefox] › integration/examples/images.test.ts:8:7 › images example › contains image: playwright/integration/examples/images.test.ts#L14
5) [firefox] › integration/examples/images.test.ts:8:7 › images example › contains image ========= Error: expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 0 12 | .locator('img') 13 | .count() > 14 | ).toBe(2) | ^ 15 | }) 16 | }) 17 | at /home/runner/work/slate/slate/playwright/integration/examples/images.test.ts:14:7
[firefox] › integration/examples/markdown-preview.test.ts:11:7 › markdown preview › checks for markdown: playwright/integration/examples/markdown-preview.test.ts#L17
6) [firefox] › integration/examples/markdown-preview.test.ts:11:7 › markdown preview › checks for markdown Error: expect(received).toBe(expected) // Object.is equality Expected: 9 Received: 0 15 | .locator(markdown) 16 | .count() > 17 | ).toBe(9) | ^ 18 | 19 | await page.locator(slateEditor).click() 20 | await page.keyboard.press('End') at /home/runner/work/slate/slate/playwright/integration/examples/markdown-preview.test.ts:17:7
lint:typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint:typescript
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
lint:typescript
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
lint:prettier
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint:prettier
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
lint:prettier
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
test
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
lint:eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint:eslint
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
lint:eslint
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
test:integration
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test:integration
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
test:integration
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
🎭 Playwright Run Summary
6 flaky [chromium] › integration/examples/shadow-dom.test.ts:9:7 › shadow-dom example › renders slate editor inside nested shadow [chromium] › integration/examples/tables.test.ts:8:7 › table example › table tag rendered ====== [firefox] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded ======= [firefox] › integration/examples/huge-document.test.ts:13:7 › huge document example › contains image [firefox] › integration/examples/images.test.ts:8:7 › images example › contains image ========== [firefox] › integration/examples/markdown-preview.test.ts:11:7 › markdown preview › checks for markdown 70 passed (5m)