refactor: remove patchDiscoveryEndpoints function and update ObjectFo… #566
changeset-release.yml
on: push
Changeset Release
2m 38s
Annotations
10 errors
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Field Types > should render number input for number fields:
apps/console/src/__tests__/ObjectForm.test.tsx#L373
TestingLibraryElementError: Unable to find a label with the text of: /Text/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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:373:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Field Types > should render checkbox for boolean fields:
apps/console/src/__tests__/ObjectForm.test.tsx#L352
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:352:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > View Mode > should render form in read-only mode:
apps/console/src/__tests__/ObjectForm.test.tsx#L327
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:327:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Edit Mode > should update contact successfully:
apps/console/src/__tests__/ObjectForm.test.tsx#L266
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:266:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Edit Mode > should load existing contact data:
apps/console/src/__tests__/ObjectForm.test.tsx#L235
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:235:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Create Mode > should apply default values:
apps/console/src/__tests__/ObjectForm.test.tsx#L197
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:197:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Create Mode > should validate required fields:
apps/console/src/__tests__/ObjectForm.test.tsx#L166
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:166:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Create Mode > should create a new contact successfully:
apps/console/src/__tests__/ObjectForm.test.tsx#L123
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:123:13
|
|
apps/console/src/__tests__/ObjectForm.test.tsx > ObjectForm with MSW Integration > Create Mode > should render create form with all fields:
apps/console/src/__tests__/ObjectForm.test.tsx#L92
TestingLibraryElementError: Unable to find a label with the text of: /^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"
>
Connection error: Maximum call stack size exceeded
</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"
>
Connection error: Maximum call stack size exceeded
</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
❯ apps/console/src/__tests__/ObjectForm.test.tsx:92:13
|
|
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#L150
Error: expect(element).toHaveValue(Alice Johnson)
Expected the element to have value:
Alice Johnson
Received:
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="w-full"
>
<form
data-obj-type="form"
fields="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
layout="vertical"
>
<div
class="space-y-4"
>
<div
class="space-y-2"
>
<label
class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
for="_r_3k_-form-item"
>
Name
<span
aria-label="required"
class="text-destructive ml-1"
>
*
</span>
</label>
<input
aria-describedby="_r_3k_-form-item-description"
aria-invalid="false"
class="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"
id="_r_3k_-form-item"
name="name"
schema="[object Object]"
type="text"
value=""
/>
</div>
<div
class="space-y-2"
>
<label
class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
for="_r_3l_-form-item"
>
Company
</label>
<input
aria-describedby="_r_3l_-form-item-description"
aria-invalid="false"
class="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"
id="_r_3l_-form-item"
name="company"
schema="[object Object]"
type="text"
value=""
/>
</div>
<div
class="space-y-2"
>
<label
class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
for="_r_3m_-form-item"
>
Email
</label>
<input
aria-describedby="_r_3m_-form-item-description"
aria-invalid="false"
class="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"
id="_r_3m_-form-item"
name="email"
placeholder="email@example.com"
schema="[object Object]"
type="email"
value=""
/>
</div>
<div
class="space-y-2"
>
<label
class="text-sm font-medium leading-none peer-disabled:cursor-not-a
|