From 55d3c0fc2c915d964da9ab67784aa7f387c1be5e Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Mon, 16 Aug 2021 10:12:43 +0300 Subject: [PATCH] Fixing tests Signed-off-by: Alex Andreev --- integration/__tests__/app.tests.ts | 2 +- src/renderer/components/+preferences/helm-charts.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/__tests__/app.tests.ts b/integration/__tests__/app.tests.ts index 0c28359317..5bf707fb71 100644 --- a/integration/__tests__/app.tests.ts +++ b/integration/__tests__/app.tests.ts @@ -73,7 +73,7 @@ describe("Lens integration tests", () => { } await app.client.click("[data-testid=kubernetes-tab]"); - await app.client.waitUntilTextExists("div.repos .repoName", repos[0].name); // wait for the helm-cli to fetch the repo(s) + await app.client.waitUntilTextExists("[data-testid=repository-name]", repos[0].name); // wait for the helm-cli to fetch the repo(s) await app.client.click("#HelmRepoSelect"); // click the repo select to activate the drop-down await app.client.waitUntilTextExists("div.Select__option", ""); // wait for at least one option to appear (any text) }); diff --git a/src/renderer/components/+preferences/helm-charts.tsx b/src/renderer/components/+preferences/helm-charts.tsx index b6ba809092..d0dd47e464 100644 --- a/src/renderer/components/+preferences/helm-charts.tsx +++ b/src/renderer/components/+preferences/helm-charts.tsx @@ -139,7 +139,7 @@ export class HelmCharts extends React.Component { return ( this.removeRepo(repo)} className="mt-3">
-
{name}
+
{name}
{repo.url}