From 4612c9f4825cc651fcf745d1518de0fa2c15caca Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Mon, 18 Jul 2022 16:04:29 +0300 Subject: [PATCH] Split behaviour to smaller pieces Signed-off-by: Janne Savolainen --- ...ling-helm-chart-from-new-tab.test.ts.snap} | 5965 +--------------- ...rt-from-previously-opened-tab.test.ts.snap | 1257 ++++ ...tab-for-installing-helm-chart.test.ts.snap | 6352 +++++++++++++++++ ...installing-helm-chart-from-new-tab.test.ts | 1024 +++ ...m-chart-from-previously-opened-tab.test.ts | 260 + ...dock-tab-for-installing-helm-chart.test.ts | 361 + .../helm-charts/installing-helm-chart.test.ts | 1338 ---- .../test-utils/get-application-builder.tsx | 7 +- 8 files changed, 9278 insertions(+), 7286 deletions(-) rename src/behaviours/helm-charts/{__snapshots__/installing-helm-chart.test.ts.snap => installing-chart/__snapshots__/installing-helm-chart-from-new-tab.test.ts.snap} (75%) create mode 100644 src/behaviours/helm-charts/installing-chart/__snapshots__/installing-helm-chart-from-previously-opened-tab.test.ts.snap create mode 100644 src/behaviours/helm-charts/installing-chart/__snapshots__/opening-dock-tab-for-installing-helm-chart.test.ts.snap create mode 100644 src/behaviours/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.ts create mode 100644 src/behaviours/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.ts create mode 100644 src/behaviours/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.ts delete mode 100644 src/behaviours/helm-charts/installing-helm-chart.test.ts diff --git a/src/behaviours/helm-charts/__snapshots__/installing-helm-chart.test.ts.snap b/src/behaviours/helm-charts/installing-chart/__snapshots__/installing-helm-chart-from-new-tab.test.ts.snap similarity index 75% rename from src/behaviours/helm-charts/__snapshots__/installing-helm-chart.test.ts.snap rename to src/behaviours/helm-charts/installing-chart/__snapshots__/installing-helm-chart-from-new-tab.test.ts.snap index 04fcd29446..ad5d354124 100644 --- a/src/behaviours/helm-charts/__snapshots__/installing-helm-chart.test.ts.snap +++ b/src/behaviours/helm-charts/installing-chart/__snapshots__/installing-helm-chart-from-new-tab.test.ts.snap @@ -1,2843 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`installing helm chart given tab for installing chart was not previously opened and application is started, when navigating to helm charts renders 1`] = ` - -
-
-
-