FE: KC: Add search filters #307
frontend_pr.yml
on: pull_request_target
build
/
build-and-test
2m 51s
Annotations
3 errors
Connectors List Page › renders search input:
frontend/src/components/Connect/List/__tests__/ListPage.spec.tsx#L73
TestingLibraryElementError: Unable to find an element with the placeholder text of: Search by Connect Name, Status or Type
Ignored nodes: comments, script, style
<body>
<div>
<div>
<div
class="sc-irLvIq fIHcOi"
>
<div
class="sc-jsEeTM jDNDvj"
>
<h1
class="sc-qZrbh kekPDA"
>
Connectors
</h1>
</div>
<div>
<div>
<div
class="sc-eTNRI FtVgH"
>
<div
class="sc-dJGMql ifRiRK"
>
<a
href="/ui/clusters/local/connectors/create-new"
>
<button
buttonsize="M"
buttontype="primary"
class="sc-khjJXk gZkxId"
type="button"
>
Create Connector
</button>
</a>
</div>
</div>
</div>
</div>
</div>
<div
class="sc-beySPh iJhMUe"
>
<div
role="group"
>
<div
class="sc-hLQSwg iZQBnY"
>
<div
class="sc-guDLey hAfPKb"
>
<div
title="Total number of connectors"
>
<div
class="sc-dmyCSP dZwXQT"
>
Connectors
</div>
<span>
-
</span>
</div>
</div>
<div
class="sc-guDLey hAfPKb"
>
<div
title="Number of failed connectors"
>
<div
class="sc-dmyCSP dZwXQT"
>
Failed Connectors
</div>
<span>
0
</span>
</div>
</div>
<div
class="sc-guDLey hAfPKb"
>
<div
title="Number of failed tasks"
>
<div
class="sc-dmyCSP dZwXQT"
>
Failed Tasks
</div>
<span>
0
</span>
</div>
</div>
</div>
</div>
</div>
<div>
Connectors List
</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.getByPlaceholderText (src/components/Connect/List/__tests__/ListPage.spec.tsx:73:14)
|
Connectors List › when the connectors are loaded › renders:
frontend/src/components/Connect/List/__tests__/List.spec.tsx#L59
expect(received).toEqual(expected) // deep equality
Expected: 3
Received: 4
at Object.toEqual (src/components/Connect/List/__tests__/List.spec.tsx:59:49)
|
build / build-and-test
Process completed with exit code 1.
|