chore: use mitosis attribute passing for angular and stencil #16450
Annotations
5 errors and 1 notice
🔣 Print GitHub Report:
output/vue/src/components/popover/popover.spec.tsx#L45
1) [firefox] › popover/popover.spec.tsx:42:2 › DBPopover › after open should match screenshot ────
Error: expect(locator).toHaveScreenshot(expected)
354 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/popover/component/firefox/DBPopover-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-firefox/DBPopover-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-firefox/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
- 354 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
- 354 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/vue/src/components/popover/popover.spec.tsx:45:27
|
🔣 Print GitHub Report:
output/vue/src/components/popover/popover.spec.tsx#L45
1) [firefox] › popover/popover.spec.tsx:42:2 › DBPopover › after open should match screenshot ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
354 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/popover/component/firefox/DBPopover-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-firefox-retry1/DBPopover-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/popover-popover-DBPopover-after-open-should-match-screenshot-firefox-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
- 354 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
- 354 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/vue/src/components/popover/popover.spec.tsx:45:27
|
🔣 Print GitHub Report:
output/vue/src/components/tooltip/tooltip.spec.tsx#L40
2) [firefox] › tooltip/tooltip.spec.tsx:37:2 › DBTooltip › after open should match screenshot ────
Error: expect(locator).toHaveScreenshot(expected)
244 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tooltip/component/firefox/DBTooltip-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-firefox/DBTooltip-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-firefox/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
- 244 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
- 244 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/vue/src/components/tooltip/tooltip.spec.tsx:40:27
|
🔣 Print GitHub Report:
output/vue/src/components/tooltip/tooltip.spec.tsx#L40
2) [firefox] › tooltip/tooltip.spec.tsx:37:2 › DBTooltip › after open should match screenshot ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
244 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tooltip/component/firefox/DBTooltip-after-open-should-match-screenshot.png
Received: /__w/mono/mono/output/vue/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-firefox-retry1/DBTooltip-after-open-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/vue/test-results/tooltip-tooltip-DBTooltip-after-open-should-match-screenshot-firefox-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
- 244 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
- 244 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/vue/src/components/tooltip/tooltip.spec.tsx:40:27
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
2 failed
[firefox] › popover/popover.spec.tsx:42:2 › DBPopover › after open should match screenshot ─────
[firefox] › tooltip/tooltip.spec.tsx:37:2 › DBTooltip › after open should match screenshot ─────
3 skipped
142 passed (1.4m)
|
Loading