@camunda/e2e-test-suite 0.0.1704 → 0.0.1706

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.
@@ -91,8 +91,7 @@ _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
- // 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, }) => {
94
+ (0, _8_11_1.test)('Get dashboard IDs returns 200 with id array', async ({ request }) => {
96
95
  await _8_11_1.test.step('GET /api/public/dashboard?collectionId returns 200', async () => {
97
96
  const response = await request.get(`${baseUrl}/api/public/dashboard?collectionId=${collectionIdValue}`, { headers: { Authorization: optimizeBearerToken } });
98
97
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -116,15 +115,13 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
116
115
  await assertUnauthorizedResponseBody(response);
117
116
  });
118
117
  });
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, }) => {
118
+ (0, _8_11_1.test)('GET /api/public/dashboard/force-internal-error returns 500', async ({ request, }) => {
121
119
  await _8_11_1.test.step('Force internal server error (500)', async () => {
122
120
  const response = await request.get(`${baseUrl}/api/public/dashboard/force-internal-error`, { headers: { Authorization: optimizeBearerToken } });
123
121
  (0, test_1.expect)(response.status()).toBe(500);
124
122
  });
125
123
  });
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, }) => {
124
+ (0, _8_11_1.test)('Export dashboard definitions successfully returns 200', async ({ request, }) => {
128
125
  await _8_11_1.test.step('POST export dashboard definitions (200)', async () => {
129
126
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
130
127
  headers: {
@@ -168,8 +165,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
168
165
  await assertUnauthorizedResponseBody(response);
169
166
  });
170
167
  });
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, }) => {
168
+ (0, _8_11_1.test)('Export dashboard with invalid body returns 400', async ({ request }) => {
173
169
  await _8_11_1.test.step('POST export dashboard with invalid body (400)', async () => {
174
170
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
175
171
  headers: {
@@ -194,8 +190,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
194
190
  (0, test_1.expect)([401, 404]).toContain(response.status());
195
191
  });
196
192
  });
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, }) => {
193
+ (0, _8_11_1.test)('Delete dashboard and verify it is no longer retrievable', async ({ request, }) => {
199
194
  const dashboardToDeleteId = await (0, apiHelpers_1.createDashboard)(request, {
200
195
  name: await (0, randomName_1.randomNameAgregator)('Dashboard To Delete'),
201
196
  optimizeCookie,
@@ -217,16 +212,14 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
217
212
  await assertUnauthorizedResponseBody(response);
218
213
  });
219
214
  });
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 }) => {
215
+ (0, _8_11_1.test)('Delete non-existent dashboard returns 404', async ({ request }) => {
222
216
  await _8_11_1.test.step('DELETE non-existent dashboard (404)', async () => {
223
217
  const fakeDashboardId = 'nonexistent-dashboard-id';
224
218
  const response = await request.delete(`${baseUrl}/api/public/dashboard/${fakeDashboardId}`, { headers: { Authorization: optimizeBearerToken } });
225
219
  (0, test_1.expect)(response.status()).toBe(404);
226
220
  });
227
221
  });
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 }) => {
222
+ (0, _8_11_1.test)('Get report IDs returns 200 with id array', async ({ request }) => {
230
223
  await _8_11_1.test.step('GET /api/public/report?collectionId returns 200', async () => {
231
224
  const response = await request.get(`${baseUrl}/api/public/report?collectionId=${collectionIdValue}`, { headers: { Authorization: optimizeBearerToken } });
232
225
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -244,8 +237,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
244
237
  await assertUnauthorizedResponseBody(response);
245
238
  });
246
239
  });
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, }) => {
240
+ (0, _8_11_1.test)('Export reports successfully returns 200 with full payload', async ({ request, }) => {
249
241
  await _8_11_1.test.step('POST export report definitions (200)', async () => {
250
242
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
251
243
  headers: {
@@ -282,8 +274,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
282
274
  await assertUnauthorizedResponseBody(response);
283
275
  });
284
276
  });
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 }) => {
277
+ (0, _8_11_1.test)('Export non-existent report returns 404', async ({ request }) => {
287
278
  await _8_11_1.test.step('POST export non-existent report (404)', async () => {
288
279
  const invalidReportId = '11111111-1111-1111-1111-111111111111';
289
280
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
@@ -296,8 +287,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
296
287
  await (0, apiHelpers_1.assertResponseStatus)(response, 404);
297
288
  });
298
289
  });
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, }) => {
290
+ (0, _8_11_1.test)('Delete report and verify it is no longer retrievable', async ({ request, }) => {
301
291
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
302
292
  optimizeCookie,
303
293
  csrfToken,
@@ -328,8 +318,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
328
318
  await assertUnauthorizedResponseBody(response);
329
319
  });
330
320
  });
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 }) => {
321
+ (0, _8_11_1.test)('Import entities successfully (200)', async ({ request }) => {
333
322
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
334
323
  headers: {
335
324
  Authorization: optimizeBearerToken,
@@ -351,8 +340,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
351
340
  (0, test_1.expect)(Array.isArray(importResult)).toBeTruthy();
352
341
  (0, test_1.expect)(importResult.length).toBeGreaterThan(0);
353
342
  });
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, }) => {
343
+ (0, _8_11_1.test)('Import without token or invalid token returns 401', async ({ request, }) => {
356
344
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
357
345
  headers: {
358
346
  Authorization: optimizeBearerToken,
@@ -371,8 +359,7 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
371
359
  });
372
360
  await assertUnauthorizedResponseBody(response);
373
361
  });
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 }) => {
362
+ (0, _8_11_1.test)('Import to non-existent collection (404)', async ({ request }) => {
376
363
  const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
377
364
  headers: {
378
365
  Authorization: optimizeBearerToken,
@@ -483,8 +470,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
483
470
  (0, test_1.expect)(body.id).toBeTruthy();
484
471
  });
485
472
  });
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, }) => {
473
+ (0, _8_11_1.test)('CE-OPT-10: Exporting the Conditional Events report definition via API returns the full report payload', async ({ request, }) => {
488
474
  await _8_11_1.test.step('Export report definition successfully (200)', async () => {
489
475
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
490
476
  headers: {
@@ -530,8 +516,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
530
516
  await assertUnauthorizedResponseBody(response);
531
517
  });
532
518
  });
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, }) => {
519
+ (0, _8_11_1.test)('CE-OPT-13: Deleting the Conditional Events report via API succeeds with HTTP 200', async ({ request, }) => {
535
520
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
536
521
  optimizeCookie,
537
522
  csrfToken,
@@ -552,8 +537,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
552
537
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
553
538
  });
554
539
  });
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, }) => {
540
+ (0, _8_11_1.test)('CE-OPT-14: A deleted Conditional Events report is no longer retrievable via the API', async ({ request, }) => {
557
541
  const reportToDeleteId = await (0, apiHelpers_1.createSingleProcessReport)(request, {
558
542
  optimizeCookie,
559
543
  csrfToken,
@@ -622,15 +606,13 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
622
606
  enabled: true,
623
607
  });
624
608
  });
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, }) => {
609
+ (0, _8_11_1.test)('Enable sharing with valid token returns 200 or 204', async ({ request, }) => {
627
610
  await _8_11_1.test.step('POST /api/public/share/enable with valid token (200 or 204)', async () => {
628
611
  const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: optimizeBearerToken } });
629
612
  (0, test_1.expect)([200, 204]).toContain(response.status());
630
613
  });
