@camunda/e2e-test-suite 0.0.1760 → 0.0.1762

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.
@@ -58,36 +58,48 @@ async function waitForUserTaskKeys(processInstanceKey, maxAttempts = 120, retryD
58
58
  throw new Error(`No user task for process instance ${processInstanceKey} after ${maxAttempts} attempts`);
59
59
  }
60
60
  const aiAgentTestCases = [
61
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
61
62
  {
62
63
  provider: 'openAI',
64
+ skipped: true,
63
65
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn',
64
66
  },
67
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
65
68
  {
66
69
  provider: 'AWS',
70
+ skipped: true,
67
71
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn',
68
72
  },
73
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
69
74
  {
70
75
  provider: 'Azure',
76
+ skipped: true,
71
77
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn',
72
78
  },
73
79
  // Kept on the v1 element template (io.camunda.connectors.agenticai.aiagent.v1)
74
80
  // deliberately, as a guard that the v1 -> v2 mapper (camunda/connectors
75
81
  // V1ToV2ProviderConfigurationMapperImpl) keeps working for existing customers
76
82
  // still on v1, alongside the v2 migration of every other fixture in this file.
83
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
77
84
  {
78
85
  provider: 'AWS V1',
86
+ skipped: true,
79
87
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_aws_v1.bpmn',
80
88
  },
89
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
81
90
  {
82
91
  provider: 'Gemini Vertex',
92
+ skipped: true,
83
93
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_gemini_vertex.bpmn',
84
94
  },
85
95
  {
86
96
  provider: 'Anthropic Bedrock Credentials',
87
97
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_anthropic_bedrock_credentials.bpmn',
88
98
  },
99
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
89
100
  {
90
101
  provider: 'Anthropic Bedrock API Key',
102
+ skipped: true,
91
103
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_anthropic_bedrock_apikey.bpmn',
92
104
  },
93
105
  ];
@@ -165,7 +177,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
165
177
  });
