fix: Fix column width calculation logic in grid #4077
Annotations
2 errors and 1 notice
[firefox] › ../../../../../work/tests/table-multiselect.spec.ts:104:7 › multiselect number filters:
../../../../../work/tests/table-multiselect.spec.ts#L59
1) [firefox] › ../../../../../work/tests/table-multiselect.spec.ts:104:7 › multiselect number filters › Filter equal › Apply filter
Error: Screenshot comparison failed:
717 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/table-multiselect.spec.ts-snapshots/number-1-equal-firefox-linux.png
Received: /work/test-results/table-multiselect-multiselect-number-filters-firefox/number-1-equal-actual.png
Diff: /work/test-results/table-multiselect-multiselect-number-filters-firefox/number-1-equal-diff.png
Call log:
- expect.toHaveScreenshot(number-1-equal.png) with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.iris-grid-column')
- locator resolved to <div class="iris-grid-column">…</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
- 717 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.iris-grid-column')
- locator resolved to <div class="iris-grid-column">…</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
- 717 pixels (ratio 0.01 of all image pixels) are different.
57 | await page.getByRole('button', { name: filterType, exact: true }).click();
58 | await waitForLoadingDone(page, '.iris-grid-loading-status-bar');
> 59 | await expect(page.locator('.iris-grid-column')).toHaveScreenshot(
| ^
60 | screenshotName
61 | );
62 | });
at /work/tests/table-multiselect.spec.ts:59:53
at filterAndScreenshot (/work/tests/table-multiselect.spec.ts:54:3)
at /work/tests/table-multiselect.spec.ts:121:9
at /work/tests/table-multiselect.spec.ts:120:7
|
[webkit] › ../../../../../work/tests/styleguide.spec.ts:72:5 › UI regression test - Styleguide button section count:
../../../../../work/tests/styleguide.spec.ts#L79
2) [webkit] › ../../../../../work/tests/styleguide.spec.ts:72:5 › UI regression test - Styleguide button section count
Error: Timed out 45000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[id^="sample-section-buttons-"]')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 45000ms
- waiting for locator('[id^="sample-section-buttons-"]')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
77 | const buttonSections = await page.locator('[id^="sample-section-buttons-"]');
78 |
> 79 | await expect(buttonSections).toHaveCount(buttonSectionIds.length, {
| ^
80 | timeout: 45000,
81 | });
82 | });
at /work/tests/styleguide.spec.ts:79:32
|
🎭 Playwright Run Summary
2 flaky
[firefox] › ../../../../../work/tests/table-multiselect.spec.ts:104:7 › multiselect number filters
[webkit] › ../../../../../work/tests/styleguide.spec.ts:72:5 › UI regression test - Styleguide button section count
316 passed (4.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
image-cache
Expired
|
1.23 GB |
|
playwright-report
|
10.8 MB |
|
playwright-report-blob-chromium-1-1
Expired
|
134 KB |
|
playwright-report-blob-firefox-1-1
Expired
|
7.35 MB |
|
playwright-report-blob-webkit-1-2
Expired
|
2.98 MB |
|
playwright-report-blob-webkit-2-2
Expired
|
86.8 KB |
|