chore: use mitosis attribute passing for angular and stencil #16450
Annotations
5 errors and 1 notice
🔣 Print GitHub Report:
output/react/src/components/popover/popover.spec.tsx#L45
1) [mobile_chrome] › popover/popover.spec.tsx:42:6 › DBPopover › after open should match screenshot
Error: expect(locator).toHaveScreenshot(expected)
383 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/popover/component/mobile-chrome/DBPopover-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-mobile-chrome/DBPopover-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-mobile-chrome/DBPopover-after-open-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="padding-box">…</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
- 383 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="padding-box">…</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
- 383 pixels (ratio 0.01 of all image pixels) are different.
43 | const component = await mount(comp);
44 | await component.getByTestId('button').focus();
> 45 | await expect(component).toHaveScreenshot();
| ^
46 | });
47 | };
48 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/popover/popover.spec.tsx:45:27
|
🔣 Print GitHub Report:
output/react/src/components/popover/popover.spec.tsx#L45
1) [mobile_chrome] › popover/popover.spec.tsx:42:6 › DBPopover › after open should match screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
383 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/popover/component/mobile-chrome/DBPopover-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-mobile-chrome-retry1/DBPopover-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-mobile-chrome-retry1/DBPopover-after-open-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="padding-box">…</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
- 383 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="padding-box">…</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
- 383 pixels (ratio 0.01 of all image pixels) are different.
43 | const component = await mount(comp);
44 | await component.getByTestId('button').focus();
> 45 | await expect(component).toHaveScreenshot();
| ^
46 | });
47 | };
48 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/popover/popover.spec.tsx:45:27
|
🔣 Print GitHub Report:
output/react/src/components/tooltip/tooltip.spec.tsx#L40
2) [mobile_chrome] › tooltip/tooltip.spec.tsx:37:6 › DBTooltip › after open should match screenshot
Error: expect(locator).toHaveScreenshot(expected)
261 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tooltip/component/mobile-chrome/DBTooltip-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-mobile-chrome/DBTooltip-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-mobile-chrome/DBTooltip-after-open-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="padding-box">…</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
- 261 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="padding-box">…</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
- 261 pixels (ratio 0.01 of all image pixels) are different.
38 | const component = await mount(comp);
39 | await component.getByTestId('button').focus();
> 40 | await expect(component).toHaveScreenshot();
| ^
41 | });
42 | };
43 |
at /__w/mono/mono/output/react/src/components/tooltip/tooltip.spec.tsx:40:27
|
🔣 Print GitHub Report:
output/react/src/components/tooltip/tooltip.spec.tsx#L40
2) [mobile_chrome] › tooltip/tooltip.spec.tsx:37:6 › DBTooltip › after open should match screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
261 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tooltip/component/mobile-chrome/DBTooltip-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-mobile-chrome-retry1/DBTooltip-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-mobile-chrome-retry1/DBTooltip-after-open-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="padding-box">…</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
- 261 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="padding-box">…</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
- 261 pixels (ratio 0.01 of all image pixels) are different.
38 | const component = await mount(comp);
39 | await component.getByTestId('button').focus();
> 40 | await expect(component).toHaveScreenshot();
| ^
41 | });
42 | };
43 |
at /__w/mono/mono/output/react/src/components/tooltip/tooltip.spec.tsx:40:27
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
2 failed
[mobile_chrome] › popover/popover.spec.tsx:42:6 › DBPopover › after open should match screenshot
[mobile_chrome] › tooltip/tooltip.spec.tsx:37:6 › DBTooltip › after open should match screenshot
3 skipped
142 passed (39.9s)
|
Loading