Skip to content

Fixed active sidebar menu is highlighted for the correct Kafka instance #324 #308

Fixed active sidebar menu is highlighted for the correct Kafka instance #324

Fixed active sidebar menu is highlighted for the correct Kafka instance #324 #308

Triggered via pull request September 11, 2024 13:43
@AlexisD02AlexisD02
opened #540
Status Failure
Total duration 3m 10s
Artifacts

frontend_pr.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Connectors List Page › Heading › renders header without create button for readonly cluster: frontend/src/components/Connect/List/__tests__/ListPage.spec.tsx#L52
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "Connectors" Here are the accessible roles: heading: Name "local / Connectors": <h1 class="sc-brSamD hrqGmg" /> -------------------------------------------------- group: Name "": <div role="group" /> -------------------------------------------------- textbox: Name "": <input class="sc-guDLey LkiKk" id=":r0:" inputsize="M" placeholder="Search by Connect Name, Status or Type" type="text" value="" /> -------------------------------------------------- button: Name "": <span class="sc-jTQCzO kwbZyI" role="button" tabindex="0" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div> <div class="sc-blmEgr huUeRo" > <div class="sc-ktwOfi dynvuv" > <h1 class="sc-brSamD hrqGmg" > <text class="sc-hABBmJ csPVcA" > local </text> <text class="sc-fHejqy htZpCG" > / </text> Connectors </h1> </div> <div /> </div> <div class="sc-gLLuof LMcJw" > <div role="group" > <div class="sc-qZrbh jIGWyd" > <div class="sc-iBdnpw iXoJSb" > <div title="Total number of connectors" > <div class="sc-fsYfdN kuvePb" > Connectors </div> <span> - </span> </div> </div> <div class="sc-iBdnpw iXoJSb" > <div title="Number of failed connectors" > <div class="sc-fsYfdN kuvePb" > Failed Connectors </div> <span> 0 </span> </div> </div> <div class="sc-iBdnpw iXoJSb" > <div title="Number of failed tasks" > <div class="sc-fsYfdN kuvePb" > Failed Tasks </div> <span> 0 </span> </div> </div> </div> </div> </div> <div class="sc-hIPBNq jZYPew" > <div> <div class="sc-beySPh RSrTX" > <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-guDLey LkiKk" id=":r0:" inputsize="M" placeholder="Search by Connect Name, Status or Type" type="text" value="" /> <span class="sc-jTQCzO kwbZyI" 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-r
Connectors List Page › Heading › renders header with create button for read/write cluster: frontend/src/components/Connect/List/__tests__/ListPage.spec.tsx#L62
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "Connectors" Here are the accessible roles: heading: Name "local / Connectors": <h1 class="sc-brSamD hrqGmg" /> -------------------------------------------------- link: Name "Create Connector": <a href="/ui/clusters/local/connectors/create-new" /> -------------------------------------------------- button: Name "Create Connector": <button buttonsize="M" buttontype="primary" class="sc-bZHSRq kBBdUJ" type="button" /> Name "": <span class="sc-jTQCzO kwbZyI" role="button" tabindex="0" /> -------------------------------------------------- group: Name "": <div role="group" /> -------------------------------------------------- textbox: Name "": <input class="sc-guDLey LkiKk" id=":r3:" inputsize="M" placeholder="Search by Connect Name, Status or Type" type="text" value="" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div> <div class="sc-blmEgr huUeRo" > <div class="sc-ktwOfi dynvuv" > <h1 class="sc-brSamD hrqGmg" > <text class="sc-hABBmJ csPVcA" > local </text> <text class="sc-fHejqy htZpCG" > / </text> Connectors </h1> </div> <div> <div> <div class="sc-dJGMql clguFO" > <div class="sc-iKOmoZ ewdZfy" > <a href="/ui/clusters/local/connectors/create-new" > <button buttonsize="M" buttontype="primary" class="sc-bZHSRq kBBdUJ" type="button" > Create Connector </button> </a> </div> </div> </div> </div> </div> <div class="sc-gLLuof LMcJw" > <div role="group" > <div class="sc-qZrbh jIGWyd" > <div class="sc-iBdnpw iXoJSb" > <div title="Total number of connectors" > <div class="sc-fsYfdN kuvePb" > Connectors </div> <span> - </span> </div> </div> <div class="sc-iBdnpw iXoJSb" > <div title="Number of failed connectors" > <div class="sc-fsYfdN kuvePb" > Failed Connectors </div> <span> 0 </span> </div> </div> <div class="sc-iBdnpw iXoJSb" > <div title="Number of failed tasks" > <div class="sc-fsYfdN kuvePb" > Failed Tasks </div> <span> 0 </span> </div> </div> </div> </div> </div> <div class="sc-hIPBNq jZYPew" > <div> <div class="sc-beySPh RSrTX" > <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
ClusterMenu › renders cluster menu with default set of features: frontend/src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx#L34
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 4 at Object.toEqual (src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx:34:35)
ClusterMenu › renders cluster menu with correct set of features: frontend/src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx#L53
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 7 at Object.toEqual (src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx:53:35)
ClusterMenu › makes Kafka Connect link active: frontend/src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx#L83
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 5 at Object.toEqual (src/components/Nav/ClusterMenu/__tests__/ClusterMenu.spec.tsx:83:35)
New › checks header for create new: frontend/src/components/Topics/New/__test__/New.spec.tsx#L48
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "Create" Here are the accessible roles: heading: Name "local / Topics / Create": <h1 class="sc-lnsjTu jzLvGx" /> Name "Custom parameters": <h4 class="sc-hABBmJ jFpnKd" /> -------------------------------------------------- link: Name "Topics": <a aria-current="page" class="sc-eAKtBH YCiXX active" href="/ui/clusters/local/all-topics" /> -------------------------------------------------- form: Name "topic form": <form aria-label="topic form" class="sc-irLvIq jAsFdX" /> -------------------------------------------------- group: Name "": <fieldset /> Name "": <fieldset /> -------------------------------------------------- textbox: Name "Topic Name *": <input autocomplete="off" class="sc-gLLuof sGlsm" id="topicFormName" inputsize="L" name="name" placeholder="Topic Name" value="" /> -------------------------------------------------- spinbutton: Name "Number of Partitions *": <input class="sc-gLLuof sGlsm" id="topicFormNumberOfPartitions" inputsize="L" min="1" name="partitions" placeholder="Number of Partitions" type="number" value="1" /> Name "Min In Sync Replicas": <input class="sc-gLLuof sGlsm" id="topicFormMinInSyncReplicas" inputsize="L" min="1" name="minInSyncReplicas" placeholder="Min In Sync Replicas" type="number" /> Name "Replication Factor": <input class="sc-gLLuof sGlsm" id="topicFormReplicationFactor" inputsize="L" min="1" name="replicationFactor" placeholder="Replication Factor" type="number" /> Name "Time to retain data (in ms)": <input class="sc-gLLuof sGlsm" id="timeToRetain" inputsize="L" name="retentionMs" placeholder=" Time to retain data (in ms)" type="number" /> Name "Maximum message size in bytes": <input class="sc-gLLuof sGlsm sc-fmKFGs hYazea" id="topicFormMaxMessageBytes" inputsize="L" min="1" name="maxMessageBytes" placeholder="Maximum message size" type="number" /> -------------------------------------------------- listbox: Name "Cleanup policy": <ul aria-labelledby="topicFormCleanupPolicyLabel" class="sc-beySPh cYGQdz" id="topicFormCleanupPolicy" minwidth="250px" name="cleanupPolicy" role="listbox" selectsize="L" tabindex="0" /> Name "Max partition size in GB": <ul aria-labelledby="topicFormRetentionBytesLabel" class="sc-beySPh kKCQWE" id="topicFormRetentionBytes" minwidth="100%" name="retentionBytes" role="listbox" selectsize="L" tabindex="0" /> -------------------------------------------------- option: Name "Delete": <li class="sc-eDLKkx hokYuI" role="option" tabindex="0" /> Name "Not Set": <li class="sc-eDLKkx hokYuI" role="option" tabindex="0" /> -------------------------------------------------- button: Name "12 hours": <button class="sc-blmEgr csqEoF" type="button" /> Name "1 day": <button class="sc-blmEgr csqEoF" type="button" /> Name "2 days": <button class="sc-blmEgr csqEoF" type="button" /> Name "7 days": <button class="sc-blmEgr dOMXaW" type="button" /> Name "4 weeks": <button class="sc-blmEgr csqEoF" type="button" /> Name "Add Custom Parameter": <button buttonsize="M" buttontype="secondary" class="sc-kFCroH cTbxhg" type="button" /> Name "Cancel": <button buttonsize="L" buttontype="secondary" class="sc-kFCroH byWsZP" type="button" /> Name "Create topic": <button buttonsize="L" buttontype="primary" class="sc-kFCroH hJUfOW" disabled="" type="submit" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div> <div class="sc-kMzELR gebokB" >
New › checks header for copy: frontend/src/components/Topics/New/__test__/New.spec.tsx#L55
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "Copy" Here are the accessible roles: heading: Name "local / Topics / Copy": <h1 class="sc-lnsjTu jzLvGx" /> Name "Custom parameters": <h4 class="sc-hABBmJ jFpnKd" /> -------------------------------------------------- link: Name "Topics": <a aria-current="page" class="sc-eAKtBH YCiXX active" href="/ui/clusters/local/all-topics" /> -------------------------------------------------- form: Name "topic form": <form aria-label="topic form" class="sc-irLvIq jAsFdX" /> -------------------------------------------------- group: Name "": <fieldset /> Name "": <fieldset /> -------------------------------------------------- textbox: Name "Topic Name *": <input autocomplete="off" class="sc-gLLuof sGlsm" id="topicFormName" inputsize="L" name="name" placeholder="Topic Name" value="test" /> -------------------------------------------------- spinbutton: Name "Number of Partitions *": <input class="sc-gLLuof sGlsm" id="topicFormNumberOfPartitions" inputsize="L" min="1" name="partitions" placeholder="Number of Partitions" type="number" value="1" /> Name "Min In Sync Replicas": <input class="sc-gLLuof sGlsm" id="topicFormMinInSyncReplicas" inputsize="L" min="1" name="minInSyncReplicas" placeholder="Min In Sync Replicas" type="number" /> Name "Replication Factor": <input class="sc-gLLuof sGlsm" id="topicFormReplicationFactor" inputsize="L" min="1" name="replicationFactor" placeholder="Replication Factor" type="number" /> Name "Time to retain data (in ms)": <input class="sc-gLLuof sGlsm" id="timeToRetain" inputsize="L" name="retentionMs" placeholder=" Time to retain data (in ms)" type="number" /> Name "Maximum message size in bytes": <input class="sc-gLLuof sGlsm sc-fmKFGs hYazea" id="topicFormMaxMessageBytes" inputsize="L" min="1" name="maxMessageBytes" placeholder="Maximum message size" type="number" /> -------------------------------------------------- listbox: Name "Cleanup policy": <ul aria-labelledby="topicFormCleanupPolicyLabel" class="sc-beySPh cYGQdz" id="topicFormCleanupPolicy" minwidth="250px" name="cleanupPolicy" role="listbox" selectsize="L" tabindex="0" /> Name "Max partition size in GB": <ul aria-labelledby="topicFormRetentionBytesLabel" class="sc-beySPh kKCQWE" id="topicFormRetentionBytes" minwidth="100%" name="retentionBytes" role="listbox" selectsize="L" tabindex="0" /> -------------------------------------------------- option: Name "Delete": <li class="sc-eDLKkx hokYuI" role="option" tabindex="0" /> Name "Not Set": <li class="sc-eDLKkx hokYuI" role="option" tabindex="0" /> -------------------------------------------------- button: Name "12 hours": <button class="sc-blmEgr csqEoF" type="button" /> Name "1 day": <button class="sc-blmEgr csqEoF" type="button" /> Name "2 days": <button class="sc-blmEgr csqEoF" type="button" /> Name "7 days": <button class="sc-blmEgr csqEoF" type="button" /> Name "4 weeks": <button class="sc-blmEgr csqEoF" type="button" /> Name "Add Custom Parameter": <button buttonsize="M" buttontype="secondary" class="sc-kFCroH cTbxhg" type="button" /> Name "Cancel": <button buttonsize="L" buttontype="secondary" class="sc-kFCroH byWsZP" type="button" /> Name "Create topic": <button buttonsize="L" buttontype="primary" class="sc-kFCroH hJUfOW" disabled="" type="submit" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div> <div class="sc-kMzELR gebokB" >
Nav › renders ClusterMenu: frontend/src/components/Nav/__tests__/Nav.spec.tsx#L37
expect(received).toEqual(expected) // deep equality Expected: 3 Received: 5 at Object.toEqual (src/components/Nav/__tests__/Nav.spec.tsx:37:48)
build / build-and-test
Process completed with exit code 1.