fix: a11y issue for placeholders #15197
Annotations
3 errors and 1 notice
🔣 Print GitHub Report:
output/react/src/components/select/select.spec.tsx#L23
1) [firefox] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ──────────────────
Error: expect(locator).toHaveScreenshot(expected)
71 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/select/component/firefox/DBSelect-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/select-select-DBSelect-should-match-screenshot-firefox/DBSelect-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/select-select-DBSelect-should-match-screenshot-firefox/DBSelect-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-select">…</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
- 71 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-select">…</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
- 71 pixels (ratio 0.01 of all image pixels) are different.
21 | test('should match screenshot', async ({ mount }) => {
22 | const component = await mount(comp);
> 23 | await expect(component).toHaveScreenshot();
| ^
24 | });
25 | };
26 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/select/select.spec.tsx:23:27
|
🔣 Print GitHub Report:
output/react/src/components/select/select.spec.tsx#L23
1) [firefox] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
71 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/select/component/firefox/DBSelect-should-match-screenshot.png
Received: /__w/mono/mono/output/react/test-results/select-select-DBSelect-should-match-screenshot-firefox-retry1/DBSelect-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/output/react/test-results/select-select-DBSelect-should-match-screenshot-firefox-retry1/DBSelect-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-select">…</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
- 71 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-select">…</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
- 71 pixels (ratio 0.01 of all image pixels) are different.
21 | test('should match screenshot', async ({ mount }) => {
22 | const component = await mount(comp);
> 23 | await expect(component).toHaveScreenshot();
| ^
24 | });
25 | };
26 | const testA11y = () => {
at /__w/mono/mono/output/react/src/components/select/select.spec.tsx:23:27
|
👩🔬 Test with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
1 failed
[firefox] › select/select.spec.tsx:21:6 › DBSelect › should match screenshot ───────────────────
3 skipped
143 passed (1.4m)
|
Loading