1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Revert "chore: Fix integration tests failing due to helm testid's changing"

This reverts commit 6d4d331a41.
This commit is contained in:
Sebastian Malton 2023-05-23 09:09:13 -04:00
parent 1b43de50fe
commit 96b7ecbadd
4 changed files with 4 additions and 4 deletions

View File

@ -322,13 +322,13 @@ const scenarios = [
{ {
expectedSelector: "div.HelmCharts input", expectedSelector: "div.HelmCharts input",
parentSidebarItemTestId: "link-for-sidebar-item-helm", parentSidebarItemTestId: "link-for-sidebar-item-helm",
sidebarItemTestId: "link-for-sidebar-item-helm-charts", sidebarItemTestId: "link-for-sidebar-item-charts",
}, },
{ {
expectedSelector: "h5.title", expectedSelector: "h5.title",
parentSidebarItemTestId: "link-for-sidebar-item-helm", parentSidebarItemTestId: "link-for-sidebar-item-helm",
sidebarItemTestId: "link-for-sidebar-item-helm-releases", sidebarItemTestId: "link-for-sidebar-item-releases",
}, },
{ {

View File

@ -4,7 +4,7 @@
*/ */
import { getInjectable } from "@ogre-tools/injectable"; import { getInjectable } from "@ogre-tools/injectable";
import helmChartsRouteInjectable from "../../../common/front-end-routing/routes/cluster/helm/charts/helm-charts-route.injectable"; import helmChartsRouteInjectable from "../../../common/front-end-routing/routes/cluster/helm/charts/helm-charts-route.injectable";
import helmSidebarItemInjectable from "../helm/sidebar-item.injectable"; import helmSidebarItemInjectable from "../helm/helm-sidebar-item.injectable";
import { sidebarItemInjectionToken } from "@k8slens/cluster-sidebar"; import { sidebarItemInjectionToken } from "@k8slens/cluster-sidebar";
import routeIsActiveInjectable from "../../routes/route-is-active.injectable"; import routeIsActiveInjectable from "../../routes/route-is-active.injectable";
import navigateToHelmChartsInjectable from "../../../common/front-end-routing/routes/cluster/helm/charts/navigate-to-helm-charts.injectable"; import navigateToHelmChartsInjectable from "../../../common/front-end-routing/routes/cluster/helm/charts/navigate-to-helm-charts.injectable";

View File

@ -5,7 +5,7 @@
import { getInjectable } from "@ogre-tools/injectable"; import { getInjectable } from "@ogre-tools/injectable";
import helmReleasesRouteInjectable from "../../../common/front-end-routing/routes/cluster/helm/releases/helm-releases-route.injectable"; import helmReleasesRouteInjectable from "../../../common/front-end-routing/routes/cluster/helm/releases/helm-releases-route.injectable";
import helmSidebarItemInjectable from "../helm/sidebar-item.injectable"; import helmSidebarItemInjectable from "../helm/helm-sidebar-item.injectable";
import { sidebarItemInjectionToken } from "@k8slens/cluster-sidebar"; import { sidebarItemInjectionToken } from "@k8slens/cluster-sidebar";
import routeIsActiveInjectable from "../../routes/route-is-active.injectable"; import routeIsActiveInjectable from "../../routes/route-is-active.injectable";
import navigateToHelmReleasesInjectable from "../../../common/front-end-routing/routes/cluster/helm/releases/navigate-to-helm-releases.injectable"; import navigateToHelmReleasesInjectable from "../../../common/front-end-routing/routes/cluster/helm/releases/navigate-to-helm-releases.injectable";