test: add new tests for components #10515
default.yml
on: pull_request
init
/
Init
19s
scan-secrets
/
TruffleHog
39s
lint
/
Lint
41s
Matrix: test-components / playwright-ct
Matrix: test-showcases / playwright-showcases
regenerate-snapshots
/
🧪🎭 - Regenerate snapshots
2m 46s
deploy
/
Deploy
Annotations
20 errors, 3 warnings, and 6 notices
test-components / 🧪🎭 - vue:3/3
Process completed with exit code 1.
|
[mobile_chrome] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot:
output/vue/vue3/src/components/accordion/accordion.spec.tsx#L66
1) [mobile_chrome] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/mobile-chrome/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/vue/vue3/src/components/accordion/accordion.spec.tsx:66:3
|
test-components / 🧪🎭 - vue:1/3
Process completed with exit code 1.
|
[chromium] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot:
output/vue/vue3/src/components/accordion/accordion.spec.tsx#L66
1) [chromium] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/chromium/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/vue/vue3/src/components/accordion/accordion.spec.tsx:66:3
|
[chromium] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot:
output/react/src/components/accordion/accordion.spec.tsx#L66
1) [chromium] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/chromium/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:66:3
|
[chromium] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [chromium] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ─────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
[chromium] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [chromium] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
test-components / 🧪🎭 - react:1/3
Process completed with exit code 1.
|
[mobile_chrome] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot:
output/react/src/components/accordion/accordion.spec.tsx#L66
1) [mobile_chrome] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/mobile-chrome/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:66:3
|
[mobile_chrome] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [mobile_chrome] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
[mobile_chrome] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [mobile_chrome] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
test-components / 🧪🎭 - react:3/3
Process completed with exit code 1.
|
[firefox] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot:
output/vue/vue3/src/components/accordion/accordion.spec.tsx#L66
1) [firefox] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/firefox/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/vue/vue3/src/components/accordion/accordion.spec.tsx:66:3
|
test-components / 🧪🎭 - vue:2/3
Process completed with exit code 1.
|
[firefox] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot:
output/react/src/components/accordion/accordion.spec.tsx#L66
1) [firefox] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
Error: A snapshot doesn't exist at /__w/mono/mono/__snapshots__/accordion/component/firefox/DBAccordion-open-items-should-match-screenshot.png, writing actual.
64 | test('open items should match screenshot', async ({ mount }) => {
65 | const component = await mount(openAccordion);
> 66 | await expect(component).toHaveScreenshot();
| ^
67 | });
68 | };
69 |
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:66:3
|
[firefox] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [firefox] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ──────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
[firefox] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works:
output/react/src/components/accordion/accordion.spec.tsx#L94
2) [firefox] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#root').locator('internal:control=component').getByTestId('textarea').getByRole('textbox')
92 | await component.getByTestId('item2').click();
93 | const textArea = component.getByTestId('textarea').getByRole('textbox');
> 94 | await expect(textArea).toBeVisible();
| ^
95 | await textArea.fill('Test');
96 | await expect(textArea).toHaveValue('Test');
97 | });
at /__w/mono/mono/output/react/src/components/accordion/accordion.spec.tsx:94:26
|
test-components / 🧪🎭 - react:2/3
Process completed with exit code 1.
|
checks-done
Process completed with exit code 1.
|
regenerate-snapshots / 🧪🎭 - Regenerate snapshots
Process completed with exit code 1.
|
scan-secrets / TruffleHog
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-showcases / Build Showcases
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
output/react/[firefox] › accordion/accordion.spec.tsx#L1
output/react/[firefox] › accordion/accordion.spec.tsx took 16.4s
|
🎭 Playwright Run Summary
1 failed
[mobile_chrome] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
4 skipped
90 passed (23.4s)
|
🎭 Playwright Run Summary
1 failed
[chromium] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
4 skipped
90 passed (22.9s)
|
🎭 Playwright Run Summary
2 failed
[chromium] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
[chromium] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ──────
4 skipped
89 passed (31.9s)
|
🎭 Playwright Run Summary
2 failed
[mobile_chrome] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
[mobile_chrome] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ─
4 skipped
89 passed (32.1s)
|
🎭 Playwright Run Summary
1 failed
[firefox] › accordion/accordion.spec.tsx:64:2 › DBAccordion › open items should match screenshot
4 skipped
90 passed (39.1s)
|
🎭 Playwright Run Summary
2 failed
[firefox] › accordion/accordion.spec.tsx:64:6 › DBAccordion › open items should match screenshot
[firefox] › accordion/accordion.spec.tsx:90:6 › DBAccordion › textarea inside item works ───────
4 skipped
89 passed (49.1s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
db-ui-components-build
Expired
|
274 KB |
|
db-ui-foundations-build
Expired
|
70.4 KB |
|
db-ui-output
Expired
|
336 KB |
|
db-ui-outputs
Expired
|
2.96 MB |
|
db-ui-showcases
Expired
|
7.96 MB |
|
react-components-playwright-results-1
Expired
|
164 KB |
|
react-components-playwright-results-2
Expired
|
148 KB |
|
react-components-playwright-results-3
Expired
|
164 KB |
|
vue-components-playwright-results-1
Expired
|
5.3 KB |
|
vue-components-playwright-results-2
Expired
|
6.12 KB |
|
vue-components-playwright-results-3
Expired
|
5.31 KB |
|