feat: add/replace icons to match with current figma library #10786
Annotations
11 errors, 2 warnings, and 1 notice
🔣 Print GitHub Report:
output/vue/src/components/accordion/accordion.spec.tsx#L25
1) [firefox] › accordion/accordion.spec.tsx:23:2 › 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/firefox/DBAccordion-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox/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/vue/src/components/accordion/accordion.spec.tsx:25:27
|
🔣 Print GitHub Report:
output/vue/src/components/accordion/accordion.spec.tsx#L25
1) [firefox] › accordion/accordion.spec.tsx:23:2 › 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/firefox/DBAccordion-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox-retry1/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox-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/vue/src/components/accordion/accordion.spec.tsx:25:27
|
🔣 Print GitHub Report:
output/vue/src/components/accordion-item/accordion-item.spec.tsx#L18
2) [firefox] › accordion-item/accordion-item.spec.tsx:16:2 › 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/firefox/DBAccordionItem-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-firefox/DBAccordionItem-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-firefox/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-cd3…>…</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-cd3…>…</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/vue/src/components/accordion-item/accordion-item.spec.tsx:18:27
|
🔣 Print GitHub Report:
output/vue/src/components/accordion-item/accordion-item.spec.tsx#L18
2) [firefox] › accordion-item/accordion-item.spec.tsx:16:2 › 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/firefox/DBAccordionItem-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-firefox-retry1/DBAccordionItem-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/accordion-item-accordion-item.spec.tsx-DBAccordionItem-should-match-screenshot-firefox-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-e35…>…</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-e35…>…</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/vue/src/components/accordion-item/accordion-item.spec.tsx:18:27
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
3) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-outlined.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-firefox/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-firefox/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/vue/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
3) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-outlined.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-firefox-retry1/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-outlined-firefox-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/vue/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
4) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-primary.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-firefox/DBButton-should-only-have-icon-for-variant-primary-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-firefox/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/vue/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
4) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-primary.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-firefox-retry1/DBButton-should-only-have-icon-for-variant-primary-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-primary-firefox-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/vue/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
5) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-solid.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-firefox/DBButton-should-only-have-icon-for-variant-solid-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-firefox/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/vue/src/components/button/button.spec.tsx:36:28
|
🔣 Print GitHub Report:
output/vue/src/components/button/button.spec.tsx#L36
5) [firefox] › button/button.spec.tsx:28:3 › 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/firefox/DBButton-should-only-have-icon-for-variant-solid.png
Received: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-firefox-retry1/DBButton-should-only-have-icon-for-variant-solid-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/button-button.spec.tsx-DBButton-should-only-have-icon-for-variant-solid-firefox-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/vue/src/components/button/button.spec.tsx:36:28
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
output/vue/[firefox] › notification/notification.spec.tsx#L1
output/vue/[firefox] › notification/notification.spec.tsx took 15.3s
|
🔣 Print GitHub Report:
output/vue/[firefox] › infotext/infotext.spec.tsx#L1
output/vue/[firefox] › infotext/infotext.spec.tsx took 15.0s
|
🔣 Print GitHub Report
17 failed
[firefox] › accordion/accordion.spec.tsx:23:2 › DBAccordion › should match screenshot ──────────
[firefox] › accordion-item/accordion-item.spec.tsx:16:2 › DBAccordionItem › should match screenshot
[firefox] › button/button.spec.tsx:28:3 › DBButton › should only have icon for variant outlined
[firefox] › button/button.spec.tsx:28:3 › DBButton › should only have icon for variant primary ─
[firefox] › button/button.spec.tsx:28:3 › DBButton › should only have icon for variant solid ───
[firefox] › button/button.spec.tsx:28:3 › DBButton › should only have icon for variant text ────
[firefox] › infotext/infotext.spec.tsx:16:2 › DBInfotext › should match screenshot ─────────────
[firefox] › infotext/infotext.spec.tsx:24:3 › DBInfotext › should match screenshot for semantic critical
[firefox] › infotext/infotext.spec.tsx:24:3 › DBInfotext › should match screenshot for semantic informational
[firefox] › infotext/infotext.spec.tsx:24:3 › DBInfotext › should match screenshot for semantic warning
[firefox] › infotext/infotext.spec.tsx:24:3 › DBInfotext › should match screenshot for semantic successful
[firefox] › notification/notification.spec.tsx:20:2 › DBNotification › should match screenshot ─
[firefox] › notification/notification.spec.tsx:28:3 › DBNotification › should match screenshot for semantic critical
[firefox] › notification/notification.spec.tsx:28:3 › DBNotification › should match screenshot for semantic informational
[firefox] › notification/notification.spec.tsx:28:3 › DBNotification › should match screenshot for semantic warning
[firefox] › notification/notification.spec.tsx:28:3 › DBNotification › should match screenshot for semantic successful
[firefox] › select/select.spec.tsx:21:2 › DBSelect › should match screenshot ───────────────────
4 skipped
62 passed (2.6m)
|
Loading