@camunda/ccma-saas-frontend 0.0.41 → 0.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +1 -1
  2. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +1 -0
  3. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +1 -1
  4. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +14 -6
  5. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +1 -0
  6. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +1 -1
  7. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +21 -6
  8. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.d.ts +17 -0
  9. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.d.ts +3 -0
  10. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +51 -0
  11. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.d.ts +24 -0
  12. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.js +6 -0
  13. package/lib/esm/components/c4-cluster-overview/applications.d.ts +1 -1
  14. package/lib/esm/components/c4-cluster-overview/applications.js +7 -0
  15. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +1 -1
  16. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +1 -1
  17. package/lib/esm/components/c4-cluster-overview/cluster-details.js +1 -1
  18. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +1 -1
  19. package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +4 -0
  20. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
  21. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +3 -5
  22. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +1 -2
  23. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +2 -3
  24. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +2 -2
  25. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +2 -3
  26. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +2 -2
  27. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +2 -3
  28. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +2 -2
  29. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +2 -3
  30. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +2 -2
  31. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
  32. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -2
  33. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +1 -2
  34. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
  35. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +4 -5
  36. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +1 -2
  37. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +2 -3
  38. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -3
  39. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.d.ts +0 -4
  40. package/lib/esm/externalUrls.const.d.ts +2 -4
  41. package/lib/esm/externalUrls.const.js +2 -14
  42. package/lib/esm/externalUrls.const.spec.js +0 -9
  43. package/lib/esm/i18n/en/modals/clusterclients.json +8 -0
  44. package/lib/esm/i18n/en/modals/clusters.json +4 -1
  45. package/lib/esm/i18n/en/pages/clusterdetails.json +34 -4
  46. package/lib/esm/index.css +257 -0
  47. package/lib/esm/index.d.ts +3 -1
  48. package/lib/esm/index.js +2 -1
  49. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +27 -1
  50. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +41 -33
  51. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +52 -12
  52. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +0 -6
  53. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +1 -1
  54. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +19 -20
  55. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +53 -35
  56. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +1 -1
  57. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +11 -26
  58. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +1 -0
  59. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +13 -12
  60. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +104 -3
  61. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.spec.js +16 -15
  62. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +1 -2
  63. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +111 -34
  64. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +121 -5
  65. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +1 -0
  66. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +4 -2
  67. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +4 -0
  68. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +3 -2
  69. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
  70. package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
  71. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +20 -1
  72. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
  73. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +2 -2
  74. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
  75. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +2 -2
  76. package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +0 -3
  77. package/lib/esm/widgets/management/c4-management-app.js +1 -1
  78. package/package.json +31 -26
  79. package/lib/esm/index.scss +0 -267
  80. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.d.ts +0 -1
  81. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.js +0 -55
