feat: add/replace icons to match with current figma library #10791
Annotations
11 errors and 1 notice
🔣 Print GitHub Report:
output/react/src/components/accordion/accordion.spec.tsx#L25
1) [chromium] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ────────
Error: Screenshot comparison failed:
42 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion/component/chromium/DBAccordion-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-chromium/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-chromium/DBAccordion-should-match-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-accordion">…</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
- 42 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-accordion">…</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
- 42 pixels (ratio 0.01 of all image pixels) are different.
23 | test('should match screenshot', async ({ mount }) => {
24 | const component = await mount(comp);
> 25 | await expect(component).toHaveScreenshot();
| ^
26 | });
27 | };
28 |
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:25:27
|
🔣 Print GitHub Report:
output/react/src/components/accordion/accordion.spec.tsx#L25
1) [chromium] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
42 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion/component/chromium/DBAccordion-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-chromium-retry1/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-chromium-retry1/DBAccordion-should-match-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-accordion">…</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
- 42 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-accordion">…</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
- 42 pixels (ratio 0.01 of all image pixels) are different.
23 | test('should match screenshot', async ({ mount }) => {
24 | const component = await mount(comp);
> 25 | await expect(component).toHaveScreenshot();
| ^
26 | });
27 | };
28 |
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:25:27
|
🔣 Print GitHub Report:
output/react/src/components/accordion-item/accordion-item.spec.tsx#L18
2) [chromium] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
Error: Screenshot comparison failed:
14 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion-item/component/chromium/DBAccordionItem-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-chromium/DBAccordionItem-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-chromium/DBAccordionItem-should-match-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <details class="db-accordion-item" id="accordion-item-03e…>…</details>
- 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
- 14 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <details class="db-accordion-item" id="accordion-item-03e…>…</details>
- 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
- 14 pixels (ratio 0.01 of all image pixels) are different.
16 | test('should match screenshot', async ({ mount }) => {
17 | const component = await mount(comp);
> 18 | await expect(component).toHaveScreenshot();
| ^
19 | });
20 | };
21 |
at /__w/mono/mono/output/react/src/components/accordion-item/accordion-item.spec.tsx:18:27
|
🔣 Print GitHub Report:
output/react/src/components/accordion-item/accordion-item.spec.tsx#L18
2) [chromium] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
14 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion-item/component/chromium/DBAccordionItem-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-chromium-retry1/DBAccordionItem-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-chromium-retry1/DBAccordionItem-should-match-screenshot-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <details class="db-accordion-item" id="accordion-item-ca9…>…</details>
- 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
- 14 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <details class="db-accordion-item" id="accordion-item-ca9…>…</details>
- 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
- 14 pixels (ratio 0.01 of all image pixels) are different.
16 | test('should match screenshot', async ({ mount }) => {
17 | const component = await mount(comp);
> 18 | await expect(component).toHaveScreenshot();
| ^
19 | });
20 | };
21 |
at /__w/mono/mono/output/react/src/components/accordion-item/accordion-item.spec.tsx:18:27
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
3) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant outlined
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-outlined.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-chromium/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-chromium/DBButton-should-only-have-icon-for-variant-outlined-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
3) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant outlined
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-outlined.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-chromium-retry1/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-chromium-retry1/DBButton-should-only-have-icon-for-variant-outlined-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
4) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant primary
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-primary.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-chromium/DBButton-should-only-have-icon-for-variant-primary-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-chromium/DBButton-should-only-have-icon-for-variant-primary-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
4) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant primary
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-primary.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-chromium-retry1/DBButton-should-only-have-icon-for-variant-primary-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-chromium-retry1/DBButton-should-only-have-icon-for-variant-primary-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
5) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant solid ─
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-solid.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-chromium/DBButton-should-only-have-icon-for-variant-solid-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-chromium/DBButton-should-only-have-icon-for-variant-solid-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
5) [chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant solid ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
52 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/chromium/DBButton-should-only-have-icon-for-variant-solid.png
Received: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-chromium-retry1/DBButton-should-only-have-icon-for-variant-solid-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-chromium-retry1/DBButton-should-only-have-icon-for-variant-solid-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button data-icon="user" class="db-button" data-no-text=…>Account</button>
- 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
- 52 pixels (ratio 0.04 of all image pixels) are different.
34 | </DBButton>
35 | );
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 | }
39 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:36:28
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
17 failed
[chromium] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ─────────
[chromium] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
[chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant outlined
[chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant primary
[chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant solid ──
[chromium] › button/button.spec.tsx:28:7 › DBButton › should only have icon for variant text ───
[chromium] › infotext/infotext.spec.tsx:16:6 › DBInfotext › should match screenshot ────────────
[chromium] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic critical
[chromium] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic informational
[chromium] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic warning
[chromium] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic successful
[chromium] › notification/notification.spec.tsx:20:6 › DBNotification › should match screenshot
[chromium] › notification/notification.spec.tsx:28:7 › DBNotification › should match screenshot for semantic critical
[chromium] › notification/notification.spec.tsx:28:7 › DBNotification › should match screenshot for semantic informational
[chromium] › notification/notification.spec.tsx:28:7 › DBNotification › should match screenshot for semantic warning
[chromium] › notification/notification.spec.tsx:28:7 › DBNotification › should match screenshot for semantic successful
[chromium] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ──────────────────
4 skipped
62 passed (53.2s)
|
Loading