@camunda/e2e-test-suite 0.0.1539 → 0.0.1541
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.
- package/dist/tests/8.9/agentic-ai-user-flows.spec.js +9 -8
- package/dist/tests/8.9/connectors-user-flows.spec.js +19 -15
- package/dist/tests/8.9/console-user-flows.spec.js +1 -2
- package/dist/tests/8.9/idp-user-flows.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-incident-tools.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-process-instance-tools.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +1 -2
- package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-variable-tools.spec.js +1 -2
- package/dist/tests/8.9/smoke-tests.spec.js +1 -2
- package/dist/utils/apiHelpers.js +17 -1
- package/package.json +1 -1
|
@@ -85,7 +85,7 @@ const aiAgentSubProcessTestCases = [
|
|
|
85
85
|
];
|
|
86
86
|
const regexTestCases = [
|
|
87
87
|
{
|
|
88
|
-
regex_ai_agent_time: /The current date and time in ([A-Za-zÀ-ÿ .,'-]+(?:, [A-Za-zÀ-ÿ .,'-]+)*)
|
|
88
|
+
regex_ai_agent_time: /The current date and time in \[?([A-Za-zÀ-ÿ .,'-]+(?:, [A-Za-zÀ-ÿ .,'-]+)*)\]?,? is approximately ((?:0?[1-9]|1[0-2]):[0-5][0-9] (?:AM|PM)) on ([A-Z][a-z]+ (?:[1-9]|[12][0-9]|3[01]), \d{4})\./,
|
|
89
89
|
regex_db_vector: /Color and Varieties:\s*While orange is the most common color today, carrots can also be found in purple, red, yellow, and white varieties\. The orange color comes from beta-carotene, a pigment that the body converts into vitamin A\. Different colors may contain other antioxidants:\s*Purple carrots are rich in anthocyanins\s*Red carrots contain lycopene\s*Yellow carrots have lutein/,
|
|
90
90
|
},
|
|
91
91
|
];
|
|
@@ -111,8 +111,7 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
111
111
|
});
|
|
112
112
|
_8_9_1.test.describe('AI Agent connector - provider user tests flow', () => {
|
|
113
113
|
for (const params of aiAgentTestCases) {
|
|
114
|
-
|
|
115
|
-
_8_9_1.test.skip(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
|
|
114
|
+
(0, _8_9_1.test)(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
|
|
116
115
|
_8_9_1.test.slow();
|
|
117
116
|
const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
|
|
118
117
|
if (processKey == null) {
|
|
@@ -126,10 +125,14 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
126
125
|
await operateProcessInstancePage.assertActiveTokenIsPresent();
|
|
127
126
|
});
|
|
128
127
|
await _8_9_1.test.step('User can view the agent feedback on tasklist', async () => {
|
|
128
|
+
// Open this run's task by key: on a retry, the same-named task left
|
|
129
|
+
// behind (already assigned) by the failed first attempt would
|
|
130
|
+
// otherwise be opened, and it has no "Assign to me" button.
|
|
131
|
+
const taskKeys = await waitForUserTaskKeys(instanceKey);
|
|
129
132
|
await appsPage.clickCamundaApps();
|
|
130
133
|
await appsPage.clickTasklist(clusterName);
|
|
131
134
|
await (0, sleep_1.sleep)(5000);
|
|
132
|
-
await taskPanelPage.openTask(`AI Agent Chat With Tools ${params.provider}
|
|
135
|
+
await taskPanelPage.openTask(`AI Agent Chat With Tools ${params.provider}`, taskKeys);
|
|
133
136
|
await taskDetailsPage.clickAssignToMeButton();
|
|
134
137
|
});
|
|
135
138
|
await _8_9_1.test.step('User can view the agent response and complete the task', async () => {
|
|
@@ -151,8 +154,7 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
151
154
|
});
|
|
152
155
|
_8_9_1.test.describe('AI Agent sub process - provider user tests flow', () => {
|
|
153
156
|
for (const params of aiAgentSubProcessTestCases) {
|
|
154
|
-
|
|
155
|
-
_8_9_1.test.skip(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
|
|
157
|
+
(0, _8_9_1.test)(`AI agent sub process with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
|
|
156
158
|
_8_9_1.test.slow();
|
|
157
159
|
const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
|
|
158
160
|
if (processKey == null) {
|
|
@@ -191,8 +193,7 @@ _8_9_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
191
193
|
});
|
|
192
194
|
_8_9_1.test.describe('DB Vector Connector User Flow Tests', () => {
|
|
193
195
|
for (const params of dbVectorTestCases) {
|
|
194
|
-
|
|
195
|
-
_8_9_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, }) => {
|
|
196
|
+
(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, }) => {
|
|
196
197
|
_8_9_1.test.slow();
|
|
197
198
|
const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
|
|
198
199
|
if (processKey == null) {
|
|
@@ -25,8 +25,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
25
25
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
26
26
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
_8_9_1.test.skip('REST Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
28
|
+
(0, _8_9_1.test)('REST Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
30
29
|
_8_9_1.test.slow();
|
|
31
30
|
const processName = 'REST_Connector_No_Auth_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
32
31
|
await _8_9_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -66,8 +65,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
66
65
|
});
|
|
67
66
|
});
|
|
68
67
|
});
|
|
69
|
-
|
|
70
|
-
_8_9_1.test.skip('REST Connector Bearer Token Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
68
|
+
(0, _8_9_1.test)('REST Connector Bearer Token Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
71
69
|
_8_9_1.test.slow();
|
|
72
70
|
const processName = 'REST_Connector_Bearer_Auth_Process' +
|
|
73
71
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -108,8 +106,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
108
106
|
});
|
|
109
107
|
});
|
|
110
108
|
});
|
|
111
|
-
|
|
112
|
-
_8_9_1.test.skip('Message Start Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
109
|
+
(0, _8_9_1.test)('Message Start Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
113
110
|
_8_9_1.test.slow();
|
|
114
111
|
const processName = 'Start_Event_Webhook_Connector_No_Auth_Process' +
|
|
115
112
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -171,8 +168,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
171
168
|
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
|
|
172
169
|
});
|
|
173
170
|
});
|
|
174
|
-
|
|
175
|
-
_8_9_1.test.skip('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
|
|
171
|
+
(0, _8_9_1.test)('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, clusterPage, clusterSecretsPage, }) => {
|
|
176
172
|
_8_9_1.test.slow();
|
|
177
173
|
const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
178
174
|
await _8_9_1.test.step('Navigate to Connectors Secrets', async () => {
|
|
@@ -208,7 +204,14 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
208
204
|
await operateHomePage.clickProcessesTab();
|
|
209
205
|
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
210
206
|
await operateProcessesPage.clickProcessInstanceLink(processName);
|
|
207
|
+
// Connector jobs on the shared default cluster can take minutes to be
|
|
208
|
+
// picked up under nightly load (the nightly screenshot showed the token
|
|
209
|
+
// still on the REST task ~1 min after start, with the default 60s/3x
|
|
210
|
+
// budget already spent), so poll for completion for up to 10 minutes.
|
|
211
211
|
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.completedIcon, {
|
|
212
|
+
totalTimeout: 600000,
|
|
213
|
+
visibilityTimeout: 30000,
|
|
214
|
+
maxRetries: 20,
|
|
212
215
|
postAction: async () => {
|
|
213
216
|
await page.reload();
|
|
214
217
|
},
|
|
@@ -271,8 +274,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
271
274
|
});
|
|
272
275
|
});
|
|
273
276
|
});
|
|
274
|
-
|
|
275
|
-
_8_9_1.test.skip('Marketplace Connector User Flow', async ({ page, homePage, appsPage, modelerHomePage, modelerCreatePage, connectorMarketplacePage, connectorSettingsPage, }) => {
|
|
277
|
+
(0, _8_9_1.test)('Marketplace Connector User Flow', async ({ page, homePage, appsPage, modelerHomePage, modelerCreatePage, connectorMarketplacePage, connectorSettingsPage, }) => {
|
|
276
278
|
_8_9_1.test.slow();
|
|
277
279
|
const processName = 'Public Holiday Marketplace Connector' +
|
|
278
280
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -338,8 +340,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
338
340
|
});
|
|
339
341
|
});
|
|
340
342
|
});
|
|
341
|
-
|
|
342
|
-
_8_9_1.test.skip('Intermediate Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, connectorSettingsPage, }) => {
|
|
343
|
+
(0, _8_9_1.test)('Intermediate Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, connectorSettingsPage, }) => {
|
|
343
344
|
const processName = 'Intermediate_Event_Webhook_Connector_No_Auth_Process' +
|
|
344
345
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
345
346
|
await _8_9_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -423,8 +424,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
423
424
|
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
|
|
424
425
|
});
|
|
425
426
|
});
|
|
426
|
-
|
|
427
|
-
_8_9_1.test.skip('Document Handling Connectors User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorMarketplacePage, }) => {
|
|
427
|
+
(0, _8_9_1.test)('Document Handling Connectors User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorMarketplacePage, }) => {
|
|
428
428
|
_8_9_1.test.slow();
|
|
429
429
|
const apiClientName = await (0, _setup_1.generateRandomStringAsync)(6);
|
|
430
430
|
const processName = 'Document_Handling_Connectors_User_Flow_GCP_Process' +
|
|
@@ -456,7 +456,11 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
456
456
|
const operateTab = await operateTabPromise;
|
|
457
457
|
const operateTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
458
458
|
await operateTabProcessInstancePage.closePopOverIfVisible();
|
|
459
|
-
|
|
459
|
+
// The flow chains seven connector jobs on the shared default cluster;
|
|
460
|
+
// under nightly load each can take a minute or more to be picked up
|
|
461
|
+
// (the nightly instance was still on the 4th task after the default
|
|
462
|
+
// 6 x 60s budget), so allow up to ~14 minutes for completion.
|
|
463
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTabProcessInstancePage, operateTabProcessInstancePage.completedIcon, 'completed icon', 60000, false, 12);
|
|
460
464
|
await operateTabProcessInstancePage.assertProcessVariableContainsText('doc', 'gcp');
|
|
461
465
|
await operateTabProcessInstancePage.assertProcessVariableContainsText('doc', 'b4946b81fed5c91a7de5f77c350241bc5ece49152708c61bd6c2208836d8415e');
|
|
462
466
|
await operateTabProcessInstancePage.assertProcessVariableContainsText('doc', '19456');
|
|
@@ -82,8 +82,7 @@ _8_9_1.test.describe('Console User Flow Tests @tasklistV2', () => {
|
|
|
82
82
|
await clusterPage.assertClusterHealthyStatusWithRetry(newClusterName, 300000, 1500000);
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
|
-
|
|
86
|
-
_8_9_1.test.skip('Alert Trigger Flow - Email Notification', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
85
|
+
(0, _8_9_1.test)('Alert Trigger Flow - Email Notification', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
87
86
|
_8_9_1.test.slow();
|
|
88
87
|
const processName = 'Email_Alert_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
89
88
|
const invalidURl = 'https://invalid';
|
|
@@ -237,8 +237,7 @@ _8_9_1.test.describe('IDP User Flow Tests', () => {
|
|
|
237
237
|
});
|
|
238
238
|
_8_9_1.test.describe('Classification Template', () => {
|
|
239
239
|
for (const params of classificationTestCases) {
|
|
240
|
-
|
|
241
|
-
_8_9_1.test.skip(`${params.provider} classification - User creates an idp application with a classification template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
|
|
240
|
+
(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, }) => {
|
|
242
241
|
_8_9_1.test.slow();
|
|
243
242
|
const idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` + ' - IDP_Application_Name');
|
|
244
243
|
const idpClassificationTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} classification` +
|
|
@@ -51,8 +51,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - Cluster Tools @tasklist
|
|
|
51
51
|
},
|
|
52
52
|
];
|
|
53
53
|
for (const testCase of clusterToolTests) {
|
|
54
|
-
|
|
55
|
-
_8_9_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
54
|
+
(0, _8_9_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
56
55
|
_8_9_1.test.slow();
|
|
57
56
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
58
57
|
await homePage.clickClusters();
|
|
@@ -99,8 +99,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - Incident Tools @tasklis
|
|
|
99
99
|
},
|
|
100
100
|
];
|
|
101
101
|
for (const testCase of incidentToolTests) {
|
|
102
|
-
|
|
103
|
-
_8_9_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
102
|
+
(0, _8_9_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
104
103
|
_8_9_1.test.slow();
|
|
105
104
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
106
105
|
await homePage.clickClusters();
|
package/dist/tests/8.9/orchestration-cluster-mcp-server/mcp-process-definition-tools.spec.js
CHANGED
|
@@ -80,8 +80,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - Process Definition Tool
|
|
|
80
80
|
},
|
|
81
81
|
];
|
|
82
82
|
for (const testCase of processDefinitionToolTests) {
|
|
83
|
-
|
|
84
|
-
_8_9_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
83
|
+
(0, _8_9_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
85
84
|
_8_9_1.test.slow();
|
|
86
85
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
87
86
|
await homePage.clickClusters();
|
|
@@ -89,8 +89,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - Process Instance Tools
|
|
|
89
89
|
},
|
|
90
90
|
];
|
|
91
91
|
for (const testCase of processInstanceToolTests) {
|
|
92
|
-
|
|
93
|
-
_8_9_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
92
|
+
(0, _8_9_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
94
93
|
_8_9_1.test.slow();
|
|
95
94
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
96
95
|
await homePage.clickClusters();
|
|
@@ -103,8 +103,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - User Task Tools @taskli
|
|
|
103
103
|
},
|
|
104
104
|
];
|
|
105
105
|
for (const testCase of userTaskToolTests) {
|
|
106
|
-
|
|
107
|
-
_8_9_1.test.skip(testCase.name, async ({ page, homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
106
|
+
(0, _8_9_1.test)(testCase.name, async ({ page, homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
108
107
|
_8_9_1.test.slow();
|
|
109
108
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
110
109
|
await page.goto('/');
|
|
@@ -95,8 +95,7 @@ _8_9_1.test.describe('Orchestration Cluster MCP Server - Variable Tools @tasklis
|
|
|
95
95
|
},
|
|
96
96
|
];
|
|
97
97
|
for (const testCase of variableToolTests) {
|
|
98
|
-
|
|
99
|
-
_8_9_1.test.skip(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
98
|
+
(0, _8_9_1.test)(testCase.name, async ({ homePage, appsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
100
99
|
_8_9_1.test.slow();
|
|
101
100
|
await _8_9_1.test.step('Navigate to completed process in Operate', async () => {
|
|
102
101
|
await homePage.clickClusters();
|
|
@@ -182,8 +182,7 @@ _8_9_1.test.describe('Smoke Tests', () => {
|
|
|
182
182
|
});
|
|
183
183
|
});
|
|
184
184
|
});
|
|
185
|
-
|
|
186
|
-
_8_9_1.test.skip('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
185
|
+
(0, _8_9_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
187
186
|
_8_9_1.test.slow();
|
|
188
187
|
const randomString = useFixedNames
|
|
189
188
|
? 'UpgradeTest'
|
package/dist/utils/apiHelpers.js
CHANGED
|
@@ -551,12 +551,28 @@ async function deployProcess(filePath, authToken, environment, clusterType) {
|
|
|
551
551
|
if (isMT) {
|
|
552
552
|
multipart.tenantId = '<default>';
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
// Retry when the gateway briefly cannot reach a broker (HTTP 503
|
|
555
|
+
// "Expected to handle request, but there was a connection error with one
|
|
556
|
+
// of the brokers") or another 5xx: the SaaS nightly saw a ~4s window of
|
|
557
|
+
// these on the Agentic Orchestration Cluster that failed every MCP spec
|
|
558
|
+
// deploying in it, while specs deploying seconds later succeeded.
|
|
559
|
+
const maxAttempts = 6;
|
|
560
|
+
let response = await apiRequestContext.post(url, {
|
|
555
561
|
headers: {
|
|
556
562
|
Authorization: authToken ?? '',
|
|
557
563
|
},
|
|
558
564
|
multipart,
|
|
559
565
|
});
|
|
566
|
+
for (let attempt = 1; attempt < maxAttempts && response.status() >= 500; attempt++) {
|
|
567
|
+
console.warn(`deployProcess: HTTP ${response.status()} for ${fileName}, attempt ${attempt}/${maxAttempts}, retrying in ${5 * attempt}s`);
|
|
568
|
+
await (0, sleep_1.sleep)(5000 * attempt);
|
|
569
|
+
response = await apiRequestContext.post(url, {
|
|
570
|
+
headers: {
|
|
571
|
+
Authorization: authToken ?? '',
|
|
572
|
+
},
|
|
573
|
+
multipart,
|
|
574
|
+
});
|
|
575
|
+
}
|
|
560
576
|
if (response.status() !== 200) {
|
|
561
577
|
const body = await response.text();
|
|
562
578
|
console.error(`deployProcess failed for ${fileName}: HTTP ${response.status()} - ${body}`);
|