From 3b9a72b60268bf3aa5b7412ce6992313d43845ac Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 7 Sep 2022 12:21:41 -0400 Subject: [PATCH] Update tests and snapshots Signed-off-by: Sebastian Malton --- src/common/app-paths/app-paths.test.ts | 8 ++++---- ...haracters-in-page-registrations.test.tsx.snap | 2 +- .../navigate-to-extension-page.test.tsx.snap | 2 +- ...vigation-using-application-menu.test.tsx.snap | 2 +- ...time-since-update-was-downloaded.test.ts.snap | 6 +++--- ...ling-update-using-topbar-button.test.tsx.snap | 4 ++-- .../installing-update-using-tray.test.ts.snap | 12 ++++++------ .../__snapshots__/installing-update.test.ts.snap | 12 ++++++------ .../periodical-checking-of-updates.test.ts.snap | 2 +- .../selection-of-update-stability.test.ts.snap | 2 +- .../keyboard-shortcuts.test.tsx.snap | 16 ++++++++-------- ...avigation-using-application-menu.test.ts.snap | 2 +- ...avigation-using-application-menu.test.ts.snap | 2 +- .../navigation-using-tray.test.ts.snap | 2 +- ...ems-originating-from-extensions.test.tsx.snap | 2 +- ...avigation-using-application-menu.test.ts.snap | 4 ++-- 16 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/common/app-paths/app-paths.test.ts b/src/common/app-paths/app-paths.test.ts index 16a4682ef3..ff4bd88988 100644 --- a/src/common/app-paths/app-paths.test.ts +++ b/src/common/app-paths/app-paths.test.ts @@ -85,7 +85,7 @@ describe("app-paths", () => { recent: "some-recent", temp: "some-temp", videos: "some-videos", - userData: "some-app-data/some-app-name", + userData: "some-app-data/some-product-name", }); }); @@ -108,7 +108,7 @@ describe("app-paths", () => { recent: "some-recent", temp: "some-temp", videos: "some-videos", - userData: "some-app-data/some-app-name", + userData: "some-app-data/some-product-name", }); }); }); @@ -134,7 +134,7 @@ describe("app-paths", () => { expect({ appData, userData }).toEqual({ appData: "some-integration-testing-app-data", - userData: `some-integration-testing-app-data/some-app-name`, + userData: `some-integration-testing-app-data/some-product-name`, }); }); @@ -143,7 +143,7 @@ describe("app-paths", () => { expect({ appData, userData }).toEqual({ appData: "some-integration-testing-app-data", - userData: "some-integration-testing-app-data/some-app-name", + userData: "some-integration-testing-app-data/some-product-name", }); }); }); diff --git a/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap b/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap index d4cda2d767..dab11ecc9b 100644 --- a/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap +++ b/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap @@ -76,7 +76,7 @@ exports[`extension special characters in page registrations renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap b/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap index 85d8746662..9dbfb50aea 100644 --- a/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap +++ b/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap @@ -76,7 +76,7 @@ exports[`navigate to extension page renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap b/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap index 55572a5303..132ef5e0b0 100644 --- a/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap +++ b/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap @@ -76,7 +76,7 @@ exports[`add-cluster - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap b/src/features/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap index 5ca948badb..93808e443c 100644 --- a/src/features/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap +++ b/src/features/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap @@ -95,7 +95,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -314,7 +314,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -580,7 +580,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap b/src/features/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap index 340122ba28..f136545fc1 100644 --- a/src/features/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap +++ b/src/features/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap @@ -95,7 +95,7 @@ exports[`encourage user to update when sufficient time passed since update was d style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -296,7 +296,7 @@ exports[`encourage user to update when sufficient time passed since update was d style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/installing-update-using-tray.test.ts.snap b/src/features/application-update/__snapshots__/installing-update-using-tray.test.ts.snap index 748ffce692..85da39aa60 100644 --- a/src/features/application-update/__snapshots__/installing-update-using-tray.test.ts.snap +++ b/src/features/application-update/__snapshots__/installing-update-using-tray.test.ts.snap @@ -77,7 +77,7 @@ exports[`installing update using tray when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -278,7 +278,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -479,7 +479,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -698,7 +698,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -917,7 +917,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1118,7 +1118,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/installing-update.test.ts.snap b/src/features/application-update/__snapshots__/installing-update.test.ts.snap index 56de9ab127..8d589d432a 100644 --- a/src/features/application-update/__snapshots__/installing-update.test.ts.snap +++ b/src/features/application-update/__snapshots__/installing-update.test.ts.snap @@ -77,7 +77,7 @@ exports[`installing update when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -278,7 +278,7 @@ exports[`installing update when started when user checks for updates renders 1`] style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -479,7 +479,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -698,7 +698,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -917,7 +917,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1118,7 +1118,7 @@ exports[`installing update when started when user checks for updates when no new style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap b/src/features/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap index a20988e3c3..25483ce178 100644 --- a/src/features/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap +++ b/src/features/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap @@ -77,7 +77,7 @@ exports[`periodical checking of updates given updater is enabled and configurati style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/application-update/__snapshots__/selection-of-update-stability.test.ts.snap b/src/features/application-update/__snapshots__/selection-of-update-stability.test.ts.snap index 0bb7a1f07a..6c0e7da36c 100644 --- a/src/features/application-update/__snapshots__/selection-of-update-stability.test.ts.snap +++ b/src/features/application-update/__snapshots__/selection-of-update-stability.test.ts.snap @@ -77,7 +77,7 @@ exports[`selection of update stability when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap b/src/features/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap index 574a757319..6704a798ae 100644 --- a/src/features/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap +++ b/src/features/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap @@ -158,7 +158,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -440,7 +440,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing ESC style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -722,7 +722,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1016,7 +1016,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1217,7 +1217,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1418,7 +1418,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing ESC style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1619,7 +1619,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -1832,7 +1832,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/features/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap index 689d9267e3..66a49f4355 100644 --- a/src/features/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/features/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -76,7 +76,7 @@ exports[`extensions - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/features/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap index 201cf9ec74..df792b6e42 100644 --- a/src/features/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/features/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -76,7 +76,7 @@ exports[`preferences - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/preferences/__snapshots__/navigation-using-tray.test.ts.snap b/src/features/preferences/__snapshots__/navigation-using-tray.test.ts.snap index 1c243cc2b9..b34af2b18c 100644 --- a/src/features/preferences/__snapshots__/navigation-using-tray.test.ts.snap +++ b/src/features/preferences/__snapshots__/navigation-using-tray.test.ts.snap @@ -77,7 +77,7 @@ exports[`show-about-using-tray renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap b/src/features/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap index af828132d2..3272b6688f 100644 --- a/src/features/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap +++ b/src/features/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap @@ -77,7 +77,7 @@ exports[`status-bar-items-originating-from-extensions when application starts wh style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your diff --git a/src/features/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/features/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap index f1188dbf9d..fe3b7f7d61 100644 --- a/src/features/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/features/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -76,7 +76,7 @@ exports[`welcome - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your @@ -915,7 +915,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el style="width: 320px;" >

- Welcome to OpenLens! + Welcome to some-product-name!

To get you started we have auto-detected your clusters in your