@camunda/e2e-test-suite 0.0.1692 → 0.0.1694

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 (23) hide show
  1. package/dist/tests/8.11/optimize-api-tests.spec.js +58 -29
  2. package/dist/tests/8.11/optimize-collections-api.spec.js +4 -2
  3. package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.js +10 -5
  4. package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.js +6 -3
  5. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.d.ts +1 -0
  6. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +72 -0
  7. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.d.ts +1 -0
  8. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.js +101 -0
  9. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-process-instance-tools.spec.d.ts +1 -0
  10. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-process-instance-tools.spec.js +107 -0
  11. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.d.ts +1 -0
  12. package/dist/tests/SM-8.10/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +124 -0
  13. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.d.ts +1 -0
  14. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +72 -0
  15. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.d.ts +1 -0
  16. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.js +101 -0
  17. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-process-instance-tools.spec.d.ts +1 -0
  18. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-process-instance-tools.spec.js +107 -0
  19. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.d.ts +1 -0
  20. package/dist/tests/SM-8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +124 -0
  21. package/dist/tests/SM-8.9/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +2 -2
  22. package/package.json +1 -1
  23. package/playwright.config.ts +6 -0
@@ -91,7 +91,8 @@ _8_11_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_11_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_11_1.test.skip('Get dashboard IDs returns 200 with id array', async ({ request, }) => {
95
96
  await _8_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
115
116
  await assertUnauthorizedResponseBody(response);
116
117
  });
117
118
  });
118
- (0, _8_11_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_11_1.test.skip('GET /api/public/dashboard/force-internal-error returns 500', async ({ request, }) => {
119
121
  await _8_11_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_11_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_11_1.test.skip('Export dashboard definitions successfully returns 200', async ({ request, }) => {
125
128
  await _8_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
165
168
  await assertUnauthorizedResponseBody(response);
166
169
  });
167
170
  });
168
- (0, _8_11_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_11_1.test.skip('Export dashboard with invalid body returns 400', async ({ request, }) => {
169
173
  await _8_11_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_11_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_11_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_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
212
217
  await assertUnauthorizedResponseBody(response);
213
218
  });
214
219
  });
215
- (0, _8_11_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_11_1.test.skip('Delete non-existent dashboard returns 404', async ({ request }) => {
216
222
  await _8_11_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_11_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_11_1.test.skip('Get report IDs returns 200 with id array', async ({ request }) => {
223
230
  await _8_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
237
244
  await assertUnauthorizedResponseBody(response);
238
245
  });
239
246
  });
240
- (0, _8_11_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_11_1.test.skip('Export reports successfully returns 200 with full payload', async ({ request, }) => {
241
249
  await _8_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
274
282
  await assertUnauthorizedResponseBody(response);
275
283
  });
276
284
  });
277
- (0, _8_11_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_11_1.test.skip('Export non-existent report returns 404', async ({ request }) => {
278
287
  await _8_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
287
296
  await (0, apiHelpers_1.assertResponseStatus)(response, 404);
288
297
  });
289
298
  });
290
- (0, _8_11_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_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
318
328
  await assertUnauthorizedResponseBody(response);
319
329
  });
320
330
  });
321
- (0, _8_11_1.test)('Import entities successfully (200)', async ({ request }) => {
331
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
332
+ _8_11_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_11_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_11_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_11_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_11_1.test.describe('API optimize SaaS Tests', () => {
359
371
  });
360
372
  await assertUnauthorizedResponseBody(response);
361
373
  });
362
- (0, _8_11_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_11_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_11_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_11_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_11_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_11_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_11_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
516
530
  await assertUnauthorizedResponseBody(response);
517
531
  });
518
532
  });
519
- (0, _8_11_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_11_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_11_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_11_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_11_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,13 +622,15 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
606
622
  enabled: true,
607
623
  });
608
624
  });
609
- (0, _8_11_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_11_1.test.skip('Enable sharing with valid token returns 200 or 204', async ({ request, }) => {
610
627
  await _8_11_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_11_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_11_1.test.skip('Enable sharing without token returns 401', async ({ request }) => {
616
634
  await _8_11_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);
@@ -624,7 +642,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
624
642
  await assertUnauthorizedResponseBody(response);
625
643
  });
626
644
  });
