@camunda/e2e-test-suite 0.0.892 → 0.0.894

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.
@@ -103,28 +103,41 @@ class ModelerHomePage {
103
103
  });
104
104
  }
105
105
  async enterNewProjectName(name) {
106
- for (let attempt = 0; attempt < 3; attempt++) {
107
- try {
108
- await (0, test_1.expect)(this.projectNameInput.first()).toBeVisible({
109
- timeout: 90000,
110
- });
111
- await this.projectNameInput
112
- .first()
113
- .click({ timeout: 60000, force: true });
114
- await this.projectNameInput.first().fill(name);
115
- await this.projectNameInput.first().press('Enter');
106
+ // The inline rename silently drops the value when the editable title field
107
+ // is not yet in edit mode as fill() runs, leaving the project named
108
+ // "New project". Re-enter until the field reflects the requested name.
109
+ //
110
+ // Once the rename commits, the editable input unmounts and the name
111
+ // renders as static text: on the projects list as a `[title="<name>"]`
112
+ // link, and on the project detail page (where this inline rename runs) as
113
+ // the breadcrumb project button's text. Treat either committed-name
114
+ // rendering as success, and confirm it reflects the PERSISTED state (the
115
+ // breadcrumb can optimistically show the typed name then revert to
116
+ // "New project"), so verify after a reload.
117
+ const committedProjectName = this.page
118
+ .getByTitle(name, { exact: true })
119
+ .or(this.page
120
+ .locator('[data-test="breadcrumb-project-menu"]')
121
+ .filter({ hasText: name }));
122
+ await (0, test_1.expect)(async () => {
123
+ if (await committedProjectName.first().isVisible()) {
116
124
  return;
117
125
  }
118
- catch (error) {
119
- if (attempt >= 2) {
120
- throw error;
121
- }
122
- await this.dismissOverlays();
123
- await this.page.reload({ waitUntil: 'domcontentloaded' });
124
- await this.page.waitForLoadState('domcontentloaded');
125
- await this.clickCreateNewProjectButton();
126
- }
127
- }
126
+ await this.projectNameInput.first().click({ timeout: 15000 });
127
+ await this.projectNameInput.first().fill(name);
128
+ // Confirm the value actually landed in the edit field before committing;
129
+ // if fill() ran before edit mode was active the input stays empty/default
130
+ // and this fails, so toPass retries with a fresh click.
131
+ await (0, test_1.expect)(this.projectNameInput.first()).toHaveValue(name, {
132
+ timeout: 5000,
133
+ });
134
+ await this.projectNameInput.first().press('Enter');
135
+ await (0, sleep_1.sleep)(1000);
136
+ // Reload so the check reflects the PERSISTED server state, not the
137
+ // optimistic client render that can silently revert to "New project".
138
+ await this.page.reload();
139
+ await (0, test_1.expect)(committedProjectName.first()).toBeVisible({ timeout: 15000 });
140
+ }).toPass({ timeout: 120000 });
128
141
  }
129
142
  async enterIdpApplicationName(name) {
130
143
  await this.idpApplicationNameInput.click({ timeout: 60000 });
@@ -35,7 +35,7 @@ _8_8_1.test.describe('User Roles User Flow', () => {
35
35
  await (0, _setup_1.captureScreenshot)(page, testInfo);
36
36
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
37
37
  });
38
- //Skipped due to bug 39350: https://github.com/camunda/camunda/issues/39350
38
+ // Skipped due to bug #58514: https://github.com/camunda/camunda/issues/58514
39
39
  _8_8_1.test.skip('Modeler Role User Flow', async ({ page, modelerHomePage, appsPage, homePage, clusterPage, clusterDetailsPage, context, consoleOrganizationsPage, settingsPage, operateHomePage, ocIdentityHomePage, taskPanelPage, optimizeHomePage, modelerCreatePage, }) => {
40
40
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
41
41
  const processName = 'User Roles User Flow' + randomString;
@@ -405,7 +405,6 @@ _8_8_1.test.describe('Web Modeler User Flow Tests', () => {
405
405
  await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000, false, 5);
406
406
  });
407
407
  });
408
- //Skipped due to bug 22577: https://github.com/camunda/camunda-hub/issues/22577
409
408
  (0, _8_8_1.test)('Public Start Form @tasklistV1', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, taskDetailsPage, taskPanelPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, browser, }) => {
410
409
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
411
410
  const processName = 'User_Task_Process_With_Public_Form' + randomString;
@@ -116,7 +116,8 @@ if (process.env.IS_DS === 'true') {
116
116
  await operateProcessInstancePage.assertProcessVariableContainsText('Upload_Files', 'aws');
117
117
  });
