refactor(kit)!: InputFiles
refactor API and get rid of built-in rejections
#195
Annotations
30 errors and 15 notices
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
1) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english)
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Choose files' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Choose files')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
1) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Choose files' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Choose files')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
1) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Choose files' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Choose files')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
2) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch)
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Kies bestanden' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Kies bestanden')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
2) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Kies bestanden' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Kies bestanden')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
2) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Kies bestanden' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Kies bestanden')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
3) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian)
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Выберите файлы' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Выберите файлы')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
3) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Выберите файлы' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Выберите файлы')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L18
3) [chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Выберите файлы' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Выберите файлы')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
16 | });
17 |
> 18 | await example
| ^
19 | .locator('[tuiInputFiles]')
20 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
21 | await expect(example).toHaveScreenshot(`01-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:18:13
|
[chromium] › tests/kit/input-files/input-files.spec.ts:26:13 › InputFiles › File is too large (i18n: english):
projects/demo-playwright/tests/kit/input-files/input-files.spec.ts#L32
4) [chromium] › tests/kit/input-files/input-files.spec.ts:26:13 › InputFiles › File is too large (i18n: english)
Error: locator.setInputFiles: Error: strict mode violation: locator('#demo-content').locator('[tuiInputFiles]') resolved to 2 elements:
1) <label tuiinputfiles="">…</label> aka locator('label').filter({ hasText: 'Choose files' })
2) <input multiple type="file" tuiappearance="" tuiinputfi…/> aka getByLabel('Choose files')
Call log:
- waiting for locator('#demo-content').locator('[tuiInputFiles]')
30 | {language},
31 | );
> 32 | await example
| ^
33 | .locator('[tuiInputFiles]')
34 | .setInputFiles(join(__dirname, '../../../stubs/web-api.svg'));
35 | await expect(example).toHaveScreenshot(`02-${language}-input-files.png`);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts:32:13
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files ───────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-input-files/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium/components-input-files/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium/components-input-files/1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
35 | await documentation.networkidle(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot([
| ^
38 | path.replace('/', '').replace(/\//g, '-'),
39 | `${i + 1}.png`,
40 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-input-files/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium-retry1/components-input-files/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium-retry1/components-input-files/1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
35 | await documentation.networkidle(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot([
| ^
38 | path.replace('/', '').replace(/\//g, '-'),
39 | `${i + 1}.png`,
40 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files ───────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-input-files/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium-retry2/components-input-files/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-files-chromium-retry2/components-input-files/1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-tui-demo-c133="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 640px by 216px, received 640px by 184px. 2676 pixels (ratio 0.02 of all image pixels) are different.
35 | await documentation.networkidle(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot([
| ^
38 | path.replace('/', '').replace(/\//g, '-'),
39 | `${i + 1}.png`,
40 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
playwright / (5 of 8)
Process completed with exit code 1.
|
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files:
projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L32
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files ────
Error: Screenshot comparison failed:
Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-files-disabled-toggled-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium/deep--components-input-files-disabled-toggled-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium/deep--components-input-files-disabled-toggled-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
30 | await api.networkidle();
31 |
> 32 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
33 | `deep-${path}__${name}-toggled.png`,
34 | );
35 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:32:50
|
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files:
projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L32
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-files-disabled-toggled-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium-retry1/deep--components-input-files-disabled-toggled-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium-retry1/deep--components-input-files-disabled-toggled-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
30 | await api.networkidle();
31 |
> 32 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
33 | `deep-${path}__${name}-toggled.png`,
34 | );
35 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:32:50
|
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files:
projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L32
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-files-disabled-toggled-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium-retry2/deep--components-input-files-disabled-toggled-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-files-chromium-retry2/deep--components-input-files-disabled-toggled-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
30 | await api.networkidle();
31 |
> 32 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
33 | `deep-${path}__${name}-toggled.png`,
34 | );
35 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:32:50
|
playwright / (3 of 8)
Process completed with exit code 1.
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-0-chromium-linux.png.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:54
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-0-chromium-linux.png.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:54
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-0-chromium-linux.png, writing actual.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:21
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-1-chromium-linux.png, writing actual.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:21
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-2-chromium-linux.png, writing actual.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:21
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-input-files-maxFileSize--select-option-3-chromium-linux.png, writing actual.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:21
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 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-input-files-accept--select-option-0-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-files-chromium-retry2/deep--components-input-files-accept--select-option-0-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-files-chromium-retry2/deep--components-input-files-accept--select-option-0-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c130="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- Expected an image 1356px by 152px, received 1356px by 128px. 3382 pixels (ratio 0.02 of all image pixels) are different.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:54
|
playwright / (2 of 8)
Process completed with exit code 1.
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L1
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action ─────────
Test timeout of 90000ms exceeded.
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action:
projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts#L30
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action ─────────
Error: Test timeout of 90000ms exceeded.
at utils/page-objects/documentation-api-page.po.ts:30
28 | new Promise(resolve => {
29 | req.response()
> 30 | .then(response => resolve(response?.finished()))
| ^
31 | .catch(() => resolve(undefined));
32 | }),
33 | ),
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:30:65
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L1
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action:
projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts#L30
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Test timeout of 90000ms exceeded.
at utils/page-objects/documentation-api-page.po.ts:30
28 | new Promise(resolve => {
29 | req.response()
> 30 | .then(response => resolve(response?.finished()))
| ^
31 | .catch(() => resolve(undefined));
32 | }),
33 | ),
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:30:65
|
🎭 Playwright Run Summary
7 failed
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: english)
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: dutch)
[chromium] › tests/kit/input-files/input-files.spec.ts:13:13 › InputFiles › Wrong file type (i18n: russian)
[chromium] › tests/kit/input-files/input-files.spec.ts:26:13 › InputFiles › File is too large (i18n: english)
[chromium] › tests/kit/input-files/input-files.spec.ts:26:13 › InputFiles › File is too large (i18n: dutch)
[chromium] › tests/kit/input-files/input-files.spec.ts:26:13 › InputFiles › File is too large (i18n: russian)
[chromium] › tests/kit/input-files/input-files.spec.ts:39:9 › InputFiles › Link text is too long
104 passed (2.2m)
|
🎭 Playwright Run Summary
111 passed (1.6m)
|
🎭 Playwright Run Summary
111 passed (1.4m)
|
🎭 Playwright Run Summary
111 passed (1.6m)
|
🎭 Playwright Run Summary
111 passed (1.5m)
|
🎭 Playwright Run Summary
112 passed (1.7m)
|
🎭 Playwright Run Summary
112 passed (2.0m)
|
🎭 Playwright Run Summary
111 passed (1.8m)
|
🎭 Playwright Run Summary
111 passed (1.6m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-files ────────────────────
110 passed (1.8m)
|
🎭 Playwright Run Summary
111 passed (2.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-files ─────
110 passed (2.7m)
|
🎭 Playwright Run Summary
111 passed (3.0m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-files ─────
110 passed (9.8m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/action ──────────
110 passed (12.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-e2e-artifacts--c7e0b175be1559c1768a124bb78efa70b353374c-7888974913-6706_2
Expired
|
27.5 KB |
|
playwright-e2e-artifacts--c7e0b175be1559c1768a124bb78efa70b353374c-7888974913-6706_3
Expired
|
69.4 KB |
|
playwright-e2e-artifacts--c7e0b175be1559c1768a124bb78efa70b353374c-7888974913-6706_5
Expired
|
63.7 KB |
|