@camunda/e2e-test-suite 0.0.1694 → 0.0.1696

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 (54) hide show
  1. package/dist/fixtures/SM-8.10.d.ts +1 -0
  2. package/dist/fixtures/SM-8.10.js +36 -0
  3. package/dist/fixtures/SM-8.11.d.ts +1 -0
  4. package/dist/fixtures/SM-8.11.js +36 -0
  5. package/dist/fixtures/SM-8.8.d.ts +1 -0
  6. package/dist/fixtures/SM-8.8.js +36 -0
  7. package/dist/fixtures/SM-8.9.d.ts +1 -0
  8. package/dist/fixtures/SM-8.9.js +36 -0
  9. package/dist/pages/8.11/ClusterDetailsPage.d.ts +8 -1
  10. package/dist/pages/8.11/ClusterDetailsPage.js +32 -5
  11. package/dist/pages/8.11/ClusterPage.d.ts +42 -2
  12. package/dist/pages/8.11/ClusterPage.js +228 -31
  13. package/dist/pages/SM-8.10/KeycloakUtils.js +1 -0
  14. package/dist/pages/SM-8.10/ManagementIdentityPage.d.ts +1 -0
  15. package/dist/pages/SM-8.10/ManagementIdentityPage.js +9 -0
  16. package/dist/pages/SM-8.10/OCIdentityClusterVariablesPage.d.ts +5 -5
  17. package/dist/pages/SM-8.10/OCIdentityClusterVariablesPage.js +22 -12
  18. package/dist/pages/SM-8.10/OperateHomePage.js +4 -2
  19. package/dist/pages/SM-8.10/TaskPanelPage.d.ts +1 -1
  20. package/dist/pages/SM-8.10/TaskPanelPage.js +6 -5
  21. package/dist/pages/SM-8.11/KeycloakUtils.js +1 -0
  22. package/dist/pages/SM-8.11/ManagementIdentityPage.d.ts +1 -0
  23. package/dist/pages/SM-8.11/ManagementIdentityPage.js +9 -0
  24. package/dist/pages/SM-8.11/OCIdentityClusterVariablesPage.d.ts +5 -5
  25. package/dist/pages/SM-8.11/OCIdentityClusterVariablesPage.js +22 -12
  26. package/dist/pages/SM-8.11/OperateHomePage.js +4 -2
  27. package/dist/pages/SM-8.11/TaskPanelPage.d.ts +1 -1
  28. package/dist/pages/SM-8.11/TaskPanelPage.js +6 -5
  29. package/dist/pages/SM-8.9/OCIdentityClusterVariablesPage.js +3 -1
  30. package/dist/resources/cluster_variables/cluster_variable_tenant_json_readonly.bpmn +4 -4
  31. package/dist/resources/cluster_variables/cluster_variable_tenant_string_readonly.bpmn +4 -4
  32. package/dist/tests/8.10/optimize-api-tests.spec.js +78 -41
  33. package/dist/tests/8.10/optimize-collections-api.spec.js +4 -2
  34. package/dist/tests/8.10/optimize-sharing-alerts-export-api.spec.js +10 -5
  35. package/dist/tests/8.10/optimize-sharing-alerts-export-ui.spec.js +6 -3
  36. package/dist/tests/8.11/console-cluster-duplication-api-clients.spec.d.ts +1 -0
  37. package/dist/tests/8.11/console-cluster-duplication-api-clients.spec.js +154 -0
  38. package/dist/tests/8.11/console-cluster-duplication.spec.d.ts +1 -0
  39. package/dist/tests/8.11/console-cluster-duplication.spec.js +460 -0
  40. package/dist/tests/SM-8.10/cluster-variables-tenant.spec.d.ts +1 -0
  41. package/dist/tests/SM-8.10/cluster-variables-tenant.spec.js +198 -0
  42. package/dist/tests/SM-8.10/optimize-api-tests.spec.d.ts +1 -0
  43. package/dist/tests/SM-8.10/optimize-api-tests.spec.js +468 -0
  44. package/dist/tests/SM-8.11/cluster-variables-tenant.spec.d.ts +1 -0
  45. package/dist/tests/SM-8.11/cluster-variables-tenant.spec.js +198 -0
  46. package/dist/tests/SM-8.11/optimize-api-tests.spec.d.ts +1 -0
  47. package/dist/tests/SM-8.11/optimize-api-tests.spec.js +468 -0
  48. package/dist/tests/SM-8.9/cluster-variables-tenant.spec.js +2 -2
  49. package/dist/utils/apiHelpers.d.ts +4 -0
  50. package/dist/utils/apiHelpers.js +29 -4
  51. package/package.json +1 -1
  52. package/playwright.config.ts +104 -0
  53. package/resources/cluster_variables/cluster_variable_tenant_json_readonly.bpmn +4 -4
  54. package/resources/cluster_variables/cluster_variable_tenant_string_readonly.bpmn +4 -4