@@ -1,4 +1,3 @@
1
- import type { DocsUrls } from '../../components/c4-job-dashboard-shared/c4-job-dashboard-shared.types';
2
1
  export type C4JobWorkerNavigateEvent = {
3
2
  kind: 'clusters';
4
3
  orgId: string;
@@ -20,12 +19,10 @@ export interface C4JobWorkerOverviewPageProps {
20
19
  orgId: string;
21
20
  clusterId: string;
22
21
  onNavigate?: (event: C4JobWorkerNavigateEvent) => void;
23
- docsUrls?: DocsUrls;
24
22
  }
25
23
  export interface C4JobWorkerDetailsPageProps {
26
24
  orgId: string;
27
25
  clusterId: string;
28
26
  jobType: string;
29
27
  onNavigate?: (event: C4JobWorkerNavigateEvent) => void;
30
- docsUrls?: DocsUrls;
31
28
  }
@@ -2308,7 +2308,7 @@ export const C4ManagementApp = observer(({ orgId, desiredTabId, onTabChange, onN
2308
2308
  const isUsageSalesPlan = orgHasSalesPlanType(org, 'trial', 'in-negotiation', 'enterprise', 'internal');
2309
2309
  const billingVisible = canReadBilling && isEnterprise;
2310
2310
  const usageVisible = canReadUsage && isUsageSalesPlan;
2311
- const liteLlmEnabled = runtime.stage === 'dev' || runtime.stage === 'local';
2311
+ const liteLlmEnabled = true;
2312
2312
  const tenantKeyRaw = getNestedValue(org, ['metadata', 'llm', 'tenantKey']);
2313
2313
  const aiUsageVisible = liteLlmEnabled &&
2314
2314
  typeof tenantKeyRaw === 'string' &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -23,34 +23,37 @@
23
23
  "registry": "https://registry.npmjs.org/"
24
24
  },
25
25
  "devDependencies": {
26
- "@camunda/c4-connectors": "1.4.0",
27
- "@camunda/c4-identity": "0.0.38",
28
- "@carbon/charts": "1.27.3",
29
- "@carbon/charts-react": "1.27.3",
30
- "@carbon/layout": "11.51.0",
31
- "@carbon/react": "1.103.0",
32
- "@carbon/type": "11.56.0",
33
- "@chromatic-com/storybook": "5.1.1",
26
+ "@camunda/c4-connectors": "1.4.1-rc.1",
27
+ "@camunda/c4-identity": "0.0.41",
28
+ "@carbon/charts": "1.27.11",
29
+ "@carbon/charts-react": "1.27.11",
30
+ "@carbon/layout": "11.52.0",
31
+ "@carbon/motion": "^11.46.0",
32
+ "@carbon/react": "1.107.1",
33
+ "@carbon/styles": "^1.107.0",
34
+ "@carbon/themes": "^11.74.0",
35
+ "@carbon/type": "11.59.0",
36
+ "@chromatic-com/storybook": "5.2.1",
34
37
  "@mdx-js/react": "3.1.1",
35
- "@storybook/addon-docs": "10.3.5",
36
- "@storybook/addon-links": "10.3.5",
37
- "@storybook/react": "10.3.5",
38
- "@storybook/react-vite": "10.3.5",
38
+ "@storybook/addon-docs": "10.4.0",
39
+ "@storybook/addon-links": "10.4.0",
40
+ "@storybook/react": "10.4.0",
41
+ "@storybook/react-vite": "10.4.0",
39
42
  "@testing-library/jest-dom": "6.9.1",
40
43
  "@testing-library/react": "16.3.2",
41
44
  "@testing-library/user-event": "14.6.1",
42
45
  "eslint-import-resolver-typescript": "4.4.4",
43
46
  "eslint-plugin-react": "7.37.5",
44
- "eslint-plugin-react-hooks": "7.0.1",
45
- "eslint-plugin-storybook": "10.3.5",
46
- "jsdom": "29.0.2",
47
- "react": "19.2.5",
48
- "react-dom": "19.2.5",
49
- "react-is": "19.2.5",
47
+ "eslint-plugin-react-hooks": "7.1.1",
48
+ "eslint-plugin-storybook": "10.4.0",
49
+ "jsdom": "29.1.1",
50
+ "react": "19.2.6",
51
+ "react-dom": "19.2.6",
52
+ "react-is": "19.2.6",
50
53
  "rimraf": "6.1.3",
51
- "storybook": "10.3.5",
52
- "styled-components": "6.4.0",
53
- "@camunda/camunda-composite-components": "0.23.3"
54
+ "storybook": "10.4.0",
55
+ "styled-components": "6.4.2",
56
+ "@camunda/camunda-composite-components": "0.23.4"
54
57
  },
55
58
  "peerDependencies": {
56
59
  "@camunda/c4-connectors": "1.x",
@@ -58,7 +61,9 @@
58
61
  "@camunda/camunda-composite-components": "0.x",
59
62
  "@carbon/charts": "1.x",
60
63
  "@carbon/charts-react": "1.x",
64
+ "@carbon/motion": "11.x",
61
65
  "@carbon/react": "1.x",
66
+ "@carbon/themes": "11.x",
62
67
  "react": "18.x || 19.x",
63
68
  "react-dom": "18.x || 19.x",
64
69
  "react-markdown": "^8.0.7"
@@ -66,12 +71,12 @@
66
71
  "dependencies": {
67
72
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
68
73
  "cron-parser": "5.5.0",
69
- "mobx": "6.15.0",
74
+ "mobx": "6.15.3",
70
75
  "mobx-react-lite": "4.1.1",
71
76
  "mobx-state-tree": "7.2.0",
72
- "semver": "7.7.4",
73
- "@camunda/ccma-api": "0.0.6",
74
- "@camunda/ccma-shared-types": "0.0.6"
77
+ "semver": "7.8.0",
78
+ "@camunda/ccma-api": "0.0.7",
79
+ "@camunda/ccma-shared-types": "0.1.0"
75
80
  },
76
81
  "scripts": {
77
82
  "clean": "rimraf lib/",
@@ -1,267 +0,0 @@
1
- @use "@carbon/react/scss/feature-flags" with (
2
- $feature-flags: (
3
- "enable-experimental-tile-contrast": true,
4
- )
5
- );
6
- @use "@carbon/react" as * with (
7
- $font-path: "https://fonts.camunda.io"
8
- );
9
-
10
- @use "@carbon/react/scss/grid";
11
- @use "@carbon/layout";
12
- @use "@carbon/react/scss/themes";
13
- @use "@carbon/react/scss/theme";
14
- @use "@carbon/type";
15
- @import "@carbon/charts/styles.css";
16
-
17
- @include grid.flex-grid();
18
- @include type.type-classes();
19
-
20
- .cds--content {
21
- min-height: calc(100vh - 3rem);
22
-
23
- &.withTrialBanner {
24
- margin-top: 7rem;
25
- min-height: calc(100vh - 7rem);
26
- }
27
- }
28
-
29
- .flex-container-stats {
30
- display: flex;
31
- flex-wrap: wrap;
32
- justify-content: space-between;
33
- }
34
-
35
- .flex-stats {
36
- min-width: 300px;
37
- margin: 24px;
38
- padding: 24px;
39
- background-color: white;
40
- }
41
-
42
- .flex-container {
43
- display: flex;
44
- }
45
-
46
- .flex-search-select {
47
- flex-grow: 1;
48
- }
49
-
50
- .flex-search-input {
51
- flex-grow: 4;
52
- margin-top: 8px;
53
- }
54
-
55
- .cds--data-table th.cds--table-expand + .cds--table-column-checkbox + th {
56
- padding-left: 0rem;
57
- }
58
-
59
- .cds--data-table td.cds--table-expand + .cds--table-column-checkbox + td {
60
- padding-left: 1rem;
61
- }
62
-
63
- .cds--data-table thead th.cds--table-expand,
64
- .cds--data-table tbody td.cds--table-expand {
65
- min-width: 40px;
66
- }
67
-
68
- tr.cds--parent-row.cds--expandable-row + tr[data-child-row] td {
69
- padding-left: 6rem;
70
- padding-right: 2rem;
71
- }
72
-
73
- .cds--inline-notification__icon,
74
- .cds--actionable-notification .cds--inline-notification__icon {
75
- margin-top: 1rem;
76
- }
77
-
78
- .cds--g100 .cds--inline-notification--low-contrast {
79
- color: var(--cds-text-inverse);
80
- }
81
-
82
- h1 {
83
- @include type-style("heading-04");
84
- }
85
-
86
- h2 {
87
- @include type-style("heading-03");
88
- }
89
-
90
- h3 {
91
- @include type-style("heading-02");
92
- }
93
-
94
- h4 {
95
- @include type-style("heading-01");
96
- }
97
-
98
- p,
99
- .bodyText {
100
- @include type-style("body-01");
101
- }
102
-
103
- .legalText {
104
- @include type-style("legal-01");
105
- }
106
-
107
- .textPrimary {
108
- color: var(--cds-text-primary);
109
- }
110
-
111
- .balancedHorizontalStack {
112
- grid-auto-columns: 1fr;
113
- }
114
-
115
- .headerTag {
116
- height: 1.5rem;
117
- margin-top: 0.75rem;
118
- padding: 0 1rem;
119
- }
120
-
121
- .healthIndicator {
122
- position: relative;
123
- padding-left: 20px;
124
-
125
- &::before {
126
- content: "";
127
-
128
- position: absolute;
129
- left: 0;
130
- top: 50%;
131
- transform: translateY(-50%);
132
-
133
- width: 12px;
134
- height: 12px;
135
- border-radius: 100%;
136
- }
137
-
138
- &.healthy::before {
139
- background-color: $support-success;
140
- }
141
-
142
- &.creating::before {
143
- background-color: $support-warning;
144
- }
145
-
146
- &.unhealthy::before {
147
- background-color: $support-error;
148
- }
149
- }
150
-
151
- $status-icon-width: 12px;
152
- $status-icon-margin-right: 12px;
153
-
154
- .cluster-state {
155
- width: $status-icon-width;
156
- height: $status-icon-width;
157
- border-radius: 100%;
158
- display: inline-block;
159
- margin-right: $status-icon-margin-right;
160
- position: relative;
161
- top: 1px;
162
-
163
- &.creating {
164
- background-color: $support-warning;
165
- }
166
-
167
- &.updating {
168
- background-color: $support-warning;
169
- }
170
-
171
- &.healthy {
172
- background-color: $support-success;
173
- }
174
-
175
- &.unhealthy {
176
- background-color: $support-error;
177
- }
178
- }
179
-
180
- .flex-container-stats {
181
- display: flex;
182
- flex-wrap: wrap;
183
- gap: 25px;
184
-
185
- & .cds--tile {
186
- min-width: 330px;
187
-
188
- &.wide {
189
- min-width: 685px;
190
- }
191
-
192
- & h3 {
193
- padding-bottom: 8px;
194
- }
195
- }
196
- }
197
-
198
- .dashboard {
199
- display: grid;
200
- grid-template-columns: 1fr 1fr 1fr;
201
- grid-template-rows: max-content max-content auto;
202
- column-gap: 30px;
203
- row-gap: 30px;
204
-
205
- .welcome {
206
- grid-column-start: 1;
207
- grid-column-end: 3;
208
- grid-row-start: 1;
209
- grid-row-end: 2;
210
- }
211
-
212
- .clusters {
213
- grid-column-start: 1;
214
- grid-column-end: 2;
215
- grid-row-start: 2;
216
- grid-row-end: 3;
217
- }
218
-
219
- .users {
220
- grid-column-start: 2;
221
- grid-column-end: 3;
222
- grid-row-start: 2;
223
- grid-row-end: 3;
224
- }
225
-
226
- .documentation {
227
- grid-column-start: 3;
228
- grid-column-end: 4;
229
- grid-row-start: 1;
230
- grid-row-end: 3;
231
- }
232
-
233
- .feedback {
234
- grid-column-start: 3;
235
- grid-column-end: 4;
236
- grid-row-start: 3;
237
- grid-row-end: 4;
238
- }
239
- }
240
-
241
- .cds--modal {
242
- .cds--popover-content.cds--tooltip-content {
243
- margin-left: -50px;
244
- }
245
- }
246
-
247
- .cds--g100 {
248
- @include theme.theme(themes.$g100);
249
- }
250
-
251
- .cds--g90 {
252
- @include theme.theme(themes.$g100);
253
- }
254
-
255
- .cds--g10 {
256
- @include theme.theme(themes.$g10);
257
- }
258
-
259
- .cds--white {
260
- @include theme.theme(themes.$g10);
261
- }
262
-
263
- .cluster-load {
264
- .cds--loading-overlay {
265
- position: absolute !important;
266
- }
267
- }
@@ -1,55 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /*
3
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
- * under one or more contributor license agreements. Licensed under a commercial license.
5
- * You may not use this file except in compliance with the commercial license.
6
- */
7
- // @vitest-environment jsdom
8
- import { cleanup, render, screen } from '@testing-library/react';
9
- import { afterEach, describe, expect, it, vi } from 'vitest';
10
- import { C4ConsoleRuntimeProvider } from '../../../runtime/c4-console-runtime-context.js';
11
- import { C4ClusterDetailsConnectorSecretsTab } from './c4-cluster-details-connector-secrets-tab.js';
12
- vi.mock('@camunda/ccma-api', async () => {
13
- const actual = await vi.importActual('@camunda/ccma-api');
14
- return {
15
- ...actual,
16
- ConsoleConnectorSecretsService: {
17
- getAll: vi.fn().mockResolvedValue({}),
18
- },
19
- };
20
- });
21
- vi.mock('@camunda/camunda-composite-components', async () => {
22
- const actual = await vi.importActual('@camunda/camunda-composite-components');
23
- return {
24
- ...actual,
25
- C3EmptyState: ({ heading, description, icon, }) => (_jsxs("div", { "data-testid": 'secrets-moved-placeholder', children: [icon && _jsx("img", { src: icon.path, alt: icon.altText }), _jsx("h2", { children: heading }), _jsx("p", { children: description })] })),
26
- };
27
- });
28
- vi.mock('../../../runtime/c4-console-data-context', () => ({
29
- useC4ConsoleData: () => ({
30
- clusters: { getClusters: vi.fn().mockReturnValue([]) },
31
- getSseEntityVersion: vi.fn().mockReturnValue(0),
32
- }),
33
- }));
34
- function renderTab(opts) {
35
- return render(_jsx(C4ConsoleRuntimeProvider, { config: {
36
- stage: 'dev',
37
- auth: { getAccessToken: async () => 'token' },
38
- backendUrls: {},
39
- }, children: _jsx(C4ClusterDetailsConnectorSecretsTab, { orgId: 'org-1', clusterId: 'cluster-1', apiConfig: { stage: 'dev' }, canMutateCluster: true, isSecretsMovedToOrchestration: opts?.isSecretsMovedToOrchestration ?? false }) }));
40
- }
41
- describe('C4ClusterDetailsConnectorSecretsTab', () => {
42
- afterEach(() => {
43
- cleanup();
44
- });
45
- it('does not render the placeholder when isSecretsMovedToOrchestration is false', () => {
46
- renderTab({ isSecretsMovedToOrchestration: false });
47
- expect(screen.queryByTestId('secrets-moved-placeholder')).not.toBeInTheDocument();
48
- });
49
- it('renders the moved placeholder when isSecretsMovedToOrchestration is true', () => {
50
- renderTab({ isSecretsMovedToOrchestration: true });
51
- expect(screen.getByTestId('secrets-moved-placeholder')).toBeInTheDocument();
52
- expect(screen.getByRole('heading', { name: 'Secrets management has moved' })).toBeInTheDocument();
53
- expect(screen.getByRole('img', { name: 'Connector secrets icon' })).toBeInTheDocument();
54
- });
55
- });