mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
aec860af33
commit
a6c3d81e03
@ -15,6 +15,7 @@ import { getDiForUnitTesting } from "../../renderer/getDiForUnitTesting";
|
||||
import ipcRendererInjectable from "../../renderer/utils/channel/ipc-renderer.injectable";
|
||||
import type { IpcRenderer } from "electron";
|
||||
import directoryForUserDataInjectable from "../../common/app-paths/directory-for-user-data/directory-for-user-data.injectable";
|
||||
import currentlyInClusterFrameInjectable from "../../renderer/routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
console = new Console(stdout, stderr);
|
||||
|
||||
@ -30,6 +31,7 @@ describe("ExtensionLoader", () => {
|
||||
const di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||
|
||||
di.override(directoryForUserDataInjectable, () => "/some-directory-for-user-data");
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
|
||||
di.override(ipcRendererInjectable, () => ({
|
||||
invoke: jest.fn(async (channel: string) => {
|
||||
|
||||
@ -194,7 +194,7 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -285,7 +285,7 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -362,8 +362,8 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -403,7 +403,7 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -430,7 +430,7 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -519,7 +519,7 @@ exports[`preferences - closing-preferences given accessing preferences directly
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1716,7 +1716,7 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1807,7 +1807,7 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1884,8 +1884,8 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -1925,7 +1925,7 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -1952,7 +1952,7 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2041,7 +2041,7 @@ exports[`preferences - closing-preferences given already in a page and then navi
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -207,7 +207,7 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -298,7 +298,7 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -375,8 +375,8 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -416,7 +416,7 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -443,7 +443,7 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -532,7 +532,7 @@ exports[`preferences: extension adding preference tabs given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -182,7 +182,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -273,7 +273,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -350,8 +350,8 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -391,7 +391,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -418,7 +418,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -507,7 +507,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -960,7 +960,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1051,7 +1051,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1128,8 +1128,8 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -1169,7 +1169,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -1196,7 +1196,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1285,7 +1285,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1750,7 +1750,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1841,7 +1841,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1918,8 +1918,8 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -1959,7 +1959,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -1986,7 +1986,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2075,7 +2075,7 @@ exports[`preferences - hiding-of-empty-branches, given in preferences page given
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -182,7 +182,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -273,7 +273,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -350,8 +350,8 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -391,7 +391,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -418,7 +418,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -507,7 +507,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -932,7 +932,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1023,7 +1023,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1100,8 +1100,8 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -1141,7 +1141,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -1168,7 +1168,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1257,7 +1257,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1347,7 +1347,7 @@ exports[`preferences - navigation to application preferences given in preference
|
||||
class="SubTitle"
|
||||
>
|
||||
Some application-preference item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="some-preference-item-input"
|
||||
@ -1711,7 +1711,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
HTTP Proxy
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -1751,7 +1751,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Certificate Trust
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -2119,7 +2119,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2210,7 +2210,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2287,8 +2287,8 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -2328,7 +2328,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -2355,7 +2355,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2444,7 +2444,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2870,7 +2870,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2961,7 +2961,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3038,8 +3038,8 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -3079,7 +3079,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -3106,7 +3106,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3195,7 +3195,7 @@ exports[`preferences - navigation to application preferences given in some child
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -182,7 +182,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -273,7 +273,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -350,8 +350,8 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -391,7 +391,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -418,7 +418,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -507,7 +507,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -930,7 +930,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Minimap
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="flex gaps justify-space-between"
|
||||
@ -1045,7 +1045,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Line numbers
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1132,7 +1132,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Tab size
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -1166,7 +1166,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Font size
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -1200,7 +1200,7 @@ exports[`preferences - navigation to editor preferences given in preferences, wh
|
||||
class="SubTitle"
|
||||
>
|
||||
Font family
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
|
||||
@ -195,7 +195,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -286,7 +286,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -363,8 +363,8 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -404,7 +404,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -431,7 +431,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -520,7 +520,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -959,7 +959,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
License item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="metrics-preference-item-input"
|
||||
@ -1350,7 +1350,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
License item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="metrics-preference-item-input"
|
||||
@ -1741,7 +1741,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Another metrics
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="another-metrics-preference-item-input"
|
||||
@ -2158,7 +2158,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Some preference item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="some-preference-item-input"
|
||||
@ -2524,7 +2524,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2615,7 +2615,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2692,8 +2692,8 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -2733,7 +2733,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -2760,7 +2760,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2849,7 +2849,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3312,7 +3312,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3403,7 +3403,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3480,8 +3480,8 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -3521,7 +3521,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -3548,7 +3548,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -3637,7 +3637,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -4101,7 +4101,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
|
||||
class="SubTitle"
|
||||
>
|
||||
Some preference item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="some-preference-item-input"
|
||||
|
||||
@ -182,7 +182,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -273,7 +273,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -350,8 +350,8 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -391,7 +391,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -418,7 +418,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -507,7 +507,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -930,7 +930,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
HTTP Proxy
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -970,7 +970,7 @@ exports[`preferences - navigation to proxy preferences given in preferences, whe
|
||||
class="SubTitle"
|
||||
>
|
||||
Certificate Trust
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
|
||||
@ -196,7 +196,7 @@ exports[`preferences - navigation to telemetry preferences given URL for Sentry
|
||||
class="SubTitle"
|
||||
>
|
||||
Automatic Error Reporting
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Checkbox flex align-center checked"
|
||||
@ -572,7 +572,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -663,7 +663,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -740,8 +740,8 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -781,7 +781,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -808,7 +808,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -897,7 +897,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1334,7 +1334,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1425,7 +1425,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1502,8 +1502,8 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -1543,7 +1543,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -1570,7 +1570,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1659,7 +1659,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -2097,7 +2097,7 @@ exports[`preferences - navigation to telemetry preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Some telemetry-preference item
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
data-testid="some-preference-item-input"
|
||||
|
||||
@ -182,7 +182,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -273,7 +273,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -350,8 +350,8 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -391,7 +391,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -418,7 +418,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -507,7 +507,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -932,7 +932,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Terminal Shell Path
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -967,7 +967,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Terminal copy & paste
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -994,7 +994,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Terminal theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1081,7 +1081,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Font size
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Input theme round black"
|
||||
@ -1116,7 +1116,7 @@ exports[`preferences - navigation to terminal preferences given in preferences,
|
||||
class="SubTitle"
|
||||
>
|
||||
Font family
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -98,13 +98,13 @@ exports[`preferences - navigation using application menu renders 1`] = `
|
||||
</h2>
|
||||
<p>
|
||||
To get you started we have auto-detected your clusters in your
|
||||
|
||||
|
||||
kubeconfig file and added them to the catalog, your centralized
|
||||
|
||||
|
||||
view for managing all your cloud-native resources.
|
||||
<br />
|
||||
<br />
|
||||
If you have any questions or feedback, please join our
|
||||
If you have any questions or feedback, please join our
|
||||
<a
|
||||
class="link"
|
||||
href="https://join.slack.com/t/k8slens/shared_invite/zt-wcl8jq3k-68R5Wcmk1o95MLBE5igUDQ"
|
||||
@ -465,7 +465,7 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -556,7 +556,7 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -633,8 +633,8 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -674,7 +674,7 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -701,7 +701,7 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -790,7 +790,7 @@ exports[`preferences - navigation using application menu when navigating to pref
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -99,13 +99,13 @@ exports[`show-about-using-tray renders 1`] = `
|
||||
</h2>
|
||||
<p>
|
||||
To get you started we have auto-detected your clusters in your
|
||||
|
||||
|
||||
kubeconfig file and added them to the catalog, your centralized
|
||||
|
||||
|
||||
view for managing all your cloud-native resources.
|
||||
<br />
|
||||
<br />
|
||||
If you have any questions or feedback, please join our
|
||||
If you have any questions or feedback, please join our
|
||||
<a
|
||||
class="link"
|
||||
href="https://join.slack.com/t/k8slens/shared_invite/zt-wcl8jq3k-68R5Wcmk1o95MLBE5igUDQ"
|
||||
@ -468,7 +468,7 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -559,7 +559,7 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -636,8 +636,8 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -677,7 +677,7 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -704,7 +704,7 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -793,7 +793,7 @@ exports[`show-about-using-tray when navigating using tray renders 1`] = `
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
|
||||
@ -98,13 +98,13 @@ exports[`welcome - navigation using application menu renders 1`] = `
|
||||
</h2>
|
||||
<p>
|
||||
To get you started we have auto-detected your clusters in your
|
||||
|
||||
|
||||
kubeconfig file and added them to the catalog, your centralized
|
||||
|
||||
|
||||
view for managing all your cloud-native resources.
|
||||
<br />
|
||||
<br />
|
||||
If you have any questions or feedback, please join our
|
||||
If you have any questions or feedback, please join our
|
||||
<a
|
||||
class="link"
|
||||
href="https://join.slack.com/t/k8slens/shared_invite/zt-wcl8jq3k-68R5Wcmk1o95MLBE5igUDQ"
|
||||
@ -466,7 +466,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
class="SubTitle"
|
||||
>
|
||||
Theme
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -557,7 +557,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
class="SubTitle"
|
||||
>
|
||||
Extension Install Registry
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -634,8 +634,8 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
<p
|
||||
class="mt-4 mb-5 leading-relaxed"
|
||||
>
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
This setting is to change the registry URL for installing extensions by name.
|
||||
If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
|
||||
<b>
|
||||
.npmrc
|
||||
</b>
|
||||
@ -675,7 +675,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
class="SubTitle"
|
||||
>
|
||||
Start-up
|
||||
|
||||
|
||||
</div>
|
||||
<label
|
||||
class="Switch"
|
||||
@ -702,7 +702,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
class="SubTitle"
|
||||
>
|
||||
Update Channel
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -791,7 +791,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
class="SubTitle"
|
||||
>
|
||||
Locale Timezone
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="Select theme-lens css-b62m3t-container"
|
||||
@ -1133,13 +1133,13 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
||||
</h2>
|
||||
<p>
|
||||
To get you started we have auto-detected your clusters in your
|
||||
|
||||
|
||||
kubeconfig file and added them to the catalog, your centralized
|
||||
|
||||
|
||||
view for managing all your cloud-native resources.
|
||||
<br />
|
||||
<br />
|
||||
If you have any questions or feedback, please join our
|
||||
If you have any questions or feedback, please join our
|
||||
<a
|
||||
class="link"
|
||||
href="https://join.slack.com/t/k8slens/shared_invite/zt-wcl8jq3k-68R5Wcmk1o95MLBE5igUDQ"
|
||||
|
||||
@ -13,6 +13,7 @@ import type { CategoryColumns, GetCategoryColumnsParams } from "../columns/get.i
|
||||
import getCategoryColumnsInjectable from "../columns/get.injectable";
|
||||
import hotbarStoreInjectable from "../../../../common/hotbars/store.injectable";
|
||||
import extensionInjectable from "../../../../extensions/extension-loader/extension/extension.injectable";
|
||||
import currentlyInClusterFrameInjectable from "../../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
class TestCategory extends CatalogCategory {
|
||||
apiVersion = "catalog.k8slens.dev/v1alpha1";
|
||||
@ -46,6 +47,8 @@ describe("Custom Category Columns", () => {
|
||||
di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||
|
||||
di.override(hotbarStoreInjectable, () => ({}));
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
|
||||
getCategoryColumns = di.inject(getCategoryColumnsInjectable);
|
||||
});
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@ import { flushPromises } from "../../../common/test-utils/flush-promises";
|
||||
import userStoreInjectable from "../../../common/user-store/user-store.injectable";
|
||||
import releaseChannelInjectable from "../../../common/vars/release-channel.injectable";
|
||||
import defaultUpdateChannelInjectable from "../../../features/application-update/common/selected-update-channel/default-update-channel.injectable";
|
||||
import currentlyInClusterFrameInjectable from "../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
class MockCatalogEntity extends CatalogEntity {
|
||||
public apiVersion = "api";
|
||||
@ -68,7 +69,7 @@ describe("<Catalog />", () => {
|
||||
di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||
|
||||
di.override(directoryForUserDataInjectable, () => "some-directory-for-user-data");
|
||||
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
di.override(broadcastMessageInjectable, () => async () => {});
|
||||
|
||||
di.permitSideEffects(getConfigurationFileModelInjectable);
|
||||
|
||||
@ -29,6 +29,7 @@ import type { DownloadJson } from "../../../../common/fetch/download-json.inject
|
||||
import type { DownloadBinary } from "../../../../common/fetch/download-binary.injectable";
|
||||
import downloadJsonInjectable from "../../../../common/fetch/download-json.injectable";
|
||||
import downloadBinaryInjectable from "../../../../common/fetch/download-binary.injectable";
|
||||
import currentlyInClusterFrameInjectable from "../../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
describe("Extensions", () => {
|
||||
let extensionLoader: ExtensionLoader;
|
||||
@ -45,6 +46,7 @@ describe("Extensions", () => {
|
||||
|
||||
di.override(directoryForUserDataInjectable, () => "some-directory-for-user-data");
|
||||
di.override(directoryForDownloadsInjectable, () => "some-directory-for-downloads");
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
|
||||
render = renderFor(di);
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import type { DiContainer } from "@ogre-tools/injectable";
|
||||
import rendererExtensionsInjectable from "../../../../extensions/renderer-extensions.injectable";
|
||||
import { LensRendererExtension } from "../../../../extensions/lens-renderer-extension";
|
||||
import type { WelcomeBannerRegistration } from "../welcome-banner-items/welcome-banner-registration";
|
||||
import currentlyInClusterFrameInjectable from "../../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
jest.mock("electron", () => ({
|
||||
ipcRenderer: {
|
||||
@ -32,6 +33,9 @@ describe("<Welcome/>", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
|
||||
render = renderFor(di);
|
||||
welcomeBannersStub = [];
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@ import toggleMaximizeWindowInjectable from "./toggle-maximize-window/toggle-maxi
|
||||
import topBarStateInjectable from "./state.injectable";
|
||||
import platformInjectable from "../../../../common/vars/platform.injectable";
|
||||
import goForwardInjectable from "./top-bar-items/navigation-to-forward/go-forward/go-forward.injectable";
|
||||
import currentlyInClusterFrameInjectable from "../../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
describe("<TopBar/>", () => {
|
||||
let di: DiContainer;
|
||||
@ -42,6 +43,7 @@ describe("<TopBar/>", () => {
|
||||
di.override(closeWindowInjectable, () => closeWindow = jest.fn());
|
||||
di.override(maximizeWindowInjectable, () => maximizeWindow = jest.fn());
|
||||
di.override(toggleMaximizeWindowInjectable, () => toggleMaximizeWindow = jest.fn());
|
||||
di.override(currentlyInClusterFrameInjectable, () => false);
|
||||
|
||||
render = renderFor(di);
|
||||
});
|
||||
|
||||
@ -25,6 +25,7 @@ import allowedResourcesInjectable from "../../cluster-frame-context/allowed-reso
|
||||
import hostedClusterIdInjectable from "../../cluster-frame-context/hosted-cluster-id.injectable";
|
||||
import hostedClusterInjectable from "../../cluster-frame-context/hosted-cluster.injectable";
|
||||
import { useFakeTime } from "../../../common/test-utils/use-fake-time";
|
||||
import currentlyInClusterFrameInjectable from "../../routes/currently-in-cluster-frame.injectable";
|
||||
|
||||
describe("<ClusterFrame />", () => {
|
||||
let render: () => RenderResult;
|
||||
@ -45,6 +46,7 @@ describe("<ClusterFrame />", () => {
|
||||
di.override(legacyOnChannelListenInjectable, () => jest.fn().mockImplementation(() => jest.fn()));
|
||||
di.override(directoryForUserDataInjectable, () => "/some/irrelavent/path");
|
||||
di.override(storesAndApisCanBeCreatedInjectable, () => true);
|
||||
di.override(currentlyInClusterFrameInjectable, () => true);
|
||||
|
||||
useFakeTime("2000-01-01 12:00:00am");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user