refactor: changed to DB Screen Flex (variable font) #10536
Annotations
11 errors, 1 warning, and 1 notice
🔣 Print GitHub Report:
output/react/src/components/accordion/accordion.spec.tsx#L25
1) [firefox] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ─────────
Error: Screenshot comparison failed:
231 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/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/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
- 231 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
- 231 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) [firefox] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
231 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/react/test-results/accordion-accordion.spec.tsx-DBAccordion-should-match-screenshot-firefox-retry1/DBAccordion-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/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
- 231 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
- 231 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) [firefox] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
Error: Screenshot comparison failed:
64 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/react/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/react/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-21c…>…</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
- 64 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-21c…>…</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
- 64 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) [firefox] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
64 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/react/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/react/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-47d…>…</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
- 64 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-47d…>…</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
- 64 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/alert/alert.spec.tsx#L22
3) [firefox] › alert/alert.spec.tsx:20:6 › DBAlert › should match screenshot ─────────────────────
Error: Screenshot comparison failed:
64 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-firefox/DBAlert-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-firefox/DBAlert-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-alert">…</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
- 64 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-alert">…</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
- 64 pixels (ratio 0.01 of all image pixels) are different.
20 | test(`should match screenshot`, async ({ mount }) => {
21 | const component = await mount(comp);
> 22 | await expect(component).toHaveScreenshot();
| ^
23 | });
24 | };
25 |
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:22:27
|
🔣 Print GitHub Report:
output/react/src/components/alert/alert.spec.tsx#L22
3) [firefox] › alert/alert.spec.tsx:20:6 › DBAlert › should match screenshot ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
64 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-firefox-retry1/DBAlert-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-firefox-retry1/DBAlert-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-alert">…</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
- 64 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-alert">…</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
- 64 pixels (ratio 0.01 of all image pixels) are different.
20 | test(`should match screenshot`, async ({ mount }) => {
21 | const component = await mount(comp);
> 22 | await expect(component).toHaveScreenshot();
| ^
23 | });
24 | };
25 |
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:22:27
|
🔣 Print GitHub Report:
output/react/src/components/alert/alert.spec.tsx#L34
4) [firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant critical
Error: Screenshot comparison failed:
63 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot-for-variant-critical.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-critical-firefox/DBAlert-should-match-screenshot-for-variant-critical-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-critical-firefox/DBAlert-should-match-screenshot-for-variant-critical-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-alert" data-variant="critical">…</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
- 63 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-alert" data-variant="critical">…</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
- 63 pixels (ratio 0.01 of all image pixels) are different.
32 | <DBAlert variant={variant}>Test</DBAlert>
33 | );
> 34 | await expect(component).toHaveScreenshot();
| ^
35 | });
36 | }
37 | };
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:34:28
|
🔣 Print GitHub Report:
output/react/src/components/alert/alert.spec.tsx#L34
4) [firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant critical
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
63 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot-for-variant-critical.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-critical-firefox-retry1/DBAlert-should-match-screenshot-for-variant-critical-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-critical-firefox-retry1/DBAlert-should-match-screenshot-for-variant-critical-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-alert" data-variant="critical">…</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
- 63 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-alert" data-variant="critical">…</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
- 63 pixels (ratio 0.01 of all image pixels) are different.
32 | <DBAlert variant={variant}>Test</DBAlert>
33 | );
> 34 | await expect(component).toHaveScreenshot();
| ^
35 | });
36 | }
37 | };
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:34:28
|
🔣 Print GitHub Report:
output/react/src/components/alert/alert.spec.tsx#L34
5) [firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant informational
Error: Screenshot comparison failed:
63 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot-for-variant-informational.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-informational-firefox/DBAlert-should-match-screenshot-for-variant-informational-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-informational-firefox/DBAlert-should-match-screenshot-for-variant-informational-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-alert" data-variant="informational">…</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
- 63 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-alert" data-variant="informational">…</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
- 63 pixels (ratio 0.01 of all image pixels) are different.
32 | <DBAlert variant={variant}>Test</DBAlert>
33 | );
> 34 | await expect(component).toHaveScreenshot();
| ^
35 | });
36 | }
37 | };
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:34:28
|
🔣 Print GitHub Report:
output/react/src/components/alert/alert.spec.tsx#L34
5) [firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant informational
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
63 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/alert/component/firefox/DBAlert-should-match-screenshot-for-variant-informational.png
Received: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-informational-firefox-retry1/DBAlert-should-match-screenshot-for-variant-informational-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/alert-alert.spec.tsx-DBAlert-should-match-screenshot-for-variant-informational-firefox-retry1/DBAlert-should-match-screenshot-for-variant-informational-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-alert" data-variant="informational">…</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
- 63 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-alert" data-variant="informational">…</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
- 63 pixels (ratio 0.01 of all image pixels) are different.
32 | <DBAlert variant={variant}>Test</DBAlert>
33 | );
> 34 | await expect(component).toHaveScreenshot();
| ^
35 | });
36 | }
37 | };
at /__w/mono/mono/output/react/src/components/alert/alert.spec.tsx:34:28
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
output/react/[firefox] › card/card.spec.tsx#L1
output/react/[firefox] › card/card.spec.tsx took 24.4s
|
🔣 Print GitHub Report
41 failed
[firefox] › accordion/accordion.spec.tsx:23:6 › DBAccordion › should match screenshot ──────────
[firefox] › accordion-item/accordion-item.spec.tsx:16:6 › DBAccordionItem › should match screenshot
[firefox] › alert/alert.spec.tsx:20:6 › DBAlert › should match screenshot ──────────────────────
[firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant critical ─
[firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant informational
[firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant warning ──
[firefox] › alert/alert.spec.tsx:28:7 › DBAlert › should match screenshot for variant successful
[firefox] › badge/badge.spec.tsx:16:6 › DBBadge › should match screenshot ──────────────────────
[firefox] › brand/brand.spec.tsx:35:6 › DBBrand › should match screenshot ──────────────────────
[firefox] › button/button.spec.tsx:19:7 › DBButton › should match screenshot for variant outlined
[firefox] › button/button.spec.tsx:19:7 › DBButton › should match screenshot for variant primary
[firefox] › button/button.spec.tsx:19:7 › DBButton › should match screenshot for variant solid ─
[firefox] › button/button.spec.tsx:19:7 › DBButton › should match screenshot for variant text ──
[firefox] › card/card.spec.tsx:29:6 › DBCard › should match screenshot ─────────────────────────
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant neutral
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant neutral-strong
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant primary
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant critical
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant successful
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant warning
[firefox] › card/card.spec.tsx:37:7 › DBCard › should match screenshot for color variant informational
[firefox] › card/card.spec.tsx:50:7 › DBCard › should match screenshot for variant interactive ─
[firefox] › checkbox/checkbox.spec.tsx:16:6 › DBCheckbox › should match screenshot ─────────────
[firefox] › infotext/infotext.spec.tsx:16:6 › DBInfotext › should match screenshot ─────────────
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for variant critical
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for variant informational
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for variant warning
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for variant successful
[firefox] › main-navigation/main-navigation.spec.tsx:24:6 › DBMainNavigation › should match screenshot
[firefox] › navigation-item/navigation-item.spec.tsx:28:6 › DBNavigationItem › should match screenshot
[firefox] › popover/popover.spec.tsx:24:6 › DBPopover › should match screenshot ────────────────
[firefox] › radio/radio.spec.tsx:16:6 › DBRadio › should match screenshot ──────────────────────
[firefox] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ───────────────────
[firefox] › tabs/tabs.spec.tsx:45:6 › DBTabs › should match screenshot ─────────────────────────
[firefox] › tag/tag.spec.tsx:16:6 › DBTag › should match screenshot ────────────────────────────
[firefox] › tag/tag.spec.tsx:24:7 › DBTag › should match screenshot for variant critical ───────
[firefox] › tag/tag.spec.tsx:24:7 › DBTag › should match screenshot for variant informational ──
[firefox] › tag/tag.spec.tsx:24:7 › DBTag › should match screenshot for variant warning ────────
[firefox] › tag/tag.spec.tsx:24:7 › DBTag › should match screenshot for variant successful ─────
[firefox] › textarea/textarea.spec.tsx:16:6 › DBTexta
|
Loading