fix: update console routes and base path for ObjectStack application #528
changeset-release.yml
on: push
Changeset Release
2m 8s
Annotations
10 errors
|
apps/console/src/__tests__/ObjectGrid.test.tsx > ObjectGrid MSW Integration > Data Loading > should show loading state initially:
apps/console/src/__tests__/ObjectGrid.test.tsx#L199
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:199:5
|
|
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: 'xhtdbts5so', …(15) }, …(13) ] to have a length of 7 but got 14
- Expected
+ Received
- 7
+ 14
❯ apps/console/src/__tests__/MSWServer.test.tsx:26:22
|
|
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
|