@camunda/e2e-test-suite 0.0.1116 → 0.0.1118

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.
@@ -224,11 +224,20 @@ class IdpCreatePage {
224
224
  await this.idpExtractionTemplateName.fill(name);
225
225
  }
226
226
  async clickCreateIdpClassificationTemplateButton() {
227
- await this.createNewDropdownButton.click({ timeout: 60000 });
228
- await (0, test_1.expect)(this.createClassificationTemplateOption).toBeVisible({
229
- timeout: 10000,
230
- });
231
- await this.createClassificationTemplateOption.click({ timeout: 60000 });
227
+ for (let attempt = 0; attempt < 3; attempt++) {
228
+ await this.createNewDropdownButton.click({ timeout: 60000 });
229
+ try {
230
+ await (0, test_1.expect)(this.createClassificationTemplateOption).toBeVisible({
231
+ timeout: 10000,
232
+ });
233
+ await this.createClassificationTemplateOption.click({ timeout: 10000 });
234
+ return;
235
+ }
236
+ catch {
237
+ // menu did not open, or item detached before the click; retry
238
+ }
239
+ }
240
+ throw new Error('Failed to click create classification template option after 3 attempts');
232
241
  }
233
242
  async fillIdpClassificationTemplateName(name) {
234
243
  await this.idpClassificationTemplateName.fill(name);
@@ -184,8 +184,7 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
184
184
  await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
185
185
  });
186
186
  });
187
- // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
188
- _8_10_1.test.skip('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
187
+ (0, _8_10_1.test)('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
189
188
  _8_10_1.test.slow();
190
189
  const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
191
190
  await _8_10_1.test.step('Navigate to Connectors Secrets', async () => {
@@ -238,8 +237,7 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
238
237
  });
239
238
  });
240
239
  });
241
- // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
242
- _8_10_1.test.skip('Connector Secrets User Flow - AWS', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
240
+ (0, _8_10_1.test)('Connector Secrets User Flow - AWS', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
243
241
  _8_10_1.test.slow();
244
242
  const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
245
243
  await _8_10_1.test.step('Navigate to Web Modeler', async () => {
@@ -69,7 +69,12 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
69
69
  });
70
70
  _8_10_1.test.describe('Unstructured Extraction', () => {
71
71
  for (const params of unstructuredTestCases) {
72
- // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
72
+ // Still fails after bug #8500 was fixed -- that bug was specifically
73
+ // about outbound REST connectors + {{secrets.*}} masking, unrelated to
74
+ // this symptom: "Save as test case" never becomes enabled after
75
+ // extraction is triggered (120s timeout, both attempt and retry, same
76
+ // for AWS and GCP -- see PR #3348 run 34109991740). Mis-attributed to
77
+ // #8500 originally; needs its own bug filed before unskipping again.
73
78
  _8_10_1.test.skip(`${params.provider} unstructured (${params.model}) - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
74
79
  _8_10_1.test.slow();
75
80
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Application_Name');
@@ -145,7 +150,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
145
150
  });
146
151
  _8_10_1.test.describe('Structured Extraction', () => {
147
152
  for (const params of structuredTestCases) {
148
- // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
153
+ // Same still-open issue as Unstructured Extraction above -- see that
154
+ // comment. Not bug #8500.
149
155
  _8_10_1.test.skip(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
150
156
  _8_10_1.test.slow();
151
157
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Application_Name');
@@ -228,8 +234,7 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
228
234
  });
229
235
  _8_10_1.test.describe('Classification Template', () => {
230
236
  for (const params of classificationTestCases) {
231
- // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
232
- _8_10_1.test.skip(`${params.provider} classification - User creates an idp application with a classification template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
237
+ (0, _8_10_1.test)(`${params.provider} classification - User creates an idp application with a classification template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
233
238
  _8_10_1.test.slow();
234
239
  const idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` + ' - IDP_Application_Name');
235
240
  const idpClassificationTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1116",
3
+ "version": "0.0.1118",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",