fix(experimental): Avatar
fix error when using SafeResourceUrl
#9129
Triggered via pull request
February 21, 2024 08:22
Status
Failure
Total duration
25m 29s
Artifacts
–
Annotations
7 errors, 8 warnings, and 7 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L24
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar ──────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('tui-doc-example').nth(1).locator('[automation-id="tui-doc-example"]')
Expected: attached
Received: detached
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('tui-doc-example').nth(1).locator('[automation-id="tui-doc-example"]')
Call Log:
- Test timeout of 30000ms exceeded
22 | ).toBeAttached();
23 | }
> 24 | }).toPass();
| ^
25 |
26 | const examples = await page
27 | .locator('tui-doc-example [automation-id="tui-doc-example"]')
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:24:16
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L24
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('tui-doc-example').nth(1).locator('[automation-id="tui-doc-example"]')
Expected: attached
Received: detached
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('tui-doc-example').nth(1).locator('[automation-id="tui-doc-example"]')
Call Log:
- Test timeout of 30000ms exceeded
22 | ).toBeAttached();
23 | }
> 24 | }).toPass();
| ^
25 |
26 | const examples = await page
27 | .locator('tui-doc-example [automation-id="tui-doc-example"]')
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:24:16
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L1
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/cell:
projects/demo-playwright/tests/demo/demo.spec.ts#L24
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/cell ────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('tui-doc-example').nth(3).locator('[automation-id="tui-doc-example"]')
Expected: attached
Received: detached
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('tui-doc-example').nth(3).locator('[automation-id="tui-doc-example"]')
Call Log:
- Test timeout of 30000ms exceeded
22 | ).toBeAttached();
23 | }
> 24 | }).toPass();
| ^
25 |
26 | const examples = await page
27 | .locator('tui-doc-example [automation-id="tui-doc-example"]')
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:24:16
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/cell:
projects/demo-playwright/tests/demo/demo.spec.ts#L24
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/cell ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('tui-doc-example').nth(3).locator('[automation-id="tui-doc-example"]')
Expected: attached
Received: detached
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('tui-doc-example').nth(3).locator('[automation-id="tui-doc-example"]')
Call Log:
- Test timeout of 30000ms exceeded
22 | ).toBeAttached();
23 | }
> 24 | }).toPass();
| ^
25 |
26 | const examples = await page
27 | .locator('tui-doc-example [automation-id="tui-doc-example"]')
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:24:16
|
playwright / (2 of 4)
Process completed with exit code 1.
|
[chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs:
projects/demo-playwright/tests/addon-doc/code.spec.ts#L25
1) [chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ───────────────────────────
Error: Timeout 5000ms exceeded.
Previous: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-01-code-block-HTML-previous.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-01-code-block-HTML-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-01-code-block-HTML-diff.png
Call log:
- expect.toHaveScreenshot(02-01-code-block-HTML.png) with timeout 5000ms
- generating new stable screenshot expectation
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 38558 pixels (ratio 0.02 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- Timeout 5000ms exceeded.
23 | await locator.click();
24 |
> 25 | await expect(page.locator('tui-doc-example#basic')).toHaveScreenshot(
| ^
26 | `02-0${index + 1}-code-block-${title}.png`,
27 | );
28 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-doc/code.spec.ts:25:65
|
Build demo
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (2 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (4 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (3 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (1 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
deep
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
core
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
kit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
2 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/avatar ───────────────────────
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/cell ─────────────────────────
81 passed (2.4m)
|
🎭 Playwright Run Summary
82 passed (1.0m)
|
🎭 Playwright Run Summary
82 passed (1.2m)
|
🎭 Playwright Run Summary
82 passed (1.1m)
|
🎭 Playwright Run Summary
82 passed (1.4m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ────────────────────────────
82 passed (1.4m)
|
🎭 Playwright Run Summary
83 passed (1.1m)
|