118
118
  });
119
- (0, SM_8_10_1.test)('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, navigationPage, modelerHomePage, modelerCreatePage, operateHomePage, operateProcessesPage, connectorMarketplacePage, operateProcessInstancePage, ocIdentityHomePage, ocIdentityRolesPage, }) => {
119
+ // Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
120
+ SM_8_10_1.test.skip('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, navigationPage, modelerHomePage, modelerCreatePage, operateHomePage, operateProcessesPage, connectorMarketplacePage, operateProcessInstancePage, ocIdentityHomePage, ocIdentityRolesPage, }) => {
120
121
  const processName = 'Document_Handling_Connectors_User_Flow_AWS_Process' +
121
122
  (await (0, _setup_1.generateRandomStringAsync)(3));
122
123
  const baseURL = process.env.PLAYWRIGHT_BASE_URL ||
@@ -127,7 +127,8 @@ if (process.env.IS_MT === 'true') {
127
127
  }
128
128
  });
129
129
  });
130
- (0, SM_8_10_1.test)('Main User Can Create & Access Tenant - Connectors Flow @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, optimizeHomePage, optimizeDashboardPage, ocIdentityHomePage, ocTenantPage, }) => {
130
+ // Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
131
+ SM_8_10_1.test.skip('Main User Can Create & Access Tenant - Connectors Flow @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, optimizeHomePage, optimizeDashboardPage, ocIdentityHomePage, ocTenantPage, }) => {
131
132
  SM_8_10_1.test.slow();
132
133
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
133
134
  const processName = 'Main_User_Connectors_Flow_' + randomString;
@@ -259,7 +260,8 @@ if (process.env.IS_MT === 'true') {
259
260
  });
260
261
  }
261
262
  });
262
- (0, SM_8_10_1.test)('Second User Can Access Tenant Created By Main User - Connectors Flow @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, optimizeHomePage, optimizeDashboardPage, ocIdentityHomePage, ocTenantPage, managementIdentityPage, keycloakAdminPage, keycloakLoginPage, ocIdentityRolesPage, ocIdentityMappingRulesPage, browser, }) => {
263
+ // Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
264
+ SM_8_10_1.test.skip('Second User Can Access Tenant Created By Main User - Connectors Flow @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, optimizeHomePage, optimizeDashboardPage, ocIdentityHomePage, ocTenantPage, managementIdentityPage, keycloakAdminPage, keycloakLoginPage, ocIdentityRolesPage, ocIdentityMappingRulesPage, browser, }) => {
263
265
  SM_8_10_1.test.slow();
264
266
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
265
267
  const processName = 'Second_User_Connectors_Flow_' + randomString;
@@ -388,7 +390,8 @@ if (process.env.IS_MT === 'true') {
388
390
  });
389
391
  }
390
392
  });
391
- (0, SM_8_10_1.test)('User Can Be Assigned To Multiple Tenants @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, ocIdentityHomePage, ocTenantPage, managementIdentityPage, }) => {
393
+ // Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
394
+ SM_8_10_1.test.skip('User Can Be Assigned To Multiple Tenants @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, operateProcessInstancePage, operateProcessesPage, operateHomePage, navigationPage, managementIdentityTenantPage, connectorSettingsPage, connectorMarketplacePage, ocIdentityHomePage, ocTenantPage, managementIdentityPage, }) => {
392
395
  SM_8_10_1.test.slow();
393
396
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
394
397
  const processName1 = 'Multiple_Tenant_Flow_1' + randomString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.892",
3
+ "version": "0.0.894",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",