FE: Packages housekeeping #128
Annotations
8 errors
Tests:
frontend/src/components/Schemas/Details/__test__/Details.spec.tsx#L87
TestingLibraryElementError: Unable to find an element with the text: Edit Schema. 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>
<div
class="sc-gsTEea gBTlKO"
>
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (src/components/Schemas/Details/__test__/Details.spec.tsx:87:23)
|
Tests:
frontend/src/components/Schemas/Details/__test__/Details.spec.tsx#L109
TestingLibraryElementError: Unable to find an element with the text: Edit Schema. 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>
<div
class="sc-gsTEea gBTlKO"
>
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (src/components/Schemas/Details/__test__/Details.spec.tsx:109:25)
|
Tests:
frontend/src/components/Schemas/Details/__test__/Details.spec.tsx#L135
TestingLibraryElementError: Unable to find an accessible element with the role "table"
Here are the accessible roles:
progressbar:
Name "":
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div>
<div
class="sc-gsTEea gBTlKO"
>
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (src/components/Schemas/Details/__test__/Details.spec.tsx:135:23)
|
Tests:
frontend/src/components/Schemas/List/__test__/List.spec.tsx#L109
TestingLibraryElementError: Unable to find an element with the text: schema7_1. 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>
<div
class="sc-fodVek goXGwp"
>
<div
class="sc-kstqJO ikWbUv"
>
<h1
class="sc-bqyKOL dtQceX"
>
Schema Registry
</h1>
</div>
<div>
<div
class="sc-jSgvzq gzQfRw"
>
<a
href="/ui/clusters/testClusterName/schemas/create-new"
>
<button
class="sc-pGacB hVyTSL"
type="button"
>
<svg
height="14"
viewBox="0 0 448 512"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"
/>
</svg>
Create Schema
</button>
</a>
</div>
</div>
</div>
<div
class="sc-bkzYnD iAhIGe"
>
<div>
<div
class="sc-idOiZg GWBbu"
>
<svg
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"
/>
</svg>
<input
class="sc-dIUeWJ dyKhLG"
id=":r2:"
placeholder="Search by Schema Name"
type="text"
value=""
/>
<span
class="sc-fKFxtB eJUZnc"
role="button"
tabindex="0"
>
<svg
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM11.707 4.29289C12.0976 4.68342 12.0976 5.31658 11.707 5.70711L9.41415 8L11.707 10.2929C12.0976 10.6834 12.0976 11.3166 11.707 11.7071C11.3165 12.0976 10.6834 12.0976 10.2928 11.7071L7.99994 9.41421L5.70711 11.707C5.31658 12.0976 4.68342 12.0976 4.29289 11.707C3.90237 11.3165 3.90237 10.6834 4.29289 10.2928L6.58573 8L4.29289 5.70717C3.90237 5.31664 3.90237 4.68348 4.29289 4.29295C4.68342 3.90243 5.31658 3.90243 5.70711 4.29295L7.99994 6.58579L10.2928 4.29289C10.6834 3.90237 11.3165 3.90237 11.707 4.29289Z"
fill="#ABB5BA"
fill-rule="evenodd"
/>
</svg>
</span>
</div>
</div>
</div>
<div
class="sc-fFucqa jvijpt"
>
<div
class="sc-fubCzh cSijxP"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@te
|
Tests:
frontend/src/components/Schemas/List/GlobalSchemaSelector/__test__/GlobalSchemaSelector.spec.tsx#L25
expect(element).toHaveTextContent()
Expected element to have text content:
FORWARD
Received:
FULL
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div>
<div
class="sc-kfzBvY cnYIWp"
>
<div>
Global Compatibility Level:
</div>
<div>
<div>
<ul
class="sc-iqHYmW eKkJeO"
role="listbox"
tabindex="0"
>
<div
class="sc-crrszt jYxMSu"
>
<li
class="sc-kstqJO eHhzqr"
role="option"
tabindex="0"
>
FULL
</li>
</div>
<svg
color="#73848C"
fill="currentColor"
height="5"
stroke="currentColor"
transform=""
viewBox="0 0 10 5"
width="10"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0.646447 0.146447C0.841709 -0.0488155 1.15829 -0.0488155 1.35355 0.146447L5 3.79289L8.64645 0.146447C8.84171 -0.0488155 9.15829 -0.0488155 9.35355 0.146447C9.54882 0.341709 9.54882 0.658291 9.35355 0.853553L5.35355 4.85355C5.15829 5.04882 4.84171 5.04882 4.64645 4.85355L0.646447 0.853553C0.451184 0.658291 0.451184 0.341709 0.646447 0.146447Z"
/>
</svg>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
</html>...
at toHaveTextContent (src/components/Schemas/List/GlobalSchemaSelector/__test__/GlobalSchemaSelector.spec.tsx:25:29)
at expectOptionIsSelected (src/components/Schemas/List/GlobalSchemaSelector/__test__/GlobalSchemaSelector.spec.tsx:99:7)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:121:77)
at checkRealTimersCallback (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:115:16)
at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:519:19)
|
Tests:
frontend/src/components/Schemas/Edit/__tests__/Edit.spec.tsx#L53
TestingLibraryElementError: Unable to find an element with the text: Submit. 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>
<div
class="sc-gsTEea gBTlKO"
>
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (src/components/Schemas/Edit/__tests__/Edit.spec.tsx:53:23)
|
Tests:
frontend/src/components/Schemas/Edit/__tests__/Edit.spec.tsx#L67
TestingLibraryElementError: Unable to find an element with the text: Submit. 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>
<div
class="sc-gsTEea gBTlKO"
>
<div
class="sc-bdfBQB ibnPbW"
role="progressbar"
size="80"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (src/components/Schemas/Edit/__tests__/Edit.spec.tsx:67:23)
|
Tests
Process completed with exit code 1.
|
Loading