@camunda/e2e-test-suite 0.0.173 → 0.0.175

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.
@@ -313,8 +313,8 @@ class ClusterDetailsPage {
313
313
  for (const component of components) {
314
314
  await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.page.getByText(`${component}Healthy`, { exact: true }), {
315
315
  visibilityTimeout: 60000,
316
- totalTimeout: 300000,
317
- maxRetries: 5,
316
+ totalTimeout: 400000,
317
+ maxRetries: 6,
318
318
  });
319
319
  }
320
320
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Authorization = void 0;
4
4
  const test_1 = require("@playwright/test");
5
5
  const UtilitiesPage_1 = require("../SM-8.9/UtilitiesPage");
6
+ const sleep_1 = require("../../utils/sleep");
6
7
  class Authorization {
7
8
  page;
8
9
  selectResourceTypeTab;
@@ -95,6 +96,7 @@ class Authorization {
95
96
  await this.createAuthorizationResourceTypeOption(authorization.resourceType).click({ timeout: 30000 });
96
97
  await this.createAuthorizationResourceIdField.fill(authorization.resourceId);
97
98
  for (const permission of authorization.accessPermissions) {
99
+ await (0, sleep_1.sleep)(200);
98
100
  await (0, test_1.expect)(await this.createAuthorizationAccessPermission(permission)).toBeVisible();
99
101
  if (!(await this.createAuthorizationAccessPermission(permission).isChecked())) {
100
102
  await this.createAuthorizationAccessPermission(permission).click({
@@ -9,6 +9,7 @@ const resetSession_1 = require("../../utils/resetSession");
9
9
  const roleAuthorizations_1 = require("../../utils/roleAuthorizations");
10
10
  const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWithRetry");
11
11
  const users_1 = require("../../utils/users");
12
+ const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
12
13
  const mainUser = (0, users_1.getTestUser)('twentyFifthUser');
13
14
  _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
14
15
  const clusterNames = {
@@ -78,6 +79,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
78
79
  });
79
80
  });
80
81
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
82
+ await homePage.clickSkipCustomization();
81
83
  await modelerHomePage.createCrossComponentProjectFolder();
82
84
  });
83
85
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
@@ -202,6 +204,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
202
204
  });
203
205
  });
204
206
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
207
+ await homePage.clickSkipCustomization();
205
208
  await modelerHomePage.createCrossComponentProjectFolder();
206
209
  });
207
210
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
@@ -229,8 +232,11 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
229
232
  await _8_8_1.test.step('Navigate to Tasklist and Both Processes Are Accessible', async () => {
230
233
  await appsPage.clickCamundaApps();
231
234
  await appsPage.clickTasklist(clusterName);
232
- await (0, test_1.expect)(taskPanelPage.taskListPageBanner).toBeVisible({
233
- timeout: 30000,
235
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, taskPanelPage.taskListPageBanner, {
236
+ visibilityTimeout: 20000,
237
+ postAction: async () => {
238
+ await page.reload();
239
+ },
234
240
  });
235
241
  await taskPanelPage.clickProcessesTab();
236
242
  await taskProcessesPage.clickpopupContinueButton();
@@ -407,6 +413,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
407
413
  });
408
414
  });
409
415
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
416
+ await homePage.clickSkipCustomization();
410
417
  await modelerHomePage.createCrossComponentProjectFolder();
411
418
  });
412
419
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
@@ -80,6 +80,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () => {
80
80
  });
81
81
  });
82
82
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
83
+ await homePage.clickSkipCustomization();
83
84
  await modelerHomePage.createCrossComponentProjectFolder();
84
85
  });
85
86
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
@@ -184,6 +185,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () => {
184
185
  });
185
186
  });
186
187
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
188
+ await homePage.clickSkipCustomization();
187
189
  await modelerHomePage.createCrossComponentProjectFolder();
188
190
  });
189
191
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
@@ -394,6 +396,7 @@ _8_8_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () => {
394
396
  });
395
397
  });
396
398
  await _8_8_1.test.step('Navigate to Cross Component Test Project', async () => {
399
+ await homePage.clickSkipCustomization();
397
400
  await modelerHomePage.createCrossComponentProjectFolder();
398
401
  });
399
402
  await _8_8_1.test.step('Create Two BPMN Diagrams with User Task and Start Process Instance', async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.173",
3
+ "version": "0.0.175",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",