627
- (0, _8_11_1.test)('Disable sharing with valid token returns 200 or 204', async ({ request, }) => {
645
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
646
+ _8_11_1.test.skip('Disable sharing with valid token returns 200 or 204', async ({ request, }) => {
628
647
  await _8_11_1.test.step('POST /api/public/share/disable with valid token (200 or 204)', async () => {
629
648
  const response = await request.post(`${baseUrl}/api/public/share/disable`, { headers: { Authorization: optimizeBearerToken } });
630
649
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -637,7 +656,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
637
656
  });
638
657
  });
639
658
  });
640
- (0, _8_11_1.test)('Disable sharing without token returns 401', async ({ request }) => {
659
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
660
+ _8_11_1.test.skip('Disable sharing without token returns 401', async ({ request }) => {
641
661
  await _8_11_1.test.step('POST /api/public/share/disable without token (401)', async () => {
642
662
  const response = await request.post(`${baseUrl}/api/public/share/disable`);
643
663
  await assertUnauthorizedResponseBody(response);
@@ -649,7 +669,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
649
669
  await assertUnauthorizedResponseBody(response);
650
670
  });
651
671
  });
652
- (0, _8_11_1.test)('Sharing toggle cycle: enable then disable is idempotent', async ({ request, }) => {
672
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
673
+ _8_11_1.test.skip('Sharing toggle cycle: enable then disable is idempotent', async ({ request, }) => {
653
674
  await _8_11_1.test.step('Enable sharing (200 or 204)', async () => {
654
675
  const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: optimizeBearerToken } });
655
676
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -689,7 +710,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
689
710
  });
690
711
  }
691
712
  });
