@camunda/e2e-test-suite 0.0.955 → 0.0.957

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.
@@ -222,7 +222,8 @@ _8_7_1.test.describe('RBA Enabled User Flows Test', () => {
222
222
  await (0, UtilitiesPage_1.assertPageTextWithRetry)(page, processName2, true, 30000);
223
223
  });
224
224
  });
225
- (0, _8_7_1.test)('RBA On User Flow - Permission for All Processes', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, taskPanelPage, taskProcessesPage, operateHomePage, consoleOrganizationsPage, }) => {
225
+ // Skipped due to bug #56733: https://github.com/camunda/camunda/issues/56733
226
+ _8_7_1.test.skip('RBA On User Flow - Permission for All Processes', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, taskPanelPage, taskProcessesPage, operateHomePage, consoleOrganizationsPage, }) => {
226
227
  _8_7_1.test.slow();
227
228
  const clusterName = clusterNames['RBA On User Flow - Permission for All Processes'];
228
229
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
@@ -248,15 +248,27 @@ _8_8_1.test.describe('API optimize SaaS Tests', () => {
248
248
  const status = response.status();
249
249
  (0, test_1.expect)(status).toBe(401);
250
250
  });
251
- // Skipped due to bug 40497: https://github.com/camunda/camunda/issues/40497
252
- _8_8_1.test.skip('Import to non-existent collection (404)', async ({ request }) => {
251
+ (0, _8_8_1.test)('Import to non-existent collection (404)', async ({ request }) => {
252
+ // Export inline rather than reusing `exportedEntities`: this file runs in
253
+ // `mode: 'parallel'`, so the variable populated by 'Import entities
254
+ // successfully (200)' is undefined in this worker. An empty body makes the
255
+ // endpoint fail before the collection lookup, returning 500 not 404.
256
+ const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
257
+ headers: {
258
+ Authorization: optimizeBearerToken,
259
+ 'Content-Type': 'application/json',
260
+ },
261
+ data: [dashboardIdValue],
262
+ });
263
+ await (0, apiHelpers_1.assertResponseStatus)(exportResponse, 200);
264
+ const entitiesToImport = await exportResponse.json();
253
265
  const fakeCollectionId = 'nonexistent-collection-id';
254
266
  const response = await request.post(`${baseUrl}/api/public/import?collectionId=${fakeCollectionId}`, {
255
267
  headers: {
256
268
  Authorization: optimizeBearerToken,
257
269
  'Content-Type': 'application/json',
258
270
  },
259
- data: exportedEntities,
271
+ data: entitiesToImport,
260
272
  });
261
273
  const status = response.status();
262
274
  (0, test_1.expect)(status).toBe(404);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.955",
3
+ "version": "0.0.957",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",