diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index c1f3e6c632..24ad38dcfc 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -45,7 +45,7 @@ describe("Lens cluster pages", () => { utils.describeIf(ready)("test common pages", () => { let clusterAdded = false; const addCluster = async () => { - await app.client.waitForExist("#hotbarIcon-catalog-entity"); + await app.client.waitUntilTextExists("div", "Catalog"); await waitForMinikubeDashboard(app); await app.client.click('a[href="/nodes"]'); await app.client.waitUntilTextExists("div.TableCell", "Ready"); diff --git a/integration/helpers/utils.ts b/integration/helpers/utils.ts index 9ce33b21c3..8067d509d7 100644 --- a/integration/helpers/utils.ts +++ b/integration/helpers/utils.ts @@ -99,8 +99,8 @@ export async function appStart() { } export async function showCatalog(app: Application) { - await app.client.waitUntilTextExists("[data-test-id=catalog-link]", "Catalog"); - await app.client.click("[data-test-id=catalog-link]"); + await app.client.waitForExist("#hotbarIcon-catalog-entity"); + await app.client.click("#hotbarIcon-catalog-entity"); } type AsyncPidGetter = () => Promise; diff --git a/src/renderer/components/cluster-manager/bottom-bar.scss b/src/renderer/components/cluster-manager/bottom-bar.scss index d89eefdc3e..c09e75889f 100644 --- a/src/renderer/components/cluster-manager/bottom-bar.scss +++ b/src/renderer/components/cluster-manager/bottom-bar.scss @@ -27,18 +27,6 @@ padding: 0 2px; height: var(--bottom-bar-height); - #catalog-link { - font-size: var(--font-size-small); - color: white; - padding: $padding / 4 $padding / 2; - cursor: pointer; - - &:hover { - background-color: #ffffff33; - cursor: pointer; - } - } - .extensions { font-size: var(--font-size-small); color: white; diff --git a/src/renderer/components/cluster-manager/bottom-bar.tsx b/src/renderer/components/cluster-manager/bottom-bar.tsx index 8e37128198..0f61a03833 100644 --- a/src/renderer/components/cluster-manager/bottom-bar.tsx +++ b/src/renderer/components/cluster-manager/bottom-bar.tsx @@ -24,9 +24,6 @@ import "./bottom-bar.scss"; import React from "react"; import { observer } from "mobx-react"; import { StatusBarRegistration, StatusBarRegistry } from "../../../extensions/registries"; -import { navigate } from "../../navigation"; -import { Icon } from "../icon"; -import { catalogURL } from "../../../common/routes"; @observer export class BottomBar extends React.Component { @@ -67,10 +64,6 @@ export class BottomBar extends React.Component { render() { return (
- {this.renderRegisteredItems()}
);