@camunda/e2e-test-suite 0.0.996 → 0.0.998

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.
@@ -70,7 +70,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
70
70
  });
71
71
  _8_10_1.test.describe('AI Agent connector - provider user tests flow', () => {
72
72
  for (const params of aiAgentTestCases) {
73
- (0, _8_10_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
73
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
74
+ _8_10_1.test.skip(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
74
75
  _8_10_1.test.slow();
75
76
  const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
76
77
  if (processKey == null) {
@@ -109,7 +110,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
109
110
  });
110
111
  _8_10_1.test.describe('AI Agent sub process - provider user tests flow', () => {
111
112
  for (const params of aiAgentSubProcessTestCases) {
112
- (0, _8_10_1.test)(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
113
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
114
+ _8_10_1.test.skip(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
113
115
  _8_10_1.test.slow();
114
116
  const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
115
117
  if (processKey == null) {
@@ -148,7 +150,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
148
150
  });
149
151
  _8_10_1.test.describe('DB Vector Connector User Flow Tests', () => {
150
152
  for (const params of dbVectorTestCases) {
151
- (0, _8_10_1.test)(`DB Vector connector embed via ${params.embedding_provider} and stored on ${params.embedding_store} with source as plain text`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
153
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
154
+ _8_10_1.test.skip(`DB Vector connector embed via ${params.embedding_provider} and stored on ${params.embedding_store} with source as plain text`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
152
155
  _8_10_1.test.slow();
153
156
  const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
154
157
  if (processKey == null) {
@@ -66,7 +66,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
66
66
  await (0, _setup_1.captureScreenshot)(page, testInfo);
67
67
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
68
68
  });
69
- (0, _8_10_1.test)('AWS Bedrock AgentCore LTM - Retrieve memory records', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
69
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
70
+ _8_10_1.test.skip('AWS Bedrock AgentCore LTM - Retrieve memory records', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
70
71
  _8_10_1.test.slow();
71
72
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/bedrock-agentcore-ltm.bpmn', authToken);
72
73
  if (processKey == null) {
@@ -90,7 +91,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
90
91
  await operateProcessInstancePage.assertProcessVariableContainsText('agentcoreResult', 'nextToken');
91
92
  });
92
93
  });
93
- (0, _8_10_1.test)('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
94
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
95
+ _8_10_1.test.skip('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
94
96
  _8_10_1.test.slow();
95
97
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/bedrock-knowledge-base.bpmn', authToken);
96
98
  if (processKey == null) {
@@ -110,7 +112,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
110
112
  await operateProcessInstancePage.assertProcessVariableContainsText('retrievedChunks', 'sourceUri');
111
113
  });
112
114
  });
113
- (0, _8_10_1.test)('AWS AgentCore Runtime - Invoke deployed agent and receive response', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
115
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
116
+ _8_10_1.test.skip('AWS AgentCore Runtime - Invoke deployed agent and receive response', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
114
117
  _8_10_1.test.slow();
115
118
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/agentcore-runtime.bpmn', authToken);
116
119
  if (processKey == null) {
@@ -130,7 +133,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
130
133
  // IAM: bedrock-agentcore:StartCodeInterpreterSession,
131
134
  // bedrock-agentcore:InvokeCodeInterpreter,
132
135
  // bedrock-agentcore:StopCodeInterpreterSession on Resource: *
133
- (0, _8_10_1.test)('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
136
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
137
+ _8_10_1.test.skip('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
134
138
  _8_10_1.test.slow();
135
139
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/agentcore-code-interpreter.bpmn', authToken);
136
140
  if (processKey == null) {
@@ -168,7 +168,8 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
168
168
  await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
169
169
  });
170
170
  });
171
- (0, _8_10_1.test)('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
171
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
172
+ _8_10_1.test.skip('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
172
173
  _8_10_1.test.slow();
173
174
  const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
174
175
  await _8_10_1.test.step('Navigate to Connectors Secrets', async () => {
@@ -221,7 +222,8 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
221
222
  });
222
223
  });
223
224
  });
224
- (0, _8_10_1.test)('Connector Secrets User Flow - AWS', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
225
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
226
+ _8_10_1.test.skip('Connector Secrets User Flow - AWS', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
225
227
  _8_10_1.test.slow();
226
228
  const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
227
229
  await _8_10_1.test.step('Navigate to Web Modeler', async () => {
@@ -69,7 +69,8 @@ _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
- (0, _8_10_1.test)(`${params.provider} unstructured (${params.model}) - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
72
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
73
+ _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, }) => {
73
74
  _8_10_1.test.slow();
74
75
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Application_Name');
75
76
  idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Extraction_Template_Name');
@@ -141,7 +142,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
141
142
  });
142
143
  _8_10_1.test.describe('Structured Extraction', () => {
143
144
  for (const params of structuredTestCases) {
144
- (0, _8_10_1.test)(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
145
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
146
+ _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, }) => {
145
147
  _8_10_1.test.slow();
146
148
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Application_Name');
147
149
  idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Extraction_Template_Name');
@@ -220,7 +222,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
220
222
  });
221
223
  _8_10_1.test.describe('Classification Template', () => {
222
224
  for (const params of classificationTestCases) {
223
- (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, }) => {
225
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
226
+ _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, }) => {
224
227
  _8_10_1.test.slow();
225
228
  const idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` + ' - IDP_Application_Name');
226
229
  const idpClassificationTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` +
@@ -51,7 +51,8 @@ _8_10_1.test.describe('Orchestration Cluster MCP Server - Cluster Tools @tasklis
51
51
  },
52
52
  ];
53
53
  for (const testCase of clusterToolTests) {
54
- (0, _8_10_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
54
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
55
+ _8_10_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
55
56
  _8_10_1.test.slow();
56
57
  await _8_10_1.test.step('Navigate to completed process in Operate', async () => {
57
58
  await homePage.clickClusters();
@@ -99,7 +99,8 @@ _8_10_1.test.describe('Orchestration Cluster MCP Server - Incident Tools @taskli
99
99
  },
100
100
  ];
101
101
  for (const testCase of incidentToolTests) {
102
- (0, _8_10_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
102
+ // Skipped due to bug #8441: https://github.com/camunda/connectors/issues/8441
103
+ _8_10_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
103
104
  _8_10_1.test.slow();
104
105
  await _8_10_1.test.step('Navigate to completed process in Operate', async () => {
105
106
  await homePage.clickClusters();
@@ -110,13 +110,30 @@ async function findClusterByName(page, clusterName) {
110
110
  return clusters.find((c) => c.name === clusterName);
111
111
  }
112
112
  async function deleteClusterViaApi(page, clusterName) {
113
- const cluster = await findClusterByName(page, clusterName);
114
- if (!cluster)
115
- return;
116
113
  const token = await getUserToken(page);
117
114
  const orgId = getOrgId();
118
- await page.request.delete(`${getConsoleBaseUrl()}/api/orgs/${orgId}/clusters/${cluster.uuid}`, { headers: { Authorization: `Bearer ${token}` } });
119
- await (0, sleep_1.sleep)(5000);
115
+ const deadline = Date.now() + 180000;
116
+ // Re-deleting a cluster that is already terminating can answer 409/400.
117
+ const deleteIssued = new Set();
118
+ // Loop until no cluster carries this name: there can be more than one, and
119
+ // deletion is asynchronous. Leaving one behind means the caller's create adds
120
+ // a duplicate, which breaks clickClusterLink in strict mode.
121
+ while (Date.now() < deadline) {
122
+ const cluster = await findClusterByName(page, clusterName);
123
+ if (!cluster)
124
+ return;
125
+ if (!deleteIssued.has(cluster.uuid)) {
126
+ const response = await page.request.delete(`${getConsoleBaseUrl()}/api/orgs/${orgId}/clusters/${cluster.uuid}`, { headers: { Authorization: `Bearer ${token}` } });
127
+ if (!response.ok() && response.status() !== 404) {
128
+ throw new Error(`Failed to delete cluster "${clusterName}" (${cluster.uuid}): ` +
129
+ `HTTP ${response.status()} - ${await response.text()}`);
130
+ }
131
+ deleteIssued.add(cluster.uuid);
132
+ }
133
+ await (0, sleep_1.sleep)(5000);
134
+ }
135
+ throw new Error(`Cluster "${clusterName}" still listed after 180s; creating another would ` +
136
+ `leave duplicates.`);
120
137
  }
121
138
  exports.deleteClusterViaApi = deleteClusterViaApi;
122
139
  function resolveMinorVersion() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.996",
3
+ "version": "0.0.998",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",