feat(Report): add sales performance report and integrate report build… #533
changeset-release.yml
on: push
Changeset Release
2m 3s
Annotations
10 errors
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > CRUD Operations > should trigger onDelete callback:
apps/console/src/__tests__/ObjectGrid.test.tsx#L173
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ apps/console/src/__tests__/ObjectGrid.test.tsx:173:5
|
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > CRUD Operations > should trigger onEdit callback:
apps/console/src/__tests__/ObjectGrid.test.tsx#L149
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ apps/console/src/__tests__/ObjectGrid.test.tsx:149:5
|
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > CRUD Operations > should support row selection:
apps/console/src/__tests__/ObjectGrid.test.tsx#L125
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ apps/console/src/__tests__/ObjectGrid.test.tsx:125:5
|
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > Grid Rendering > should render all columns specified in schema:
apps/console/src/__tests__/ObjectGrid.test.tsx#L52
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ apps/console/src/__tests__/ObjectGrid.test.tsx:52:5
|
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > Grid Rendering > should render grid with data from MSW server:
apps/console/src/__tests__/ObjectGrid.test.tsx#L31
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ apps/console/src/__tests__/ObjectGrid.test.tsx:31:5
|
|
apps/console/src/__tests__/MSWServer.test.tsx > MSW Server Integration > should initialize MSW server with data:
apps/console/src/__tests__/MSWServer.test.tsx#L26
AssertionError: expected [ { id: 'xtoyr8tezab', …(15) }, …(13) ] to have a length of 7 but got 14
- Expected
+ Received
- 7
+ 14
❯ apps/console/src/__tests__/MSWServer.test.tsx:26:22
|
|
apps/console/src/__tests__/ConsoleFeatures.test.tsx > ObjectView Console Features > renders ListView:
apps/console/src/components/ObjectView.tsx#L200
Error: [vitest] No "Code2" export is defined on the "lucide-react" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("lucide-react"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ObjectView apps/console/src/components/ObjectView.tsx:200:26
❯ Object.react_stack_bottom_frame node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
packages/plugin-grid/src/ObjectGrid.msw.test.tsx > ObjectGrid with ObjectStack/MSW > loads schema and data rows:
packages/plugin-grid/src/ObjectGrid.msw.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: Name. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading grid
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading grid
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
</html>...
❯ waitForWrapper node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ packages/plugin-grid/src/ObjectGrid.msw.test.tsx:90:15
|
|
packages/plugin-form/src/ObjectForm.msw.test.tsx > ObjectForm with ObjectStack/MSW > loads record data in edit mode:
packages/plugin-form/src/ObjectForm.msw.test.tsx#L121
TestingLibraryElementError: Unable to find role="textbox" and name `/Name/i`
Ignored nodes: comments, script, style
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading form
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading form
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
</html>...
❯ waitForWrapper node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ packages/plugin-form/src/ObjectForm.msw.test.tsx:121:11
|
|
packages/plugin-form/src/ObjectForm.msw.test.tsx > ObjectForm with ObjectStack/MSW > loads schema and renders form fields:
packages/plugin-form/src/ObjectForm.msw.test.tsx#L99
TestingLibraryElementError: Unable to find an element with the text: Name. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading form
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="p-4 border border-red-300 bg-red-50 rounded-md"
>
<h3
class="text-red-800 font-semibold"
>
Error loading form
</h3>
<p
class="text-red-600 text-sm mt-1"
>
Failed to execute "fetch()" on "Window" with URL "http://localhost/api/v1/meta/object/contact":
</p>
</div>
</div>
</body>
</html>...
❯ waitForWrapper node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ packages/plugin-form/src/ObjectForm.msw.test.tsx:99:11
|