feat: replace DB icons with whitelabel open source icons #15975
Annotations
11 errors and 1 notice
🔣 Print GitHub Report:
output/react/src/components/brand/brand.spec.tsx#L17
1) [firefox] › brand/brand.spec.tsx:15:6 › DBBrand › should match screenshot ─────────────────────
Error: expect(locator).toHaveScreenshot(expected)
466 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/brand/component/firefox/DBBrand-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/brand-brand-DBBrand-should-match-screenshot-firefox/DBBrand-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/brand-brand-DBBrand-should-match-screenshot-firefox/DBBrand-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-brand" data-icon="brand">Test</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
- 466 pixels (ratio 0.03 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-brand" data-icon="brand">Test</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
- 466 pixels (ratio 0.03 of all image pixels) are different.
15 | test(`should match screenshot`, async ({ mount }) => {
16 | const component = await mount(comp);
> 17 | await expect(component).toHaveScreenshot();
| ^
18 | });
19 | };
20 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/brand/brand.spec.tsx:17:27
|
🔣 Print GitHub Report:
output/react/src/components/brand/brand.spec.tsx#L17
1) [firefox] › brand/brand.spec.tsx:15:6 › DBBrand › should match screenshot ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
466 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/brand/component/firefox/DBBrand-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/brand-brand-DBBrand-should-match-screenshot-firefox-retry1/DBBrand-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/brand-brand-DBBrand-should-match-screenshot-firefox-retry1/DBBrand-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="db-brand" data-icon="brand">Test</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
- 466 pixels (ratio 0.03 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-brand" data-icon="brand">Test</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
- 466 pixels (ratio 0.03 of all image pixels) are different.
15 | test(`should match screenshot`, async ({ mount }) => {
16 | const component = await mount(comp);
> 17 | await expect(component).toHaveScreenshot();
| ^
18 | });
19 | };
20 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/brand/brand.spec.tsx:17:27
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L43
2) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant outlined
Error: expect(locator).toHaveScreenshot(expected)
130 pixels (ratio 0.09 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/react/test-results/button-button-DBButton-sho-d66ab-e-icon-for-variant-outlined-firefox/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-d66ab-e-icon-for-variant-outlined-firefox/DBButton-should-only-have-icon-for-variant-outlined-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="outlined" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="outlined" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L43
2) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant outlined
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
130 pixels (ratio 0.09 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/react/test-results/button-button-DBButton-sho-d66ab-e-icon-for-variant-outlined-firefox-retry1/DBButton-should-only-have-icon-for-variant-outlined-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-d66ab-e-icon-for-variant-outlined-firefox-retry1/DBButton-should-only-have-icon-for-variant-outlined-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="outlined" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="outlined" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L36
3) [firefox] › button/button.spec.tsx:32:7 › DBButton › should match screenshot for variant brand
Error: expect(locator).toHaveScreenshot(expected)
2418 pixels (ratio 0.91 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-match-screenshot-for-variant-brand.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-ec187-creenshot-for-variant-brand-firefox/DBButton-should-match-screenshot-for-variant-brand-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-ec187-creenshot-for-variant-brand-firefox/DBButton-should-match-screenshot-for-variant-brand-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-variant="brand">Test</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
- 2418 pixels (ratio 0.91 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-variant="brand">Test</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
- 2418 pixels (ratio 0.91 of all image pixels) are different.
34 | }) => {
35 | const component = await mount(variantButton);
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 |
39 | test(`should only have icon for variant ${variant}`, async ({
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) [firefox] › button/button.spec.tsx:32:7 › DBButton › should match screenshot for variant brand
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
2418 pixels (ratio 0.91 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-match-screenshot-for-variant-brand.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-ec187-creenshot-for-variant-brand-firefox-retry1/DBButton-should-match-screenshot-for-variant-brand-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-ec187-creenshot-for-variant-brand-firefox-retry1/DBButton-should-match-screenshot-for-variant-brand-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-variant="brand">Test</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
- 2418 pixels (ratio 0.91 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-variant="brand">Test</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
- 2418 pixels (ratio 0.91 of all image pixels) are different.
34 | }) => {
35 | const component = await mount(variantButton);
> 36 | await expect(component).toHaveScreenshot();
| ^
37 | });
38 |
39 | test(`should only have icon for variant ${variant}`, async ({
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#L43
4) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant brand ──
Error: expect(locator).toHaveScreenshot(expected)
1380 pixels (ratio 0.87 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-only-have-icon-for-variant-brand.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-020e3-have-icon-for-variant-brand-firefox/DBButton-should-only-have-icon-for-variant-brand-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-020e3-have-icon-for-variant-brand-firefox/DBButton-should-only-have-icon-for-variant-brand-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="brand" data-icon="x_placeholder">User</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
- 1380 pixels (ratio 0.87 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="brand" data-icon="x_placeholder">User</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
- 1380 pixels (ratio 0.87 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L43
4) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant brand ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
1380 pixels (ratio 0.87 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-only-have-icon-for-variant-brand.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-020e3-have-icon-for-variant-brand-firefox-retry1/DBButton-should-only-have-icon-for-variant-brand-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-020e3-have-icon-for-variant-brand-firefox-retry1/DBButton-should-only-have-icon-for-variant-brand-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="brand" data-icon="x_placeholder">User</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
- 1380 pixels (ratio 0.87 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="brand" data-icon="x_placeholder">User</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
- 1380 pixels (ratio 0.87 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L43
5) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant filled ─
Error: expect(locator).toHaveScreenshot(expected)
130 pixels (ratio 0.09 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-only-have-icon-for-variant-filled.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-386c2-ave-icon-for-variant-filled-firefox/DBButton-should-only-have-icon-for-variant-filled-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-386c2-ave-icon-for-variant-filled-firefox/DBButton-should-only-have-icon-for-variant-filled-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="filled" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="filled" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
🔣 Print GitHub Report:
output/react/src/components/button/button.spec.tsx#L43
5) [firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant filled ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
130 pixels (ratio 0.09 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/button/component/firefox/DBButton-should-only-have-icon-for-variant-filled.png
Received: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-386c2-ave-icon-for-variant-filled-firefox-retry1/DBButton-should-only-have-icon-for-variant-filled-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/button-button-DBButton-sho-386c2-ave-icon-for-variant-filled-firefox-retry1/DBButton-should-only-have-icon-for-variant-filled-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="filled" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <button type="button" class="db-button" data-no-text="true" data-variant="filled" data-icon="x_placeholder">User</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
- 130 pixels (ratio 0.09 of all image pixels) are different.
41 | }) => {
42 | const component = await mount(variantIconButton);
> 43 | await expect(component).toHaveScreenshot();
| ^
44 | });
45 | }
46 | };
at /__w/mono/mono/output/react/src/components/button/button.spec.tsx:43:28
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
17 failed
[firefox] › brand/brand.spec.tsx:15:6 › DBBrand › should match screenshot ──────────────────────
[firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant outlined
[firefox] › button/button.spec.tsx:32:7 › DBButton › should match screenshot for variant brand ─
[firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant brand ───
[firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant filled ──
[firefox] › button/button.spec.tsx:39:7 › DBButton › should only have icon for variant ghost ───
[firefox] › infotext/infotext.spec.tsx:16:6 › DBInfotext › should match screenshot ─────────────
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic critical
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic informational
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic warning
[firefox] › infotext/infotext.spec.tsx:24:7 › DBInfotext › should match screenshot for semantic successful
[firefox] › notification/notification.spec.tsx:23:7 › DBNotification › should match screenshot for semantic critical
[firefox] › notification/notification.spec.tsx:23:7 › DBNotification › should match screenshot for semantic informational
[firefox] › notification/notification.spec.tsx:23:7 › DBNotification › should match screenshot for semantic warning
[firefox] › notification/notification.spec.tsx:23:7 › DBNotification › should match screenshot for semantic successful
[firefox] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ───────────────────
[firefox] › tabs/tabs.spec.tsx:33:6 › DBTabs › should match screenshot ─────────────────────────
3 skipped
127 passed (2.5m)
|
Loading