@camunda/e2e-test-suite 0.0.1693 → 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.
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|