166
178
  _8_10_1.test.describe('AI Agent connector - provider user tests flow', () => {
167
179
  for (const params of aiAgentTestCases) {
168
- (0, _8_10_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
180
+ const aiAgentTest = params.skipped ? _8_10_1.test.skip : _8_10_1.test;
181
+ aiAgentTest(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
169
182
  _8_10_1.test.slow();
170
183
  const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
171
184
  if (processKey == null) {
@@ -209,7 +222,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
209
222
  });
210
223
  }
211
224
  });
212
- _8_10_1.test.describe('AI Agent sub process - provider user tests flow', () => {
225
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
226
+ _8_10_1.test.describe.skip('AI Agent sub process - provider user tests flow', () => {
213
227
  for (const params of aiAgentSubProcessTestCases) {
214
228
  (0, _8_10_1.test)(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
215
229
  _8_10_1.test.slow();
@@ -249,7 +263,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
249
263
  });
250
264
  }
251
265
  });
252
- _8_10_1.test.describe('DB Vector Connector User Flow Tests', () => {
266
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
267
+ _8_10_1.test.describe.skip('DB Vector Connector User Flow Tests', () => {
253
268
  for (const params of dbVectorTestCases) {
254
269
  (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, }) => {
255
270
  _8_10_1.test.slow();
@@ -286,7 +301,8 @@ _8_10_1.test.describe('Agentic Orchestation User Flows', () => {
286
301
  });
287
302
  }
288
303
  });
289
- _8_10_1.test.describe('AI Agent reasoning in Operate', () => {
304
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
305
+ _8_10_1.test.describe.skip('AI Agent reasoning in Operate', () => {
290
306
  // Playwright requires destructured fixture arguments.
291
307
  // eslint-disable-next-line no-empty-pattern
292
308
  _8_10_1.test.afterEach(async ({}, testInfo) => {
@@ -103,7 +103,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
103
103
  await operateProcessInstancePage.assertProcessVariableContainsText('agentcoreResult', 'nextToken');
104
104
  });
105
105
  });
106
- (0, _8_10_1.test)('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
106
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
107
+ _8_10_1.test.skip('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
107
108
  _8_10_1.test.slow();
108
109
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/bedrock-knowledge-base.bpmn', authToken);
109
110
  if (processKey == null) {
@@ -143,7 +144,8 @@ _8_10_1.test.describe('AWS Connectors User Flows', () => {
143
144
  // IAM: bedrock-agentcore:StartCodeInterpreterSession,
144
145
  // bedrock-agentcore:InvokeCodeInterpreter,
145
146
  // bedrock-agentcore:StopCodeInterpreterSession on Resource: *
146
- (0, _8_10_1.test)('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
147
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
148
+ _8_10_1.test.skip('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
147
149
  _8_10_1.test.slow();
148
150
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/agentcore-code-interpreter.bpmn', authToken);
149
151
  if (processKey == null) {
@@ -68,7 +68,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
68
68
  _8_10_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
69
69
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
70
70
  });
71
- _8_10_1.test.describe('Unstructured Extraction', () => {
71
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
72
+ _8_10_1.test.describe.skip('Unstructured Extraction', () => {
72
73
  for (const params of unstructuredTestCases) {
73
74
  (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, }) => {
74
75
  _8_10_1.test.slow();
@@ -143,7 +144,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
143
144
  });
144
145
  }
145
146
  });
146
- _8_10_1.test.describe('Structured Extraction', () => {
147
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
148
+ _8_10_1.test.describe.skip('Structured Extraction', () => {
147
149
  for (const params of structuredTestCases) {
148
150
  (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, }) => {
149
151
  _8_10_1.test.slow();
@@ -225,7 +227,8 @@ _8_10_1.test.describe('IDP User Flow Tests', () => {
225
227
  });
226
228
  }
227
229
  });
228
- _8_10_1.test.describe('Classification Template', () => {
230
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
231
+ _8_10_1.test.describe.skip('Classification Template', () => {
229
232
  for (const params of classificationTestCases) {
230
233
  (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, }) => {
231
234
  _8_10_1.test.slow();
@@ -35,7 +35,8 @@ _8_10_1.test.describe('Web Modeler User Flow Tests', () => {
35
35
  await (0, mailSlurpClient_1.deleteInbox)(inboxes[testInfo.title]);
36
36
  }
37
37
  });
38
- (0, _8_10_1.test)('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, consoleOrganizationsPage, loginPage, }, testInfo) => {
38
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
39
+ _8_10_1.test.skip('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, consoleOrganizationsPage, loginPage, }, testInfo) => {
39
40
  _8_10_1.test.slow();
40
41
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
41
42
  const processName = 'User_Task_Process_With_AI_Form' + randomString;
@@ -140,7 +141,8 @@ _8_10_1.test.describe('Web Modeler User Flow Tests', () => {
140
141
  await operateTabTaskDetailsPage.clickCompleteTaskButton();
141
142
  });
142
143
  });
143
- (0, _8_10_1.test)('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
144
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
145
+ _8_10_1.test.skip('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
144
146
  _8_10_1.test.slow();
145
147
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
146
148
  const processName = 'AI-generated-Start-form' + randomString;
@@ -10,36 +10,48 @@ const users_1 = require("../../utils/users");
10
10
  const testUser = (0, users_1.getTestUser)('fourteenthUser');
11
11
  let authToken;
12
12
  const aiAgentTestCases = [
13
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
13
14
  {
14
15
  provider: 'openAI',
16
+ skipped: true,
15
17
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn',
16
18
  },
19
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
17
20
  {
18
21
  provider: 'AWS',
22
+ skipped: true,
19
23
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn',
20
24
  },
25
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
21
26
  {
22
27
  provider: 'Azure',
28
+ skipped: true,
23
29
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn',
24
30
  },
25
31
  // Kept on the v1 element template (io.camunda.connectors.agenticai.aiagent.v1)
26
32
  // deliberately, as a guard that the v1 -> v2 mapper (camunda/connectors
27
33
  // V1ToV2ProviderConfigurationMapperImpl) keeps working for existing customers
28
34
  // still on v1, alongside the v2 migration of every other fixture in this file.
35
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
29
36
  {
30
37
  provider: 'AWS V1',
38
+ skipped: true,
31
39
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_aws_v1.bpmn',
32
40
  },
41
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
33
42
  {
34
43
  provider: 'Gemini Vertex',
44
+ skipped: true,
35
45
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_gemini_vertex.bpmn',
36
46
  },
37
47
  {
38
48
  provider: 'Anthropic Bedrock Credentials',
39
49
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_anthropic_bedrock_credentials.bpmn',
40
50
  },
51
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
41
52
  {
42
53
  provider: 'Anthropic Bedrock API Key',
54
+ skipped: true,
43
55
  bpmnPath: './resources/agentic_ai/ai-agent-chat-with-tools_anthropic_bedrock_apikey.bpmn',
44
56
  },
45
57
  ];
@@ -106,7 +118,8 @@ _8_11_1.test.describe('Agentic Orchestation User Flows', () => {
106
118
  });
107
119
  _8_11_1.test.describe('AI Agent connector - provider user tests flow', () => {
108
120
  for (const params of aiAgentTestCases) {
109
- (0, _8_11_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
121
+ const aiAgentTest = params.skipped ? _8_11_1.test.skip : _8_11_1.test;
122
+ aiAgentTest(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
110
123
  _8_11_1.test.slow();
111
124
  const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
112
125
  if (processKey == null) {
@@ -144,7 +157,8 @@ _8_11_1.test.describe('Agentic Orchestation User Flows', () => {
144
157
  });
145
158
  }
146
159
  });
147
- _8_11_1.test.describe('AI Agent sub process - provider user tests flow', () => {
160
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
161
+ _8_11_1.test.describe.skip('AI Agent sub process - provider user tests flow', () => {
148
162
  for (const params of aiAgentSubProcessTestCases) {
149
163
  (0, _8_11_1.test)(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
150
164
  _8_11_1.test.slow();
@@ -184,7 +198,8 @@ _8_11_1.test.describe('Agentic Orchestation User Flows', () => {
184
198
  });
185
199
  }
186
200
  });
187
- _8_11_1.test.describe('DB Vector Connector User Flow Tests', () => {
201
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
202
+ _8_11_1.test.describe.skip('DB Vector Connector User Flow Tests', () => {
188
203
  for (const params of dbVectorTestCases) {
189
204
  (0, _8_11_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, }) => {
190
205
  _8_11_1.test.slow();
@@ -221,7 +236,8 @@ _8_11_1.test.describe('Agentic Orchestation User Flows', () => {
221
236
  });
222
237
  }
223
238
  });
224
- _8_11_1.test.describe('AI Agent reasoning in Operate', () => {
239
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
240
+ _8_11_1.test.describe.skip('AI Agent reasoning in Operate', () => {
225
241
  // Playwright requires destructured fixture arguments.
226
242
  // eslint-disable-next-line no-empty-pattern
227
243
  _8_11_1.test.afterEach(async ({}, testInfo) => {
@@ -103,7 +103,8 @@ _8_11_1.test.describe('AWS Connectors User Flows', () => {
103
103
  await operateProcessInstancePage.assertProcessVariableContainsText('agentcoreResult', 'nextToken');
104
104
  });
105
105
  });
106
- (0, _8_11_1.test)('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
106
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
107
+ _8_11_1.test.skip('AWS Bedrock Knowledge Base - Retrieve relevant chunks from knowledge base', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
107
108
  _8_11_1.test.slow();
108
109
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/bedrock-knowledge-base.bpmn', authToken);
109
110
  if (processKey == null) {
@@ -143,7 +144,8 @@ _8_11_1.test.describe('AWS Connectors User Flows', () => {
143
144
  // IAM: bedrock-agentcore:StartCodeInterpreterSession,
144
145
  // bedrock-agentcore:InvokeCodeInterpreter,
145
146
  // bedrock-agentcore:StopCodeInterpreterSession on Resource: *
146
- (0, _8_11_1.test)('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
147
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
148
+ _8_11_1.test.skip('AWS AgentCore Code Interpreter - Execute Python code and receive stdout', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
147
149
  _8_11_1.test.slow();
148
150
  const processKey = await (0, apiHelpers_1.deployProcess)('./resources/connectors/aws/agentcore-code-interpreter.bpmn', authToken);
149
151
  if (processKey == null) {
@@ -68,7 +68,8 @@ _8_11_1.test.describe('IDP User Flow Tests', () => {
68
68
  _8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
69
69
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
70
70
  });
71
- _8_11_1.test.describe('Unstructured Extraction', () => {
71
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
72
+ _8_11_1.test.describe.skip('Unstructured Extraction', () => {
72
73
  for (const params of unstructuredTestCases) {
73
74
  (0, _8_11_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, }) => {
74
75
  _8_11_1.test.slow();
@@ -143,7 +144,8 @@ _8_11_1.test.describe('IDP User Flow Tests', () => {
143
144
  });
144
145
  }
145
146
  });
146
- _8_11_1.test.describe('Structured Extraction', () => {
147
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
148
+ _8_11_1.test.describe.skip('Structured Extraction', () => {
147
149
  for (const params of structuredTestCases) {
148
150
  (0, _8_11_1.test)(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
149
151
  _8_11_1.test.slow();
@@ -225,7 +227,8 @@ _8_11_1.test.describe('IDP User Flow Tests', () => {
225
227
  });
226
228
  }
227
229
  });
228
- _8_11_1.test.describe('Classification Template', () => {
230
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
231
+ _8_11_1.test.describe.skip('Classification Template', () => {
229
232
  for (const params of classificationTestCases) {
230
233
  (0, _8_11_1.test)(`${params.provider} classification - User creates an idp application with a classification template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
231
234
  _8_11_1.test.slow();
@@ -35,7 +35,8 @@ _8_11_1.test.describe('Web Modeler User Flow Tests', () => {
35
35
  await (0, mailSlurpClient_1.deleteInbox)(inboxes[testInfo.title]);
36
36
  }
37
37
  });
38
- (0, _8_11_1.test)('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, consoleOrganizationsPage, loginPage, }, testInfo) => {
38
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
39
+ _8_11_1.test.skip('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, consoleOrganizationsPage, loginPage, }, testInfo) => {
39
40
  _8_11_1.test.slow();
40
41
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
41
42
  const processName = 'User_Task_Process_With_AI_Form' + randomString;
@@ -140,7 +141,8 @@ _8_11_1.test.describe('Web Modeler User Flow Tests', () => {
140
141
  await operateTabTaskDetailsPage.clickCompleteTaskButton();
141
142
  });
142
143
  });
143
- (0, _8_11_1.test)('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
144
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
145
+ _8_11_1.test.skip('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
144
146
  _8_11_1.test.slow();
145
147
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
146
148
  const processName = 'AI-generated-Start-form' + randomString;
@@ -93,7 +93,8 @@ _8_8_1.test.describe('Agentic Orchestation User Flows', () => {
93
93
  await (0, _setup_1.captureScreenshot)(page, testInfo);
94
94
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
95
95
  });
96
- _8_8_1.test.describe('AI Agent connector - provider user tests flow', () => {
96
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
97
+ _8_8_1.test.describe.skip('AI Agent connector - provider user tests flow', () => {
97
98
  for (const params of aiAgentTestCases) {
98
99
  (0, _8_8_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
99
100
  _8_8_1.test.slow();
@@ -133,7 +134,8 @@ _8_8_1.test.describe('Agentic Orchestation User Flows', () => {
133
134
  });
134
135
  }
135
136
  });
136
- _8_8_1.test.describe('DB Vector Connector User Flow Tests', () => {
137
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
138
+ _8_8_1.test.describe.skip('DB Vector Connector User Flow Tests', () => {
137
139
  for (const params of dbVectorTestCases) {
138
140
  (0, _8_8_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, }) => {
139
141
  _8_8_1.test.slow();
@@ -62,7 +62,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
62
62
  _8_8_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
63
63
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
64
64
  });
65
- _8_8_1.test.describe('Unstructured Extraction', () => {
65
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
66
+ _8_8_1.test.describe.skip('Unstructured Extraction', () => {
66
67
  for (const params of unstructuredTestCases) {
67
68
  (0, _8_8_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, }) => {
68
69
  _8_8_1.test.slow();
@@ -144,7 +145,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
144
145
  });
145
146
  }
146
147
  });
147
- _8_8_1.test.describe('Structured Extraction', () => {
148
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
149
+ _8_8_1.test.describe.skip('Structured Extraction', () => {
148
150
  for (const params of structuredTestCases) {
149
151
  (0, _8_8_1.test)(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
150
152
  _8_8_1.test.slow();
@@ -32,7 +32,8 @@ _8_8_1.test.describe('Web Modeler User Flow Tests', () => {
32
32
  }
33
33
  });
34
34
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
35
- (0, _8_8_1.test)('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
35
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
36
+ _8_8_1.test.skip('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
36
37
  _8_8_1.test.slow();
37
38
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
38
39
  const processName = 'User_Task_Process_With_AI_Form' + randomString;
@@ -90,7 +91,8 @@ _8_8_1.test.describe('Web Modeler User Flow Tests', () => {
90
91
  });
91
92
  });
92
93
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
93
- (0, _8_8_1.test)('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
94
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
95
+ _8_8_1.test.skip('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
94
96
  _8_8_1.test.slow();
95
97
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
96
98
  const processName = 'AI-generated-Start-form' + randomString;
@@ -134,7 +134,8 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
134
134
  await (0, _setup_1.captureScreenshot)(page, testInfo);
135
135
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
136
136
  });
137
- _8_9_1.test.describe('AI Agent connector - provider user tests flow', () => {
137
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
138
+ _8_9_1.test.describe.skip('AI Agent connector - provider user tests flow', () => {
138
139
  for (const params of aiAgentTestCases) {
139
140
  (0, _8_9_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
140
141
  _8_9_1.test.slow();
@@ -177,7 +178,8 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
177
178
  });
178
179
  }
179
180
  });
180
- _8_9_1.test.describe('AI Agent sub process - provider user tests flow', () => {
181
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
182
+ _8_9_1.test.describe.skip('AI Agent sub process - provider user tests flow', () => {
181
183
  for (const params of aiAgentSubProcessTestCases) {
182
184
  (0, _8_9_1.test)(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
183
185
  _8_9_1.test.slow();
@@ -216,7 +218,8 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
216
218
  });
217
219
  }
218
220
  });
219
- _8_9_1.test.describe('DB Vector Connector User Flow Tests', () => {
221
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
222
+ _8_9_1.test.describe.skip('DB Vector Connector User Flow Tests', () => {
220
223
  for (const params of dbVectorTestCases) {
221
224
  (0, _8_9_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, }) => {
222
225
  _8_9_1.test.slow();
@@ -69,7 +69,8 @@ _8_9_1.test.describe('IDP User Flow Tests', () => {
69
69
  _8_9_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
70
70
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
71
71
  });
72
- _8_9_1.test.describe('Unstructured Extraction', () => {
72
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
73
+ _8_9_1.test.describe.skip('Unstructured Extraction', () => {
73
74
  for (const params of unstructuredTestCases) {
74
75
  (0, _8_9_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, }) => {
75
76
  _8_9_1.test.slow();
@@ -144,7 +145,8 @@ _8_9_1.test.describe('IDP User Flow Tests', () => {
144
145
  });
145
146
  }
146
147
  });
147
- _8_9_1.test.describe('Structured Extraction', () => {
148
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
149
+ _8_9_1.test.describe.skip('Structured Extraction', () => {
148
150
  for (const params of structuredTestCases) {
149
151
  const structuredTest = params.skipped ? _8_9_1.test.skip : _8_9_1.test;
150
152
  structuredTest(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
@@ -227,7 +229,8 @@ _8_9_1.test.describe('IDP User Flow Tests', () => {
227
229
  });
228
230
  }
229
231
  });
230
- _8_9_1.test.describe('Classification Template', () => {
232
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
233
+ _8_9_1.test.describe.skip('Classification Template', () => {
231
234
  for (const params of classificationTestCases) {
232
235
  (0, _8_9_1.test)(`${params.provider} classification - User creates an idp application with a classification template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
233
236
  _8_9_1.test.slow();
@@ -35,7 +35,8 @@ _8_9_1.test.describe('Web Modeler User Flow Tests', () => {
35
35
  }
36
36
  });
37
37
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
38
- (0, _8_9_1.test)('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
38
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
39
+ _8_9_1.test.skip('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
39
40
  _8_9_1.test.slow();
40
41
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
41
42
  const processName = 'User_Task_Process_With_AI_Form' + randomString;
@@ -94,7 +95,8 @@ _8_9_1.test.describe('Web Modeler User Flow Tests', () => {
94
95
  });
95
96
  });
96
97
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
97
- (0, _8_9_1.test)('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
98
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
99
+ _8_9_1.test.skip('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
98
100
  _8_9_1.test.slow();
99
101
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
100
102
  const processName = 'AI-generated-Start-form' + randomString;
@@ -4,38 +4,45 @@ const test_1 = require("@playwright/test");
4
4
  const SM_8_11_1 = require("../../fixtures/SM-8.11");
5
5
  const _setup_1 = require("../../test-setup.js");
6
6
  const loggingUtils_1 = require("../../utils/loggingUtils");
7
- SM_8_11_1.test.describe('Entra ID Sign-In', () => {
8
- SM_8_11_1.test.beforeEach(async ({ page }, testInfo) => {
9
- (0, loggingUtils_1.setupTestLogging)(testInfo);
10
- await page.context().clearCookies();
11
- });
12
- SM_8_11_1.test.afterEach(async ({ page }, testInfo) => {
13
- await (0, _setup_1.captureScreenshot)(page, testInfo);
14
- await (0, _setup_1.captureFailureVideo)(page, testInfo);
15
- (0, loggingUtils_1.cleanupTestLogging)();
16
- });
17
- (0, SM_8_11_1.test)('signs in to Web Modeler through Entra ID', async ({ page, loginPage, }) => {
18
- await SM_8_11_1.test.step('Open Web Modeler and follow the IdP redirect', async () => {
19
- // C8_USERNAME/C8_PASSWORD are the SaaS slots and are never exported by
20
- // the SM flow: it passes sm_username/sm_password -- the Entra address and
21
- // password on an oidc run -- which run-tests-reusable maps to these two.
22
- // Reading the SaaS names filled both Entra fields with the empty string,
23
- // so the IdP answered "Enter a valid email address" and the test failed
24
- // 120s later on waitForURL rather than on the missing credential.
25
- const username = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_USERNAME;
26
- const password = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD;
27
- (0, test_1.expect)(username, 'DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_USERNAME is unset').toBeTruthy();
28
- (0, test_1.expect)(password, 'DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD is unset').toBeTruthy();
29
- await page.goto('/modeler');
30
- await page.waitForURL((url) => url.hostname.endsWith('login.microsoftonline.com'), { timeout: 60000 });
31
- const submitted = await loginPage.login(username, password);
32
- (0, test_1.expect)(submitted).toBe(true);
7
+ const entraLogin_1 = require("../../utils/entraLogin");
8
+ // Entra sign-in exists only on an OIDC deployment; a Keycloak cluster exports no
9
+ // Entra credentials, so the spec fails its own credential pre-flight there.
10
+ // Register it only on an Entra-backed run, the module guard the sibling SM specs
11
+ // already use, so it never runs on the Keycloak deployments AlwaysGreen drives.
12
+ if ((0, entraLogin_1.isEntraRun)()) {
13
+ SM_8_11_1.test.describe('Entra ID Sign-In', () => {
14
+ SM_8_11_1.test.beforeEach(async ({ page }, testInfo) => {
15
+ (0, loggingUtils_1.setupTestLogging)(testInfo);
16
+ await page.context().clearCookies();
33
17
  });
34
- await SM_8_11_1.test.step('Land back on Web Modeler as a signed-in user', async () => {
35
- await page.waitForURL((url) => url.pathname.startsWith('/modeler'), {
36
- timeout: 120000,
18
+ SM_8_11_1.test.afterEach(async ({ page }, testInfo) => {
19
+ await (0, _setup_1.captureScreenshot)(page, testInfo);
20
+ await (0, _setup_1.captureFailureVideo)(page, testInfo);
21
+ (0, loggingUtils_1.cleanupTestLogging)();
22
+ });
23
+ (0, SM_8_11_1.test)('signs in to Web Modeler through Entra ID', async ({ page, loginPage, }) => {
24
+ await SM_8_11_1.test.step('Open Web Modeler and follow the IdP redirect', async () => {
25
+ // C8_USERNAME/C8_PASSWORD are the SaaS slots and are never exported by
26
+ // the SM flow: it passes sm_username/sm_password -- the Entra address and
27
+ // password on an oidc run -- which run-tests-reusable maps to these two.
28
+ // Reading the SaaS names filled both Entra fields with the empty string,
29
+ // so the IdP answered "Enter a valid email address" and the test failed
30
+ // 120s later on waitForURL rather than on the missing credential.
31
+ const username = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_USERNAME;
32
+ const password = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD;
33
+ (0, test_1.expect)(username, 'DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_USERNAME is unset').toBeTruthy();
34
+ (0, test_1.expect)(password, 'DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD is unset').toBeTruthy();
35
+ await page.goto('/modeler');
36
+ await page.waitForURL((url) => url.hostname.endsWith('login.microsoftonline.com'), { timeout: 60000 });
37
+ const submitted = await loginPage.login(username, password);
38
+ (0, test_1.expect)(submitted).toBe(true);
39
+ });
40
+ await SM_8_11_1.test.step('Land back on Web Modeler as a signed-in user', async () => {
41
+ await page.waitForURL((url) => url.pathname.startsWith('/modeler'), {
42
+ timeout: 120000,
43
+ });
44
+ await (0, test_1.expect)(page.getByRole('link', { name: /workspaces/i }).first()).toBeVisible({ timeout: 60000 });
37
45
  });
38
- await (0, test_1.expect)(page.getByRole('link', { name: /workspaces/i }).first()).toBeVisible({ timeout: 60000 });
39
46
  });
40
47
  });
41
- });
48
+ }
@@ -7,6 +7,14 @@ export declare const entraLocators: (page: Page) => {
7
7
  staySignedInDecline: import("playwright-core").Locator;
8
8
  consentAccept: import("playwright-core").Locator;
9
9
  };
10
+ /**
11
+ * Whether the deployment under test is backed by Entra ID rather than Keycloak.
12
+ *
13
+ * Keyed on its own scenario flag, the IS_RBA / IS_MT / IS_DS convention, which
14
+ * only the Entra workflows set. Neither a credential being present nor the
15
+ * deployment speaking OIDC identifies the IdP -- Keycloak serves OIDC too, and a
16
+ * secret can reach a run that is not Entra-backed.
17
+ */
10
18
  export declare function isEntraRun(): boolean;
11
19
  /**
12
20
  * The authenticator seed registered for one Entra account.
@@ -12,8 +12,16 @@ const entraLocators = (page) => ({
12
12
  consentAccept: page.getByRole('button', { name: 'Accept' }),
13
13
  });
14
14
  exports.entraLocators = entraLocators;
15
+ /**
16
+ * Whether the deployment under test is backed by Entra ID rather than Keycloak.
17
+ *
18
+ * Keyed on its own scenario flag, the IS_RBA / IS_MT / IS_DS convention, which
19
+ * only the Entra workflows set. Neither a credential being present nor the
20
+ * deployment speaking OIDC identifies the IdP -- Keycloak serves OIDC too, and a
21
+ * secret can reach a run that is not Entra-backed.
22
+ */
15
23
  function isEntraRun() {
16
- return Boolean(process.env.ENTRA_TOTP_SECRET);
24
+ return process.env.IS_ENTRA === 'true';
17
25
  }
18
26
  exports.isEntraRun = isEntraRun;
19
27
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1760",
3
+ "version": "0.0.1762",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",
@@ -125,9 +125,8 @@ const useReportersWithSlack: any[] = [
125
125
  : '';
126
126
  suffix += tasklistSuffix;
127
127
 
128
- const entraSuffix = process.env.ENTRA_TOTP_SECRET
129
- ? ', Entra ID'
130
- : '';
128
+ const entraSuffix =
129
+ process.env.IS_ENTRA === 'true' ? ', Entra ID' : '';
131
130
  return `Test Results for Self-Managed with Helm with Latest 8.11-SNAPSHOT Versions (${searchEngine}${entraSuffix})${suffix} - ${projectName}`;
132
131
  }
133
132
  case 'SM-8.10': {
@@ -151,9 +150,8 @@ const useReportersWithSlack: any[] = [
151
150
  : '';
152
151
  suffix += tasklistSuffix;
153
152
 
154
- const entraSuffix = process.env.ENTRA_TOTP_SECRET
155
- ? ', Entra ID'
156
- : '';
153
+ const entraSuffix =
154
+ process.env.IS_ENTRA === 'true' ? ', Entra ID' : '';
157
155
  return `Test Results for Self-Managed with Helm with Latest 8.10-SNAPSHOT Versions (${searchEngine}${entraSuffix})${suffix} - ${projectName}`;
158
156
  }
159
157
  case 'SM-8.9': {
@@ -396,7 +394,7 @@ const regularTestIgnore = new RegExp(
396
394
  ...(process.env.C8RUN_PHYSICAL_TENANTS === 'unsupported'
397
395
  ? ['physical-tenants']
398
396
  : []),
399
- ...(process.env.ENTRA_TOTP_SECRET ? [] : ['entra-login']),
397
+ ...(process.env.IS_ENTRA === 'true' ? [] : ['entra-login']),
400
398
  ].join('|')})\\.spec\\.[jt]s$`,
401
399
  );
402
400