chore: make dev task not persistent #111
Merged
Annotations
4 errors, 7 warnings, and 2 notices
|
Run e2e tests:
apps/knowledge-base/e2e/tests/pages/contact.test.ts#L161
3) [webkit] › e2e/tests/pages/contact.test.ts:134:3 › contact page › contact form › should display error message when sending contact form submission fails
Error: expect(locator).toContainText(expected) failed
Locator: getByRole('main').getByRole('alert')
Expected substring: "Failed to send message."
Received string: ""
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('main').getByRole('alert')
9 × locator resolved to <div role="alert" class="sr-only" aria-atomic="true" aria-live="assertive">…</div>
- unexpected value ""
159 |
160 | await expect(contactPage.page.getByRole("main").getByRole("status")).toBeEmpty();
> 161 | await expect(contactPage.page.getByRole("main").getByRole("alert")).toContainText(
| ^
162 | i18n.t("actions.sendContactFormEmailAction.error"),
163 | { timeout: 5000 },
164 | );
at /home/runner/work/knowledge-base/knowledge-base/apps/knowledge-base/e2e/tests/pages/contact.test.ts:161:73
|
|
Run e2e tests:
apps/knowledge-base/e2e/tests/pages/contact.test.ts#L100
2) [webkit] › e2e/tests/pages/contact.test.ts:77:3 › contact page › contact form › should send contact form submission via email
Error: expect(locator).toContainText(expected) failed
Locator: getByRole('main').getByRole('status')
Expected substring: "Successfully sent message."
Received string: ""
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('main').getByRole('status')
9 × locator resolved to <div role="status" class="sr-only" aria-atomic="true" aria-live="polite">…</div>
- unexpected value ""
98 |
99 | await expect(contactPage.page.getByRole("main").getByRole("alert")).toBeEmpty();
> 100 | await expect(contactPage.page.getByRole("main").getByRole("status")).toContainText(
| ^
101 | i18n.t("actions.sendContactFormEmailAction.success"),
102 | { timeout: 5000 },
103 | );
at /home/runner/work/knowledge-base/knowledge-base/apps/knowledge-base/e2e/tests/pages/contact.test.ts:100:73
|
|
Run e2e tests:
apps/knowledge-base/e2e/tests/pages/contact.test.ts#L105
1) [firefox] › e2e/tests/pages/contact.test.ts:77:3 › contact page › contact form › should send contact form submission via email
Error: Wait for at least one email to appear in Mailpit.
expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 10000ms exceeded while waiting on the predicate
103 | );
104 |
> 105 | await expect
| ^
106 | .poll(
107 | async () => {
108 | const data = await emailService.getMessages();
at /home/runner/work/knowledge-base/knowledge-base/apps/knowledge-base/e2e/tests/pages/contact.test.ts:105:4
|
|
Run e2e tests:
apps/website/e2e/tests/pages/contact.test.ts#L161
1) [webkit] › e2e/tests/pages/contact.test.ts:134:3 › contact page › contact form › should display error message when sending contact form submission fails
Error: expect(locator).toContainText(expected) failed
Locator: getByRole('main').getByRole('alert')
Expected substring: "Failed to send message."
Received string: ""
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('main').getByRole('alert')
9 × locator resolved to <div role="alert" class="sr-only" aria-atomic="true" aria-live="assertive">…</div>
- unexpected value ""
159 |
160 | await expect(contactPage.page.getByRole("main").getByRole("status")).toBeEmpty();
> 161 | await expect(contactPage.page.getByRole("main").getByRole("alert")).toContainText(
| ^
162 | i18n.t("actions.sendContactFormEmailAction.error"),
163 | { timeout: 5000 },
164 | );
at /home/runner/work/knowledge-base/knowledge-base/apps/website/e2e/tests/pages/contact.test.ts:161:73
|
|
Run actions/upload-artifact@v6
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
Lint:
apps/knowledge-base/components/ui/table.tsx#L72
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
|
Lint:
apps/knowledge-base/components/ui/dialog.tsx#L153
Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function
|
|
Lint:
apps/knowledge-base/components/ui/dialog.tsx#L55
Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function
|
|
Lint:
apps/knowledge-base/components/ui/breadcrumbs.tsx#L25
A context name must be a valid component name with the suffix 'Context'
|
|
Lint:
apps/knowledge-base/components/ui/avatar.tsx#L83
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Lint:
apps/knowledge-base/app/(app)/[locale]/(dashboard)/dashboard/website/assets/_components/image-grid.tsx#L21
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Run e2e tests
3 flaky
[firefox] › e2e/tests/pages/contact.test.ts:77:3 › contact page › contact form › should send contact form submission via email
[webkit] › e2e/tests/pages/contact.test.ts:77:3 › contact page › contact form › should send contact form submission via email
[webkit] › e2e/tests/pages/contact.test.ts:134:3 › contact page › contact form › should display error message when sending contact form submission fails
45 skipped
81 passed (1.7m)
|
|
Run e2e tests
1 flaky
[webkit] › e2e/tests/pages/contact.test.ts:134:3 › contact page › contact form › should display error message when sending contact form submission fails
45 skipped
83 passed (1.5m)
|
Loading