631
614
  });
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 }) => {
615
+ (0, _8_11_1.test)('Enable sharing without token returns 401', async ({ request }) => {
634
616
  await _8_11_1.test.step('POST /api/public/share/enable without token (401)', async () => {
635
617
  const response = await request.post(`${baseUrl}/api/public/share/enable`);
636
618
  await assertUnauthorizedResponseBody(response);
@@ -642,8 +624,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
642
624
  await assertUnauthorizedResponseBody(response);
643
625
  });
644
626
  });
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, }) => {
627
+ (0, _8_11_1.test)('Disable sharing with valid token returns 200 or 204', async ({ request, }) => {
647
628
  await _8_11_1.test.step('POST /api/public/share/disable with valid token (200 or 204)', async () => {
648
629
  const response = await request.post(`${baseUrl}/api/public/share/disable`, { headers: { Authorization: optimizeBearerToken } });
649
630
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -656,8 +637,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
656
637
  });
657
638
  });
658
639
  });
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 }) => {
640
+ (0, _8_11_1.test)('Disable sharing without token returns 401', async ({ request }) => {
661
641
  await _8_11_1.test.step('POST /api/public/share/disable without token (401)', async () => {
662
642
  const response = await request.post(`${baseUrl}/api/public/share/disable`);
663
643
  await assertUnauthorizedResponseBody(response);
@@ -669,8 +649,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
669
649
  await assertUnauthorizedResponseBody(response);
670
650
  });
671
651
  });
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, }) => {
652
+ (0, _8_11_1.test)('Sharing toggle cycle: enable then disable is idempotent', async ({ request, }) => {
674
653
  await _8_11_1.test.step('Enable sharing (200 or 204)', async () => {
675
654
  const response = await request.post(`${baseUrl}/api/public/share/enable`, { headers: { Authorization: optimizeBearerToken } });
676
655
  (0, test_1.expect)([200, 204]).toContain(response.status());
@@ -710,8 +689,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
710
689
  });
711
690
  }
712
691
  });
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, }) => {
692
+ (0, _8_11_1.test)('GET dashboards with valid token and collectionId returns 200 with id array', async ({ request, }) => {
715
693
  await _8_11_1.test.step('GET /api/public/dashboard?collectionId returns 200', async () => {
716
694
  const response = await request.get(`${baseUrl}/api/public/dashboard?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
717
695
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -720,8 +698,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
720
698
  (0, test_1.expect)(body.every((dashboard) => typeof dashboard.id === 'string' && dashboard.id.length > 0)).toBeTruthy();
721
699
  });
722
700
  });
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, }) => {
701
+ (0, _8_11_1.test)('GET dashboards without collectionId param returns 400 or 500', async ({ request, }) => {
725
702
  await _8_11_1.test.step('GET /api/public/dashboard without collectionId', async () => {
726
703
  const response = await request.get(`${baseUrl}/api/public/dashboard`, {
727
704
  headers: { Authorization: optimizeBearerToken },
@@ -729,8 +706,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
729
706
  (0, test_1.expect)([400, 500]).toContain(response.status());
730
707
  });
731
708
  });
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, }) => {
709
+ (0, _8_11_1.test)('GET reports with valid token and collectionId returns 200 with id array', async ({ request, }) => {
734
710
  await _8_11_1.test.step('GET /api/public/report?collectionId returns 200', async () => {
735
711
  const response = await request.get(`${baseUrl}/api/public/report?collectionId=${collectionId}`, { headers: { Authorization: optimizeBearerToken } });
736
712
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -739,8 +715,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
739
715
  (0, test_1.expect)(body.length).toBe(0);
740
716
  });
741
717
  });
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, }) => {
718
+ (0, _8_11_1.test)('GET reports without collectionId param returns 400 or 500', async ({ request, }) => {
744
719
  await _8_11_1.test.step('GET /api/public/report without collectionId', async () => {
745
720
  const response = await request.get(`${baseUrl}/api/public/report`, {
746
721
  headers: { Authorization: optimizeBearerToken },
@@ -820,8 +795,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
820
795
  });
821
796
  }
822
797
  });
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, }) => {
798
+ (0, _8_11_1.test)('Export multiple dashboards in a single call returns 200 with all definitions', async ({ request, }) => {
825
799
  await _8_11_1.test.step('POST export with two dashboard IDs returns array of 2', async () => {
826
800
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
827
801
  headers: {
@@ -841,8 +815,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
841
815
  (0, test_1.expect)(exportedIds).toContain(dashboardId2);
842
816
  });
843
817
  });
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, }) => {
818
+ (0, _8_11_1.test)('Export multiple reports in a single call returns 200 with all definitions', async ({ request, }) => {
846
819
  await _8_11_1.test.step('POST export with two report IDs returns array of 2', async () => {
847
820
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
848
821
  headers: {
@@ -862,8 +835,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
862
835
  (0, test_1.expect)(exportedIds).toContain(reportId2);
863
836
  });
864
837
  });
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, }) => {
838
+ (0, _8_11_1.test)('Export reports with empty array body returns 200 with empty array', async ({ request, }) => {
867
839
  await _8_11_1.test.step('POST export/report with empty array body returns 200 []', async () => {
868
840
  const response = await request.post(`${baseUrl}/api/public/export/report/definition/json`, {
869
841
  headers: {
@@ -878,8 +850,7 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
878
850
  (0, test_1.expect)(body.length).toBe(0);
879
851
  });
880
852
  });
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, }) => {
853
+ (0, _8_11_1.test)('Export dashboards with empty array body returns 200 with empty array', async ({ request, }) => {
883
854
  await _8_11_1.test.step('POST export/dashboard with empty array body returns 200 []', async () => {
884
855
  const response = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
885
856
  headers: {
@@ -100,8 +100,7 @@ _8_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
100
100
  headers: { Authorization: optimizeBearerToken },
101
101
  });
102
102
  });
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, }) => {
103
+ (0, _8_11_1.test)('Delete a collection and verify it is no longer retrievable', async ({ request, }) => {
105
104
  const collectionName = await (0, randomName_1.randomNameAgregator)('Collection Delete');
106
105
  const collectionId = await (0, apiHelpers_1.createCollection)(request, {
107
106
  name: collectionName,
@@ -176,8 +175,7 @@ _8_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
176
175
  headers: { Authorization: optimizeBearerToken },
177
176
  });
178
177
  });
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, }) => {
178
+ (0, _8_11_1.test)('Delete non-existent collection is rejected (404; SaaS may respond 500)', async ({ request, }) => {
181
179
  await _8_11_1.test.step('DELETE /api/public/collection/{id} for missing collection', async () => {
182
180
  const response = await request.delete(`${baseUrl}/api/public/collection/nonexistent-collection-id`, { headers: { Authorization: optimizeBearerToken } });
183
181
  (0, test_1.expect)([404, 500]).toContain(response.status());
@@ -163,8 +163,7 @@ _8_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
163
163
  });
164
164
  }
165
165
  });
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, }) => {
166
+ (0, _8_11_1.test)('Export report result data returns 200 with paginated payload', async ({ request, }) => {
168
167
  await _8_11_1.test.step('GET /api/public/export/report/{id}/result/json (200)', async () => {
169
168
  const response = await request.get(`${baseUrl}/api/public/export/report/${rawDataReportId}/result/json?paginationTimeout=60&limit=100`, { headers: { Authorization: optimizeBearerToken } });
170
169
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -176,8 +175,7 @@ _8_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
176
175
  (0, test_1.expect)(Array.isArray(body.data)).toBeTruthy();
177
176
  });
178
177
  });
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, }) => {
178
+ (0, _8_11_1.test)('Export report result data without pagination params returns 200', async ({ request, }) => {
181
179
  await _8_11_1.test.step('GET export result with optional query params omitted (200)', async () => {
182
180
  const response = await request.get(`${baseUrl}/api/public/export/report/${numberReportId}/result/json`, { headers: { Authorization: optimizeBearerToken } });
183
181
  await (0, apiHelpers_1.assertResponseStatus)(response, 200);
@@ -197,15 +195,13 @@ _8_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
197
195
  await assertUnauthorizedResponseBody(response);
198
196
  });
199
197
  });
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, }) => {
198
+ (0, _8_11_1.test)('Export result data for non-existent report is rejected (404; SaaS may respond 500)', async ({ request, }) => {
202
199
  await _8_11_1.test.step('GET export result for missing report (404 or 500)', async () => {
203
200
  const response = await request.get(`${baseUrl}/api/public/export/report/11111111-1111-1111-1111-111111111111/result/json?paginationTimeout=60&limit=100`, { headers: { Authorization: optimizeBearerToken } });
204
201
  (0, test_1.expect)([404, 500]).toContain(response.status());
205
202
  });
206
203
  });
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 }) => {
204
+ (0, _8_11_1.test)('Enable, evaluate and delete a report share', async ({ request }) => {
209
205
  let reportShareId = '';
210
206
  await _8_11_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
211
207
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -250,8 +246,7 @@ _8_11_1.test.describe('API Optimize Sharing, Alerts & Export Tests @optimize-sha
250
246
  await assertUnauthorizedResponseBody(response);
251
247
  });
252
248
  });
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 }) => {
249
+ (0, _8_11_1.test)('Enable and delete a dashboard share', async ({ request }) => {
255
250
  let dashboardShareId = '';
256
251
  await _8_11_1.test.step('Ensure sharing is enabled cluster-wide', async () => {
257
252
  await (0, apiHelpers_1.setOptimizeSharing)(request, {
@@ -138,8 +138,7 @@ _8_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
138
138
  });
139
139
  }
140
140
  });
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, }) => {
141
+ (0, _8_11_1.test)('Enable report sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
143
142
  await _8_11_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
144
143
  // The apps-menu hand-off starts an OIDC round trip, and when
145
144
  // Optimize's /sso-callback answers 401 the tab is left on a blank
@@ -160,8 +159,7 @@ _8_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
160
159
  await optimizeSharePage.disableSharing();
161
160
  });
162
161
  });
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, }) => {
162
+ (0, _8_11_1.test)('Report offers a CSV download/export action', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
165
163
  await _8_11_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
166
164
  // The apps-menu hand-off starts an OIDC round trip, and when
167
165
  // Optimize's /sso-callback answers 401 the tab is left on a blank
@@ -177,8 +175,7 @@ _8_11_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
177
175
  await optimizeSharePage.assertDownloadOptionAvailable();
178
176
  });
179
177
  });
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, }) => {
178
+ (0, _8_11_1.test)('Enable dashboard sharing and expose a public share link', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
182
179
  await _8_11_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
183
180
  // Same retrying opener as the two tests above, for the same reason: a
184
181
  // /sso-callback that answers 401 leaves the tab on a blank page that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1704",
3
+ "version": "0.0.1706",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",