fix(addon-doc): provide languages icon #5054
e2e-playwright.yml
on: pull_request
Annotations
7 errors, 1 warning, and 18 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /navigation/tabs:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /navigation/tabs ──────────────────────────
Error: Timeout 5000ms exceeded.
Previous: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-navigation-tabs-chromium/navigation-tabs/6-previous.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-navigation-tabs-chromium/navigation-tabs/6-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-navigation-tabs-chromium/navigation-tabs/6-diff.png
Call log:
- expect.toHaveScreenshot(navigation-tabs/6.png) with timeout 5000ms
- generating new stable screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(5)
- locator resolved to <div _ngcontent-ng-c519232959="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- locator resolved to <div _ngcontent-ng-c519232959="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 60046 pixels (ratio 0.03 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- locator resolved to <div _ngcontent-ng-c519232959="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 60046 pixels (ratio 0.03 of all image pixels) are different.
- waiting 500ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- locator resolved to <div _ngcontent-ng-c519232959="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Timeout 5000ms exceeded.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
[chromium] › tests/core/dialogs/dialogs.spec.ts:135:21 › Dialogs › 320x480 › Dialog with confirmation works › Form is reset to pristine:
projects/demo-playwright/utils/hide-element.ts#L4
1) [chromium] › tests/core/dialogs/dialogs.spec.ts:135:21 › Dialogs › 320x480 › Dialog with confirmation works › Form is reset to pristine
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('tui-scroll-controls').nth(2)
at utils/hide-element.ts:4
2 |
3 | export async function tuiHideElement(element: Locator): Promise<void> {
> 4 | return element.evaluate((el) => {
| ^
5 | el.style.opacity = '0';
6 | });
7 | }
at tuiHideElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:4:20)
at TuiDocumentationPagePO.hideScrollControls (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:49:33)
at TuiDocumentationPagePO.prepareBeforeScreenshot (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:55:9)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dialogs/dialogs.spec.ts:111:21
|
[chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Error: Screenshot comparison failed:
464 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-icon-icon--select-option-16-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium/deep--components-icon-icon--select-option-16-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium/deep--components-icon-icon--select-option-16-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-16.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 464 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 464 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
[chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
464 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-icon-icon--select-option-16-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry1/deep--components-icon-icon--select-option-16-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry1/deep--components-icon-icon--select-option-16-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-16.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 464 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 464 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
[chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
464 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-icon-icon--select-option-16-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry2/deep--components-icon-icon--select-option-16-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry2/deep--components-icon-icon--select-option-16-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-16.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 464 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 464 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
playwright / (3 of 9)
Process completed with exit code 1.
|
E2E result
Process completed with exit code 1.
|
Slow Test:
[chromium] › tests/kit/input-table/input-table.spec.ts#L1
[chromium] › tests/kit/input-table/input-table.spec.ts took 15.2s
|
🎭 Playwright Run Summary
97 passed (1.5m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.4m)
|
🎭 Playwright Run Summary
97 passed (1.2m)
|
🎭 Playwright Run Summary
97 passed (1.5m)
|
🎭 Playwright Run Summary
96 passed (1.5m)
|
🎭 Playwright Run Summary
96 passed (1.7m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /navigation/tabs ───────────────────────────
96 passed (2.1m)
|
🎭 Playwright Run Summary
97 passed (1.6m)
|
🎭 Playwright Run Summary
97 passed (2.2m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/core/dialogs/dialogs.spec.ts:135:21 › Dialogs › 320x480 › Dialog with confirmation works › Form is reset to pristine
96 passed (2.0m)
|
🎭 Playwright Run Summary
97 passed (2.1m)
|
🎭 Playwright Run Summary
97 passed (2.5m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ───────────
96 passed (2.2m)
|
🎭 Playwright Run Summary
97 passed (3.0m)
|
🎭 Playwright Run Summary
97 passed (3.8m)
|
🎭 Playwright Run Summary
97 passed (4.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-e2e-artifacts--a1a9ed1acdcba6fb4a4255e3665373ecd93c6103-11068825392-9236_3
Expired
|
4.95 KB |
|