@camunda/e2e-test-suite 0.0.991 → 0.0.993

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.
@@ -48,7 +48,7 @@ class ManagementIdentityPage {
48
48
  .filter({ hasText: 'Optimize (Grants full access to Optimize)' });
49
49
  this.modelerCheckbox = page
50
50
  .locator('label')
51
- .filter({ hasText: 'Web Modeler (Grants full access to Web Modeler)' });
51
+ .filter({ hasText: 'Hub (Grants full access to Hub)' });
52
52
  this.identityCheckbox = page.locator('label').filter({
53
53
  hasText: 'ManagementIdentity (Provides full access to Management Identity)',
54
54
  });
@@ -61,7 +61,7 @@ class ManagementIdentityPage {
61
61
  this.licenseKeyTagProduction = page.getByText('Production license').first();
62
62
  this.licenseKeyTagCommercial = page.getByText('Commercial license');
63
63
  this.modelerAdminCheckbox = page.locator('label').filter({
64
- hasText: 'Web Modeler Admin (Grants elevated access to Web Modeler)',
64
+ hasText: 'Hub Admin (Grants elevated access to Hub)',
65
65
  });
66
66
  this.openSidebarButton = page.getByLabel('Open User Sidebar');
67
67
  this.logoutButton = page.getByRole('button', { name: 'Log out' });
@@ -95,23 +95,19 @@ class ManagementIdentityPage {
95
95
  await this.demoUser.click({ timeout: 180000 });
96
96
  }
97
97
  async clickDeleteAccessButton(accessToDelete) {
98
- try {
99
- await this.page
100
- .locator('td:right-of(:text("' + accessToDelete + '"))')
101
- .first()
102
- .click({ timeout: 60000 });
103
- }
104
- catch {
105
- console.log('Access already deleted');
106
- }
98
+ const roleRow = this.page
99
+ .locator(':text("' + accessToDelete + '")')
100
+ .first();
101
+ await (0, test_1.expect)(roleRow, `No assigned role matching "${accessToDelete}" was found. The role may ` +
102
+ `already be removed, or its label may have changed in this version.`).toBeVisible({ timeout: 60000 });
103
+ await this.page
104
+ .locator('td:right-of(:text("' + accessToDelete + '"))')
105
+ .first()
106
+ .click({ timeout: 60000 });
107
107
  }
108
108
  async clickConfirmDeleteButton() {
109
- try {
110
- await this.confirmDeleteButton.click();
111
- }
112
- catch {
113
- console.log('Access already deleted');
114
- }
109
+ await (0, test_1.expect)(this.confirmDeleteButton, 'The delete-role confirmation dialog did not appear.').toBeVisible({ timeout: 60000 });
110
+ await this.confirmDeleteButton.click();
115
111
  }
116
112
  async clickAssignRolesButton() {
117
113
  await this.assignRolesButton.click();
@@ -52,8 +52,8 @@ SM_8_10_1.test.describe('Identity User Flow Tests', () => {
52
52
  await managementIdentityPage.clickConfirmDeleteButton();
53
53
  });
54
54
  }
55
- await SM_8_10_1.test.step('Remove Access from Web Modeler', async () => {
56
- await managementIdentityPage.clickDeleteAccessButton('Grants full access to Web Modeler');
55
+ await SM_8_10_1.test.step('Remove Access from Hub', async () => {
56
+ await managementIdentityPage.clickDeleteAccessButton('Grants full access to Hub');
57
57
  await managementIdentityPage.clickConfirmDeleteButton();
58
58
  });
59
59
  await SM_8_10_1.test.step('Reset Session', async () => {
@@ -107,8 +107,7 @@ SM_8_10_1.test.describe('Identity User Flow Tests', () => {
107
107
  });
108
108
  });
109
109
  });
110
- // Skipped due to bug #60139: https://github.com/camunda/camunda/issues/60139
111
- SM_8_10_1.test.skip('User Roles User Flow on Orchestration Cluster', async ({ page, navigationPage, ocIdentityMappingRulesPage, ocIdentityHomePage, ocIdentityRolesPage, taskPanelPage, operateHomePage, settingsPage, browser, keycloakLoginPage, keycloakAdminPage, managementIdentityPage, }) => {
110
+ (0, SM_8_10_1.test)('User Roles User Flow on Orchestration Cluster', async ({ page, navigationPage, ocIdentityMappingRulesPage, ocIdentityHomePage, ocIdentityRolesPage, taskPanelPage, operateHomePage, settingsPage, browser, keycloakLoginPage, keycloakAdminPage, managementIdentityPage, }) => {
112
111
  if (node_process_1.default.env.IS_RBA === 'true' ||
113
112
  node_process_1.default.env.IS_MT === 'true' ||
114
113
  node_process_1.default.env.IS_LICENSE_KEY === 'true') {
@@ -37,8 +37,7 @@ SM_8_10_1.test.describe.parallel('Smoke Tests', () => {
37
37
  await navigationPage.goToManagementIdentity(1000);
38
38
  console.log(`[${testInfo.title}] Test end: timeout = ${testInfo.timeout}`);
39
39
  });
40
- // Skipped due to bug #60833: https://github.com/camunda/camunda/issues/60833
41
- SM_8_10_1.test.skip('Basic Navigation', async ({ context, navigationPage }, testInfo) => {
40
+ (0, SM_8_10_1.test)('Basic Navigation', async ({ context, navigationPage }, testInfo) => {
42
41
  console.log(`[${testInfo.title}] Test start: timeout = ${testInfo.timeout}`);
43
42
  await SM_8_10_1.test.step('Assert Web Modeler Navigation', async () => {
44
43
  await context.clearCookies();
@@ -64,8 +63,7 @@ SM_8_10_1.test.describe.parallel('Smoke Tests', () => {
64
63
  }
65
64
  console.log(`[${testInfo.title}] Test end: timeout = ${testInfo.timeout}`);
66
65
  });
67
- // Skipped due to bug #60833: https://github.com/camunda/camunda/issues/60833
68
- SM_8_10_1.test.skip('Most Common Flow User Flow With All Apps', async ({ page, modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, operateProcessInstancePage, optimizeHomePage, optimizeCollectionsPage, optimizeReportPage, taskDetailsPage, taskPanelPage, }, testInfo) => {
66
+ (0, SM_8_10_1.test)('Most Common Flow User Flow With All Apps', async ({ page, modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, operateProcessInstancePage, optimizeHomePage, optimizeCollectionsPage, optimizeReportPage, taskDetailsPage, taskPanelPage, }, testInfo) => {
69
67
  console.log(`[${testInfo.title}] Test start: timeout = ${testInfo.timeout}`);
70
68
  const randomName = await (0, _setup_1.generateRandomStringAsync)(3);
71
69
  const processName = 'Zeebe_User_Task_Process' + randomName;
@@ -173,8 +173,7 @@ SM_8_10_1.test.describe('Web Modeler User Flow Tests', () => {
173
173
  await operateProcessInstancePage.assertProcessVariableContainsText('amount', '185.34');
174
174
  });
175
175
  });
176
- // Skipped due to bug #60833: https://github.com/camunda/camunda/issues/60833
177
- SM_8_10_1.test.skip('Conditional Events - Deploy, verify in Operate and verify process in Optimize dashboard @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, navigationPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, optimizeHomePage, optimizeDashboardPage, }) => {
176
+ (0, SM_8_10_1.test)('Conditional Events - Deploy, verify in Operate and verify process in Optimize dashboard @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, navigationPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, optimizeHomePage, optimizeDashboardPage, }) => {
178
177
  SM_8_10_1.test.slow();
179
178
  const bpmnFileName = 'Conditional_Events_All.bpmn';
180
179
  const processName = 'Conditional Events Auto-Run';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.991",
3
+ "version": "0.0.993",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",