@@ -129,7 +129,8 @@ class OperateHomePage {
129
129
  // Pass only the OPENING quote: Monaco auto-closes it. Supplying both ends
130
130
  // yields `"updatedValue""` -- invalid JSON, and Apply rejects it exactly
131
131
  // like the per-character version did. Same recipe as
132
- // pages/c8Run-8.10/OperateHomePage.ts.
132
+ // pages/c8Run-8.10/OperateHomePage.ts. Firefox's textarea input does not
133
+ // auto-close, so it gets the closing quote explicitly.
133
134
  //
134
135
  // Select with Home + Shift+End rather than ControlOrMeta+A: headless
135
136
  // Chromium on macOS does not apply Meta+A as select-all inside Monaco's
@@ -138,7 +139,8 @@ class OperateHomePage {
138
139
  // every platform.
139
140
  await this.page.keyboard.press('Home');
140
141
  await this.page.keyboard.press('Shift+End');
141
- await this.page.keyboard.insertText(`"${newValue}`);
142
+ const isFirefox = this.page.context().browser()?.browserType().name() === 'firefox';
143
+ await this.page.keyboard.insertText(`"${newValue}${isFirefox ? '"' : ''}`);
142
144
  }
143
145
  async clickSaveVariableButton() {
144
146
  await this.applyButton.click();
@@ -15,7 +15,7 @@ declare class TaskPanelPage {
15
15
  readonly licenseKeyTagProduction: Locator;
16
16
  constructor(page: Page);
17
17
  taskLink(processName: string): Locator;
18
- openTask(name: string, assignButton?: boolean): Promise<void>;
18
+ openTask(name: string, assignButton?: boolean, fallbackName?: string): Promise<void>;
19
19
  filterBy(option: 'All open' | 'Unassigned' | 'Assigned to me' | 'Completed'): Promise<void>;
20
20
  private openFilterControls;
21
21
  private static appliedFilterUrl;
@@ -89,17 +89,18 @@ class TaskPanelPage {
89
89
  .first()
90
90
  .getByRole('link');
91
91
  }
92
- async openTask(name, assignButton = true) {
92
+ async openTask(name, assignButton = true, fallbackName) {
93
93
  const maxAttempts = 10;
94
+ const taskByName = this.availableTasks.getByText(name, { exact: true });
95
+ const taskLocator = fallbackName
96
+ ? taskByName.or(this.availableTasks.getByText(fallbackName, { exact: true }))
97
+ : taskByName;
94
98
  for (let attempt = 1; attempt <= maxAttempts; attempt++) {
95
99
  try {
96
100
  // Removed waitForLoadState('networkidle') — Tasklist polls
97
101
  // continuously, so networkidle never fires; the click below
98
102
  // already has a 4s timeout that auto-waits for the locator.
99
- await this.availableTasks
100
- .getByText(name, { exact: true })
101
- .nth(0)
102
- .click({ timeout: constants_1._1_SECOND_IN_MS * 4 });
103
+ await taskLocator.nth(0).click({ timeout: constants_1._1_SECOND_IN_MS * 4 });
103
104
  if (assignButton) {
104
105
  await (0, test_1.expect)(this.assignToMeButton).toBeVisible({
105
106
  timeout: constants_1._1_SECOND_IN_MS * 10,
@@ -58,7 +58,9 @@ class OCIdentityClusterVariablesPage {
58
58
  await this.editVariableButton(variableName, scope).click();
59
59
  await (0, test_1.expect)(this.editMenuItem).toBeVisible();
60
60
  await this.editMenuItem.click();
61
- await (0, test_1.expect)(this.variableValueField).toBeVisible();
61
+ // Firefox renders Monaco's input as a zero-height textarea, which
62
+ // Playwright reports as hidden; the editor itself is asserted visible below.
63
+ await (0, test_1.expect)(this.variableValueField).toBeAttached();
62
64
  await (0, test_1.expect)(this.monacoEditor).toBeVisible();
63
65
  await this.monacoEditor.click();
64
66
  // Monaco editor doesn't respond reliably to clear()/fill() on the
@@ -20,12 +20,12 @@
20
20
  </bpmn:extensionElements>
21
21
  <bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
22
22
  </bpmn:startEvent>
23
- <bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_1whhatc" />
23
+ <bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_TenantJsonPreview" />
24
24
  <bpmn:endEvent id="Event_1mc2ikr">
25
25
  <bpmn:incoming>Flow_0wixfng</bpmn:incoming>
26
26
  </bpmn:endEvent>
27
- <bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_1whhatc" targetRef="Event_1mc2ikr" />
28
- <bpmn:userTask id="Activity_1whhatc" name="Preview JSON tenant cluster variables">
27
+ <bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_TenantJsonPreview" targetRef="Event_1mc2ikr" />
28
+ <bpmn:userTask id="Activity_TenantJsonPreview" name="Preview JSON tenant cluster variables">
29
29
  <bpmn:extensionElements>
30
30
  <zeebe:userTask />
31
31
  <zeebe:formDefinition formId="Form_ClusterVarJSON" />
@@ -42,7 +42,7 @@
42
42
  <bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
43
43
  <dc:Bounds x="582" y="272" width="36" height="36" />
44
44
  </bpmndi:BPMNShape>
45
- <bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_1whhatc">
45
+ <bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_TenantJsonPreview">
46
46
  <dc:Bounds x="430" y="250" width="100" height="80" />
47
47
  <bpmndi:BPMNLabel />
48
48
  </bpmndi:BPMNShape>
@@ -18,12 +18,12 @@
18
18
  </bpmn:extensionElements>
19
19
  <bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
20
20
  </bpmn:startEvent>
21
- <bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_1whhatc" />
21
+ <bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_TenantStringPreview" />
22
22
  <bpmn:endEvent id="Event_1mc2ikr">
23
23
  <bpmn:incoming>Flow_0wixfng</bpmn:incoming>
24
24
  </bpmn:endEvent>
25
- <bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_1whhatc" targetRef="Event_1mc2ikr" />
26
- <bpmn:userTask id="Activity_1whhatc" name="Preview String tenant cluster variable">
25
+ <bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_TenantStringPreview" targetRef="Event_1mc2ikr" />
26
+ <bpmn:userTask id="Activity_TenantStringPreview" name="Preview String tenant cluster variable">
27
27
  <bpmn:extensionElements>
28
28
  <zeebe:userTask />
29
29
  <zeebe:formDefinition formId="Form_ClusterVarString" />
@@ -40,7 +40,7 @@
40
40
  <bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
41
41
  <dc:Bounds x="582" y="272" width="36" height="36" />
42
42
  </bpmndi:BPMNShape>
43
- <bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_1whhatc">
43
+ <bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_TenantStringPreview">
44
44
  <dc:Bounds x="430" y="250" width="100" height="80" />
45
45
  <bpmndi:BPMNLabel />
46
46
  </bpmndi:BPMNShape>
@@ -91,7 +91,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
91
91
  await request.delete(`${baseUrl}/api/public/collection/${collectionIdValue}`, { headers: { Authorization: optimizeBearerToken } });
92
92
  }
93
93
  });
94
- (0, _8_10_1.test)('Get dashboard IDs returns 200 with id array', async ({ request }) => {
94
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
95
+ _8_10_1.test.skip('Get dashboard IDs returns 200 with id array', async ({ request, }) => {
95
96
  await _8_10_1.test.step('GET /api/public/dashboard?collectionId returns 200', async () => {
96
97
  const response = await request.get(`${baseUrl}/api/public/dashboard?collectionId=${collectionIdValue}`, { headers: { Authorization: optimizeBearerToken } });
97
98
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -115,13 +116,15 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
115
116
  await assertUnauthorizedResponseBody(response);
116
117
  });
117
118
  });
118
- (0, _8_10_1.test)('GET /api/public/dashboard/force-internal-error returns 500', async ({ request, }) => {
119
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
120
+ _8_10_1.test.skip('GET /api/public/dashboard/force-internal-error returns 500', async ({ request, }) => {
119
121
  await _8_10_1.test.step('Force internal server error (500)', async () => {
120
122
  const response = await request.get(`${baseUrl}/api/public/dashboard/force-internal-error`, { headers: { Authorization: optimizeBearerToken } });
121
123
  (0, test_1.expect)(response.status()).toBe(500);
122
124
  });
123
125
  });
124
- (0, _8_10_1.test)('Export dashboard definitions successfully returns 200', async ({ request, }) => {
126
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
127
+ _8_10_1.test.skip('Export dashboard definitions successfully returns 200', async ({ request, }) => {
125
128
  await _8_10_1.test.step('POST export dashboard definitions (200)', async () => {
126
129
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
127
130
  headers: {
@@ -165,7 +168,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
165
168
  await assertUnauthorizedResponseBody(response);
166
169
  });
167
170
  });
168
- (0, _8_10_1.test)('Export dashboard with invalid body returns 400', async ({ request }) => {
171
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
172
+ _8_10_1.test.skip('Export dashboard with invalid body returns 400', async ({ request, }) => {
169
173
  await _8_10_1.test.step('POST export dashboard with invalid body (400)', async () => {
170
174
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
171
175
  headers: {
@@ -190,7 +194,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
190
194
  (0, test_1.expect)([401, 404]).toContain(response.status());
191
195
  });
192
196
  });
193
- (0, _8_10_1.test)('Delete dashboard and verify it is no longer retrievable', async ({ request, }) => {
197
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
198
+ _8_10_1.test.skip('Delete dashboard and verify it is no longer retrievable', async ({ request, }) => {
194
199
  const dashboardToDeleteId = await (0, apiHelpers_1.createDashboard)(request, {
195
200
  name: await (0, randomName_1.randomNameAgregator)('Dashboard To Delete'),
196
201
  optimizeCookie,
@@ -212,14 +217,16 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
212
217
  await assertUnauthorizedResponseBody(response);
213
218
  });
214
219
  });
215
- (0, _8_10_1.test)('Delete non-existent dashboard returns 404', async ({ request }) => {
220
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
221
+ _8_10_1.test.skip('Delete non-existent dashboard returns 404', async ({ request }) => {
216
222
  await _8_10_1.test.step('DELETE non-existent dashboard (404)', async () => {
217
223
  const fakeDashboardId = 'nonexistent-dashboard-id';
218
224
  const response = await request.delete(`${baseUrl}/api/public/dashboard/${fakeDashboardId}`, { headers: { Authorization: optimizeBearerToken } });
219
225
  (0, test_1.expect)(response.status()).toBe(404);
220
226
  });
221
227
  });
222
- (0, _8_10_1.test)('Get report IDs returns 200 with id array', async ({ request }) => {
228
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
229
+ _8_10_1.test.skip('Get report IDs returns 200 with id array', async ({ request }) => {
223
230
  await _8_10_1.test.step('GET /api/public/report?collectionId returns 200', async () => {
224
231
  const response = await request.get(`${baseUrl}/api/public/report?collectionId=${collectionIdValue}`, { headers: { Authorization: optimizeBearerToken } });
225
232
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -237,7 +244,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
237
244
  await assertUnauthorizedResponseBody(response);
238
245
  });
239
246
  });
240
- (0, _8_10_1.test)('Export reports successfully returns 200 with full payload', async ({ request, }) => {
247
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
248
+ _8_10_1.test.skip('Export reports successfully returns 200 with full payload', async ({ request, }) => {
241
249
  await _8_10_1.test.step('POST export report definitions (200)', async () => {
242
250
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
243
251
  headers: {
@@ -274,7 +282,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
274
282
  await assertUnauthorizedResponseBody(response);
275
283
  });
276
284
  });
277
- (0, _8_10_1.test)('Export non-existent report returns 404', async ({ request }) => {
285
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
286
+ _8_10_1.test.skip('Export non-existent report returns 404', async ({ request }) => {
278
287
  await _8_10_1.test.step('POST export non-existent report (404)', async () => {
279
288
  const invalidReportId = '11111111-1111-1111-1111-111111111111';
280
289
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
@@ -287,7 +296,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
287
296
  await (0, apiHelpers_1.assertResponseStatus)(response, 404);
288
297
  });
289
298
  });
290
- (0, _8_10_1.test)('Delete report and verify it is no longer retrievable', async ({ request, }) => {
299
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
300
+ _8_10_1.test.skip('Delete report and verify it is no longer retrievable', async ({ request, }) => {
291
301
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
292
302
  optimizeCookie,
293
303
  csrfToken,
@@ -318,7 +328,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
318
328
  await assertUnauthorizedResponseBody(response);
319
329
  });
320
330
  });
321
- (0, _8_10_1.test)('Import entities successfully (200)', async ({ request }) => {
331
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
332
+ _8_10_1.test.skip('Import entities successfully (200)', async ({ request }) => {
322
333
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
323
334
  headers: {
324
335
  Authorization: optimizeBearerToken,
@@ -340,7 +351,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
340
351
  (0, test_1.expect)(Array.isArray(importResult)).toBeTruthy();
341
352
  (0, test_1.expect)(importResult.length).toBeGreaterThan(0);
342
353
  });
343
- (0, _8_10_1.test)('Import without token or invalid token returns 401', async ({ request, }) => {
354
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
355
+ _8_10_1.test.skip('Import without token or invalid token returns 401', async ({ request, }) => {
344
356
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
345
357
  headers: {
346
358
  Authorization: optimizeBearerToken,
@@ -359,7 +371,8 @@ _8_10_1.test.describe('API optimize SaaS Tests', () => {
359
371
  });
360
372
  await assertUnauthorizedResponseBody(response);
361
373
  });
362
- (0, _8_10_1.test)('Import to non-existent collection (404)', async ({ request }) => {
374
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
375
+ _8_10_1.test.skip('Import to non-existent collection (404)', async ({ request }) => {
363
376
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
364
377
  headers: {
365
378
  Authorization: optimizeBearerToken,
@@ -470,7 +483,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
470
483
  (0, test_1.expect)(body.id).toBeTruthy();
471
484
  });
472
485
  });
473
- (0, _8_10_1.test)('CE-OPT-10: Exporting the Conditional Events report definition via API returns the full report payload', async ({ request, }) => {
486
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
487
+ _8_10_1.test.skip('CE-OPT-10: Exporting the Conditional Events report definition via API returns the full report payload', async ({ request, }) => {
474
488
  await _8_10_1.test.step('Export report definition successfully (200)', async () => {
475
489
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
476
490
  headers: {
@@ -516,7 +530,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
516
530
  await assertUnauthorizedResponseBody(response);
517
531
  });
518
532
  });
519
- (0, _8_10_1.test)('CE-OPT-13: Deleting the Conditional Events report via API succeeds with HTTP 200', async ({ request, }) => {
533
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
534
+ _8_10_1.test.skip('CE-OPT-13: Deleting the Conditional Events report via API succeeds with HTTP 200', async ({ request, }) => {
520
535
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
521
536
  optimizeCookie,
522
537
  csrfToken,
@@ -537,7 +552,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
537
552
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
538
553
  });
539
554
  });
540
- (0, _8_10_1.test)('CE-OPT-14: A deleted Conditional Events report is no longer retrievable via the API', async ({ request, }) => {
555
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
556
+ _8_10_1.test.skip('CE-OPT-14: A deleted Conditional Events report is no longer retrievable via the API', async ({ request, }) => {
541
557
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
542
558
  optimizeCookie,
543
559
  csrfToken,
@@ -606,25 +622,22 @@ _8_10_1.test.describe('API optimize SaaS Tests - Sharing', () => {
606
622
  enabled: true,
607
623
  });
608
624
  });
609
- (0, _8_10_1.test)('Enable sharing with valid token returns 200 or 204', async ({ request, }) => {
625
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
626
+ _8_10_1.test.skip('Enable sharing with valid token returns 200 or 204', async ({ request, }) => {
610
627
  await _8_10_1.test.step('POST /api/public/share/enable with valid token (200 or 204)', async () => {
611
628
  const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: optimizeBearerToken } });
612
629
  (0, test_1.expect)([200, 204]).toContain(response.status());
613
630
  });
614
631
  });
615
- (0, _8_10_1.test)('Enable sharing without token returns 401', async ({ request }) => {
632
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
633
+ _8_10_1.test.skip('Enable sharing without token returns 401', async ({ request }) => {
616
634
  await _8_10_1.test.step('POST /api/public/share/enable without token (401)', async () => {
617
635
  const response = await request.post(`${baseUrl}/api/public/share/enable`);
618
636
  await assertUnauthorizedResponseBody(response);
619
637
  });
620
638
  });
621
- (0, _8_10_1.test)('Enable sharing with invalid token returns 401', async ({ request }) => {
622
- await _8_10_1.test.step('POST /api/public/share/enable with invalid token (401)', async () => {
623
- const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: 'Bearer invalid_token' } });
624
- await assertUnauthorizedResponseBody(response);
625
- });
626
- });
627
- (0, _8_10_1.test)('Disable sharing with valid token returns 200 or 204', async ({ request, }) => {
639
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
640
+ _8_10_1.test.skip('Disable sharing with valid token returns 200 or 204', async ({ request, }) => {
628
641
  await _8_10_1.test.step('POST /api/public/share/disable with valid token (200 or 204)', async () => {
629
642
  const response = await request.post(`${baseUrl}/api/public/share/disable`, { headers: { Authorization: optimizeBearerToken } });
630
643
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -637,19 +650,15 @@ _8_10_1.test.describe('API optimize SaaS Tests - Sharing', () => {
637
650
  });
638
651
  });
639
652
  });
640
- (0, _8_10_1.test)('Disable sharing without token returns 401', async ({ request }) => {
653
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
654
+ _8_10_1.test.skip('Disable sharing without token returns 401', async ({ request }) => {
641
655
  await _8_10_1.test.step('POST /api/public/share/disable without token (401)', async () => {
642
656
  const response = await request.post(`${baseUrl}/api/public/share/disable`);
643
657
  await assertUnauthorizedResponseBody(response);
644
658
  });
645
659
  });
646
- (0, _8_10_1.test)('Disable sharing with invalid token returns 401', async ({ request }) => {
647
- await _8_10_1.test.step('POST /api/public/share/disable with invalid token (401)', async () => {
648
- const response = await request.post(`${baseUrl}/api/public/share/disable`, { headers: { Authorization: 'Bearer invalid_token' } });
649
- await assertUnauthorizedResponseBody(response);
650
- });
651
- });
652
- (0, _8_10_1.test)('Sharing toggle cycle: enable then disable is idempotent', async ({ request, }) => {
660
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
661
+ _8_10_1.test.skip('Sharing toggle cycle: enable then disable is idempotent', async ({ request, }) => {
653
662
  await _8_10_1.test.step('Enable sharing (200 or 204)', async () => {
654
663
  const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: optimizeBearerToken } });
655
664
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -664,6 +673,26 @@ _8_10_1.test.describe('API optimize SaaS Tests - Sharing', () => {
664
673
  });
665
674
  });
666
675
  });
676
+ // An invalid token cannot change the cluster-wide sharing setting, so these
677
+ // run without the authenticated restoration hook of the describe above.
678
+ _8_10_1.test.describe('API optimize SaaS Tests - Sharing with invalid token', () => {
679
+ let baseUrl;
680
+ _8_10_1.test.beforeAll(async () => {
681
+ baseUrl = process.env.CAMUNDA_OPTIMIZE_BASE_URL;
682
+ });
683
+ (0, _8_10_1.test)('Enable sharing with invalid token returns 401', async ({ request }) => {
684
+ await _8_10_1.test.step('POST /api/public/share/enable with invalid token (401)', async () => {
685
+ const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: 'Bearer invalid_token' } });
686
+ await assertUnauthorizedResponseBody(response);
687
+ });
688
+ });
689
+ (0, _8_10_1.test)('Disable sharing with invalid token returns 401', async ({ request }) => {
690
+ await _8_10_1.test.step('POST /api/public/share/disable with invalid token (401)', async () => {
691
+ const response = await request.post(`${baseUrl}/api/public/share/disable`, { headers: { Authorization: 'Bearer invalid_token' } });
692
+ await assertUnauthorizedResponseBody(response);
693
+ });
694
+ });
695
+ });
667
696
  _8_10_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge cases', () => {
668
697
  let optimizeBearerToken;
669
698
  let optimizeCookie;
@@ -689,7 +718,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
689
718
  });
690
719
  }
691
720
  });
692
- (0, _8_10_1.test)('GET dashboards with valid token and collectionId returns 200 with id array', async ({ request, }) => {
721
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
722
+ _8_10_1.test.skip('GET dashboards with valid token and collectionId returns 200 with id array', async ({ request, }) => {
693
723
  await _8_10_1.test.step('GET /api/public/dashboard?collectionId returns 200', async () => {
694
724
  const response = await request.get(`${baseUrl}/api/public/dashboard?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
695
725
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -698,7 +728,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
698
728
  (0, test_1.expect)(body.every((dashboard) => typeof dashboard.id === 'string' && dashboard.id.length > 0)).toBeTruthy();
699
729
  });
700
730
  });
701
- (0, _8_10_1.test)('GET dashboards without collectionId param returns 400 or 500', async ({ request, }) => {
731
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
732
+ _8_10_1.test.skip('GET dashboards without collectionId param returns 400 or 500', async ({ request, }) => {
702
733
  await _8_10_1.test.step('GET /api/public/dashboard without collectionId', async () => {
703
734
  const response = await request.get(`${baseUrl}/api/public/dashboard`, {
704
735
  headers: { Authorization: optimizeBearerToken },
@@ -706,7 +737,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
706
737
  (0, test_1.expect)([400, 500]).toContain(response.status());
707
738
  });
708
739
  });
709
- (0, _8_10_1.test)('GET reports with valid token and collectionId returns 200 with id array', async ({ request, }) => {
740
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
741
+ _8_10_1.test.skip('GET reports with valid token and collectionId returns 200 with id array', async ({ request, }) => {
710
742
  await _8_10_1.test.step('GET /api/public/report?collectionId returns 200', async () => {
711
743
  const response = await request.get(`${baseUrl}/api/public/report?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
712
744
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -715,7 +747,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
715
747
  (0, test_1.expect)(body.length).toBe(0);
716
748
  });
717
749
  });
718
- (0, _8_10_1.test)('GET reports without collectionId param returns 400 or 500', async ({ request, }) => {
750
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
751
+ _8_10_1.test.skip('GET reports without collectionId param returns 400 or 500', async ({ request, }) => {
719
752
  await _8_10_1.test.step('GET /api/public/report without collectionId', async () => {
720
753
  const response = await request.get(`${baseUrl}/api/public/report`, {
721
754
  headers: { Authorization: optimizeBearerToken },
@@ -795,7 +828,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
795
828
  });
796
829
  }
797
830
  });
798
- (0, _8_10_1.test)('Export multiple dashboards in a single call returns 200 with all definitions', async ({ request, }) => {
831
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
832
+ _8_10_1.test.skip('Export multiple dashboards in a single call returns 200 with all definitions', async ({ request, }) => {
799
833
  await _8_10_1.test.step('POST export with two dashboard IDs returns array of 2', async () => {
800
834
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
801
835
  headers: {
@@ -815,7 +849,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
815
849
  (0, test_1.expect)(exportedIds).toContain(dashboardId2);
816
850
  });
817
851
  });
818
- (0, _8_10_1.test)('Export multiple reports in a single call returns 200 with all definitions', async ({ request, }) => {
852
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
853
+ _8_10_1.test.skip('Export multiple reports in a single call returns 200 with all definitions', async ({ request, }) => {
819
854
  await _8_10_1.test.step('POST export with two report IDs returns array of 2', async () => {
820
855
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
821
856
  headers: {
@@ -835,7 +870,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
835
870
  (0, test_1.expect)(exportedIds).toContain(reportId2);
836
871
  });
837
872
  });
838
- (0, _8_10_1.test)('Export reports with empty array body returns 200 with empty array', async ({ request, }) => {
873
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
874
+ _8_10_1.test.skip('Export reports with empty array body returns 200 with empty array', async ({ request, }) => {
839
875
  await _8_10_1.test.step('POST export/report with empty array body returns 200 []', async () => {
840
876
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
841
877
  headers: {
@@ -850,7 +886,8 @@ _8_10_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
850
886
  (0, test_1.expect)(body.length).toBe(0);
851
887
  });
852
888
  });
853
- (0, _8_10_1.test)('Export dashboards with empty array body returns 200 with empty array', async ({ request, }) => {
889
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
890
+ _8_10_1.test.skip('Export dashboards with empty array body returns 200 with empty array', async ({ request, }) => {
854
891
  await _8_10_1.test.step('POST export/dashboard with empty array body returns 200 []', async () => {
855
892
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
856
893
  headers: {
@@ -100,7 +100,8 @@ _8_10_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
100
100
  headers: { Authorization: optimizeBearerToken },
101
101
  });
102
102
  });
103
- (0, _8_10_1.test)('Delete a collection and verify it is no longer retrievable', async ({ request, }) => {
103
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
104
+ _8_10_1.test.skip('Delete a collection and verify it is no longer retrievable', async ({ request, }) => {
104
105
  const collectionName = await (0, randomName_1.randomNameAgregator)('Collection Delete');
105
106
  const collectionId = await (0, apiHelpers_1.createCollection)(request, {
106
107
  name: collectionName,
@@ -175,7 +176,8 @@ _8_10_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
175
176
  headers: { Authorization: optimizeBearerToken },
176
177
  });
177
178
  });
178
- (0, _8_10_1.test)('Delete non-existent collection is rejected (404; SaaS may respond 500)', async ({ request, }) => {
179
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
180
+ _8_10_1.test.skip('Delete non-existent collection is rejected (404; SaaS may respond 500)', async ({ request, }) => {
179
181
  await _8_10_1.test.step('DELETE /api/public/collection/{id} for missing collection', async () => {
180
182
  const response = await request.delete(`${baseUrl}/api/public/collection/nonexistent-collection-id`, { headers: { Authorization: optimizeBearerToken } });
181
183
  (0, test_1.expect)([404, 500]).toContain(response.status());
@@ -163,7 +163,8 @@ _8_10_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
163
163
  });
164
164
  }
165
165
  });
166
- (0, _8_10_1.test)('Export report result data returns 200 with paginated payload', async ({ request, }) => {
166
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
167
+ _8_10_1.test.skip('Export report result data returns 200 with paginated payload', async ({ request, }) => {
167
168
  await _8_10_1.test.step('GET /api/public/export/report/{id}/result/json (200)', async () => {
168
169
  const response = await request.get(`${baseUrl}/api/public/export/report/${rawDataReportId}/result/json?paginationTimeout=60&limit=100`, { headers: { Authorization: optimizeBearerToken } });
169
170
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -175,7 +176,8 @@ _8_10_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
175
176
  (0, test_1.expect)(Array.isArray(body.data)).toBeTruthy();
176
177
  });
177
178
  });
178
- (0, _8_10_1.test)('Export report result data without pagination params returns 200', async ({ request, }) => {
179
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
180
+ _8_10_1.test.skip('Export report result data without pagination params returns 200', async ({ request, }) => {
179
181
  await _8_10_1.test.step('GET export result with optional query params omitted (200)', async () => {
180
182
  const response = await request.get(`${baseUrl}/api/public/export/report/${numberReportId}/result/json`, { headers: { Authorization: optimizeBearerToken } });
181
183
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -195,13 +197,15 @@ _8_10_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
195
197
  await assertUnauthorizedResponseBody(response);
196
198
  });
197
199
  });
198
- (0, _8_10_1.test)('Export result data for non-existent report is rejected (404; SaaS may respond 500)', async ({ request, }) => {
200
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
201
+ _8_10_1.test.skip('Export result data for non-existent report is rejected (404; SaaS may respond 500)', async ({ request, }) => {
199
202
  await _8_10_1.test.step('GET export result for missing report (404 or 500)', async () => {
200
203
  const response = await request.get(`${baseUrl}/api/public/export/report/11111111-1111-1111-1111-111111111111/result/json?paginationTimeout=60&limit=100`, { headers: { Authorization: optimizeBearerToken } });
201
204
  (0, test_1.expect)([404, 500]).toContain(response.status());
202
205
  });
203
206
  });
204
- (0, _8_10_1.test)('Enable, evaluate and delete a report share', async ({ request }) => {
207
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
208
+ _8_10_1.test.skip('Enable, evaluate and delete a report share', async ({ request }) => {
205
209
  let reportShareId = '';
206
210
  await _8_10_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
207
211
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -246,7 +250,8 @@ _8_10_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
246
250
  await assertUnauthorizedResponseBody(response);
247
251
  });
248
252
  });
249
- (0, _8_10_1.test)('Enable and delete a dashboard share', async ({ request }) => {
253
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
254
+ _8_10_1.test.skip('Enable and delete a dashboard share', async ({ request }) => {
250
255
  let dashboardShareId = '';
251
256
  await _8_10_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
252
257
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -138,7 +138,8 @@ _8_10_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
138
138
  });
139
139
  }
140
140
  });
141
- (0, _8_10_1.test)('Enable report sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
141
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
142
+ _8_10_1.test.skip('Enable report sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
142
143
  await _8_10_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
143
144
  // The apps-menu hand-off starts an OIDC round trip, and when
144
145
  // Optimize's /sso-callback answers 401 the tab is left on a blank
@@ -159,7 +160,8 @@ _8_10_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
159
160
  await optimizeSharePage.disableSharing();
160
161
  });
161
162
  });
162
- (0, _8_10_1.test)('Report offers a CSV download/export action', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
163
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
164
+ _8_10_1.test.skip('Report offers a CSV download/export action', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
163
165
  await _8_10_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
164
166
  // The apps-menu hand-off starts an OIDC round trip, and when
165
167
  // Optimize's /sso-callback answers 401 the tab is left on a blank
@@ -175,7 +177,8 @@ _8_10_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
175
177
  await optimizeSharePage.assertDownloadOptionAvailable();
176
178
  });
177
179
  });
178
- (0, _8_10_1.test)('Enable dashboard sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
180
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
181
+ _8_10_1.test.skip('Enable dashboard sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
179
182
  await _8_10_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
180
183
  // Same retrying opener as the two tests above, for the same reason: a
181
184
  // /sso-callback that answers 401 leaves the tab on a blank page that