692
- (0, _8_11_1.test)('GET dashboards with valid token and collectionId returns 200 with id array', async ({ request, }) => {
713
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
714
+ _8_11_1.test.skip('GET dashboards with valid token and collectionId returns 200 with id array', async ({ request, }) => {
693
715
  await _8_11_1.test.step('GET /api/public/dashboard?collectionId returns 200', async () => {
694
716
  const response = await request.get(`${baseUrl}/api/public/dashboard?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
695
717
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -698,7 +720,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
698
720
  (0, test_1.expect)(body.every((dashboard) => typeof dashboard.id === 'string' && dashboard.id.length > 0)).toBeTruthy();
699
721
  });
700
722
  });
701
- (0, _8_11_1.test)('GET dashboards without collectionId param returns 400 or 500', async ({ request, }) => {
723
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
724
+ _8_11_1.test.skip('GET dashboards without collectionId param returns 400 or 500', async ({ request, }) => {
702
725
  await _8_11_1.test.step('GET /api/public/dashboard without collectionId', async () => {
703
726
  const response = await request.get(`${baseUrl}/api/public/dashboard`, {
704
727
  headers: { Authorization: optimizeBearerToken },
@@ -706,7 +729,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
706
729
  (0, test_1.expect)([400, 500]).toContain(response.status());
707
730
  });
708
731
  });
709
- (0, _8_11_1.test)('GET reports with valid token and collectionId returns 200 with id array', async ({ request, }) => {
732
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
733
+ _8_11_1.test.skip('GET reports with valid token and collectionId returns 200 with id array', async ({ request, }) => {
710
734
  await _8_11_1.test.step('GET /api/public/report?collectionId returns 200', async () => {
711
735
  const response = await request.get(`${baseUrl}/api/public/report?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
712
736
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -715,7 +739,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
715
739
  (0, test_1.expect)(body.length).toBe(0);
716
740
  });
717
741
  });
718
- (0, _8_11_1.test)('GET reports without collectionId param returns 400 or 500', async ({ request, }) => {
742
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
743
+ _8_11_1.test.skip('GET reports without collectionId param returns 400 or 500', async ({ request, }) => {
719
744
  await _8_11_1.test.step('GET /api/public/report without collectionId', async () => {
720
745
  const response = await request.get(`${baseUrl}/api/public/report`, {
721
746
  headers: { Authorization: optimizeBearerToken },
@@ -795,7 +820,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
795
820
  });
796
821
  }
797
822
  });
798
- (0, _8_11_1.test)('Export multiple dashboards in a single call returns 200 with all definitions', async ({ request, }) => {
823
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
824
+ _8_11_1.test.skip('Export multiple dashboards in a single call returns 200 with all definitions', async ({ request, }) => {
799
825
  await _8_11_1.test.step('POST export with two dashboard IDs returns array of 2', async () => {
800
826
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
801
827
  headers: {
@@ -815,7 +841,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
815
841
  (0, test_1.expect)(exportedIds).toContain(dashboardId2);
816
842
  });
817
843
  });
818
- (0, _8_11_1.test)('Export multiple reports in a single call returns 200 with all definitions', async ({ request, }) => {
844
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
845
+ _8_11_1.test.skip('Export multiple reports in a single call returns 200 with all definitions', async ({ request, }) => {
819
846
  await _8_11_1.test.step('POST export with two report IDs returns array of 2', async () => {
820
847
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
821
848
  headers: {
@@ -835,7 +862,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
835
862
  (0, test_1.expect)(exportedIds).toContain(reportId2);
836
863
  });
837
864
  });
838
- (0, _8_11_1.test)('Export reports with empty array body returns 200 with empty array', async ({ request, }) => {
865
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
866
+ _8_11_1.test.skip('Export reports with empty array body returns 200 with empty array', async ({ request, }) => {
839
867
  await _8_11_1.test.step('POST export/report with empty array body returns 200 []', async () => {
840
868
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
841
869
  headers: {
@@ -850,7 +878,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
850
878
  (0, test_1.expect)(body.length).toBe(0);
851
879
  });
852
880
  });
853
- (0, _8_11_1.test)('Export dashboards with empty array body returns 200 with empty array', async ({ request, }) => {
881
+ // Skipped due to bug #69726: https://github.com/camunda/camunda/issues/69726
882
+ _8_11_1.test.skip('Export dashboards with empty array body returns 200 with empty array', async ({ request, }) => {
854
883
  await _8_11_1.test.step('POST export/dashboard with empty array body returns 200 []', async () => {
855
884
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
856
885
  headers: {
@@ -100,7 +100,8 @@ _8_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
100
100
  headers: { Authorization: optimizeBearerToken },
101
101
  });
102
102
  });
103
- (0, _8_11_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_11_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_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
175
176
  headers: { Authorization: optimizeBearerToken },
176
177
  });
177
178
  });
178
- (0, _8_11_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_11_1.test.skip('Delete non-existent collection is rejected (404; SaaS may respond 500)', async ({ request, }) => {
179
181
  await _8_11_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_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
163
163
  });
164
164
  }
165
165
  });
166
- (0, _8_11_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_11_1.test.skip('Export report result data returns 200 with paginated payload', async ({ request, }) => {
167
168
  await _8_11_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_11_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_11_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_11_1.test.skip('Export report result data without pagination params returns 200', async ({ request, }) => {
179
181
  await _8_11_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_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
195
197
  await assertUnauthorizedResponseBody(response);
196
198
  });
197
199
  });
198
- (0, _8_11_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_11_1.test.skip('Export result data for non-existent report is rejected (404; SaaS may respond 500)', async ({ request, }) => {
199
202
  await _8_11_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_11_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_11_1.test.skip('Enable, evaluate and delete a report share', async ({ request }) => {
205
209
  let reportShareId = '';
206
210
  await _8_11_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
207
211
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -246,7 +250,8 @@ _8_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
246
250
  await assertUnauthorizedResponseBody(response);
247
251
  });
248
252
  });
249
- (0, _8_11_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_11_1.test.skip('Enable and delete a dashboard share', async ({ request }) => {
250
255
  let dashboardShareId = '';
251
256
  await _8_11_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
252
257
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -138,7 +138,8 @@ _8_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
138
138
  });
139
139
  }
140
140
  });
141
- (0, _8_11_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_11_1.test.skip('Enable report sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
142
143
  await _8_11_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_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
159
160
  await optimizeSharePage.disableSharing();
160
161
  });
161
162
  });
162
- (0, _8_11_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_11_1.test.skip('Report offers a CSV download/export action', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
163
165
  await _8_11_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_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
175
177
  await optimizeSharePage.assertDownloadOptionAvailable();
176
178
  });
177
179
  });
178
- (0, _8_11_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_11_1.test.skip('Enable dashboard sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
179
182
  await _8_11_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
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const SM_8_10_1 = require("../../../fixtures/SM-8.10");
4
+ const _setup_1 = require("../../../test-setup.js");
5
+ const apiHelpers_1 = require("../../../utils/apiHelpers");
6
+ const mcpSmSetup_1 = require("../../../utils/mcpSmSetup");
7
+ const test_1 = require("@playwright/test");
8
+ let authToken;
9
+ let instanceKey;
10
+ SM_8_10_1.test.describe.configure({ mode: 'parallel' });
11
+ SM_8_10_1.test.describe('MCP Gateway - Cluster Tools @tasklistV2', () => {
12
+ SM_8_10_1.test.skip(process.env.MCP_GATEWAY_ENABLED !== 'true', 'MCP gateway not enabled in this deployment');
13
+ SM_8_10_1.test.beforeAll(async () => {
14
+ authToken = await (0, apiHelpers_1.authSmAPI)();
15
+ const processDefinitionKey = await (0, apiHelpers_1.deployProcess)('./resources/mcp_server_sm/mcp_cluster_tools.bpmn', authToken);
16
+ if (processDefinitionKey == null) {
17
+ throw new Error('Failed to deploy cluster tools process');
18
+ }
19
+ const mcpVars = (0, mcpSmSetup_1.getMcpSmVariables)();
20
+ instanceKey = await (0, apiHelpers_1.createProcessInstance)(String(processDefinitionKey), authToken, undefined, undefined, mcpVars);
21
+ });
22
+ SM_8_10_1.test.beforeEach(async ({ navigationPage }, testInfo) => {
23
+ await navigationPage.goToOperate((testInfo.workerIndex + 1) * 1000);
24
+ });
25
+ SM_8_10_1.test.afterEach(async ({ page }, testInfo) => {
26
+ await (0, _setup_1.captureScreenshot)(page, testInfo);
27
+ await (0, _setup_1.captureFailureVideo)(page, testInfo);
28
+ });
29
+ const clusterToolTests = [
30
+ {
31
+ name: 'getClusterStatus - returns cluster health status',
32
+ variable: 'mcpResultClusterStatus',
33
+ assertions: [
34
+ {
35
+ text: '"HEALTHY"',
36
+ description: 'cluster status response reports a healthy cluster',
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ name: 'getTopology - returns cluster topology information',
42
+ variable: 'mcpResultTopology',
43
+ assertions: [
44
+ { text: 'brokers', description: 'topology response contains brokers' },
45
+ {
46
+ text: 'partitionsCount',
47
+ description: 'topology response contains partitions count',
48
+ },
49
+ ],
50
+ },
51
+ ];
52
+ for (const testCase of clusterToolTests) {
53
+ (0, SM_8_10_1.test)(testCase.name, async ({ operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
54
+ SM_8_10_1.test.slow();
55
+ await SM_8_10_1.test.step('Navigate to completed process in Operate', async () => {
56
+ await (0, test_1.expect)(operateHomePage.operateBanner).toBeVisible({
57
+ timeout: 60000,
58
+ });
59
+ await operateHomePage.clickProcessesTab();
60
+ await operateProcessesPage.clickProcessCompletedCheckbox();
61
+ await operateProcessesPage.applyMoreFilters('Process Instance Key(s)', String(instanceKey));
62
+ await operateProcessesPage.clickProcessInstanceLink('MCP Cluster tools', 'completed');
63
+ await operateProcessInstancePage.assertProcessCompleteStatusWithRetry();
64
+ });
65
+ for (const assertion of testCase.assertions) {
66
+ await SM_8_10_1.test.step(`Verify ${assertion.description}`, async () => {
67
+ await operateProcessInstancePage.assertProcessVariableContainsText(testCase.variable, assertion.text);
68
+ });
69
+ }
70
+ });
71
+ }
72
+ });
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const SM_8_10_1 = require("../../../fixtures/SM-8.10");
4
+ const _setup_1 = require("../../../test-setup.js");
5
+ const apiHelpers_1 = require("../../../utils/apiHelpers");
6
+ const mcpSmSetup_1 = require("../../../utils/mcpSmSetup");
7
+ const test_1 = require("@playwright/test");
8
+ let authToken;
9
+ let toolsInstanceKey;
10
+ SM_8_10_1.test.describe.configure({ mode: 'parallel' });
11
+ SM_8_10_1.test.describe('MCP Gateway - Process Definition Tools @tasklistV2', () => {
12
+ SM_8_10_1.test.skip(process.env.MCP_GATEWAY_ENABLED !== 'true', 'MCP gateway not enabled in this deployment');
13
+ SM_8_10_1.test.beforeAll(async () => {
14
+ authToken = await (0, apiHelpers_1.authSmAPI)();
15
+ const [testFileProcessKey, toolsProcessKey] = await Promise.all([
16
+ (0, apiHelpers_1.deployProcess)('./resources/mcp_server_saas/mcp_process_definition_test_file.bpmn', authToken),
17
+ (0, apiHelpers_1.deployProcess)('./resources/mcp_server_sm/mcp_process_definition_tools.bpmn', authToken),
18
+ ]);
19
+ if (testFileProcessKey == null || toolsProcessKey == null) {
20
+ throw new Error('Failed to deploy process definition tools processes');
21
+ }
22
+ await (0, apiHelpers_1.createProcessInstance)(String(testFileProcessKey), authToken);
23
+ const mcpVars = (0, mcpSmSetup_1.getMcpSmVariables)();
24
+ toolsInstanceKey = await (0, apiHelpers_1.createProcessInstance)(String(toolsProcessKey), authToken, undefined, undefined, { ...mcpVars, testFileProcessKey });
25
+ });
26
+ SM_8_10_1.test.beforeEach(async ({ navigationPage }, testInfo) => {
27
+ await navigationPage.goToOperate((testInfo.workerIndex + 1) * 1000);
28
+ });
29
+ SM_8_10_1.test.afterEach(async ({ page }, testInfo) => {
30
+ await (0, _setup_1.captureScreenshot)(page, testInfo);
31
+ await (0, _setup_1.captureFailureVideo)(page, testInfo);
32
+ });
33
+ const processDefinitionToolTests = [
34
+ {
35
+ name: 'searchProcessDefinitions - search process definitions with filters such as name and key.',
36
+ variable: 'mcpResultSearchProcessDefinitions',
37
+ assertions: [
38
+ {
39
+ text: 'totalItems',
40
+ description: 'search response contains totalItems field',
41
+ },
42
+ {
43
+ text: 'processDefinitionKey',
44
+ description: 'search response contains processDefinitionKey field',
45
+ },
46
+ {
47
+ text: 'resourceName',
48
+ description: 'search response contains resourceName field',
49
+ },
50
+ ],
51
+ },
52
+ {
53
+ name: 'getProcessDefinitionXml - retrieve the BPMN XML of a process definition.',
54
+ variable: 'mcpResultGetProcessDefinitionXml',
55
+ assertions: [
56
+ {
57
+ text: 'bpmn:definitions',
58
+ description: 'XML response contains bpmn:definitions element',
59
+ },
60
+ {
61
+ text: 'bpmn:process',
62
+ description: 'XML response contains bpmn:process element',
63
+ },
64
+ ],
65
+ },
66
+ {
67
+ name: 'getProcessDefinition - retrieve a process definition by key',
68
+ variable: 'mcpResultGetProcessDefinition',
69
+ assertions: [
70
+ {
71
+ text: 'processDefinitionKey',
72
+ description: 'process definition response contains processDefinitionKey',
73
+ },
74
+ {
75
+ text: 'mcp_process_definition_test_file',
76
+ description: 'process definition response contains correct process name',
77
+ },
78
+ ],
79
+ },
80
+ ];
81
+ for (const testCase of processDefinitionToolTests) {
82
+ (0, SM_8_10_1.test)(testCase.name, async ({ operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
83
+ SM_8_10_1.test.slow();
84
+ await SM_8_10_1.test.step('Navigate to completed process in Operate', async () => {
85
+ await (0, test_1.expect)(operateHomePage.operateBanner).toBeVisible({
86
+ timeout: 60000,
87
+ });
88
+ await operateHomePage.clickProcessesTab();
89
+ await operateProcessesPage.clickProcessCompletedCheckbox();
90
+ await operateProcessesPage.applyMoreFilters('Process Instance Key(s)', String(toolsInstanceKey));
91
+ await operateProcessesPage.clickProcessInstanceLink('MCP Process Definition Tools', 'completed');
92
+ await operateProcessInstancePage.assertProcessCompleteStatusWithRetry();
93
+ });
94
+ for (const assertion of testCase.assertions) {
95
+ await SM_8_10_1.test.step(`Verify ${assertion.description}`, async () => {
96
+ await operateProcessInstancePage.assertProcessVariableContainsText(testCase.variable, assertion.text);
97
+ });
98
+ }
99
+ });
100
+ }
101
+ });