@camunda/e2e-test-suite 0.0.1725 → 0.0.1727
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/pages/8.8/ClusterPage.d.ts +1 -1
- package/dist/pages/8.8/ClusterPage.js +10 -1
- package/dist/tests/8.8/agentic-ai-user-flows.spec.js +4 -2
- package/dist/tests/8.8/aws-cluster-user-flows.spec.js +2 -1
- package/dist/tests/8.8/connectors-user-flows.spec.js +16 -8
- package/dist/tests/8.8/console-user-flows.spec.js +2 -1
- package/dist/tests/8.8/idp-user-flows.spec.js +4 -2
- package/dist/tests/8.8/saas-migration-path-user-flows.spec.js +20 -5
- package/dist/tests/8.8/smoke-tests.spec.js +2 -1
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ declare class ClusterPage {
|
|
|
59
59
|
clickClusterOption(version: string): Promise<void>;
|
|
60
60
|
createClusterIfNotExists(clusterName: string, region?: string): Promise<void>;
|
|
61
61
|
waitForClusterRestartToStart(name: string, timeout?: number): Promise<void>;
|
|
62
|
-
assertClusterHealthyStatusWithRetry(name: string, visibilityTimeout?: number, totalTimeout?: number, isUpgradeScenario?: boolean): Promise<void>;
|
|
62
|
+
assertClusterHealthyStatusWithRetry(name: string, visibilityTimeout?: number, totalTimeout?: number, isUpgradeScenario?: boolean, reauthenticate?: () => Promise<void>): Promise<void>;
|
|
63
63
|
clickAlphaTab(): Promise<void>;
|
|
64
64
|
clickDevTab(): Promise<void>;
|
|
65
65
|
clickStableTab(): Promise<void>;
|
|
@@ -528,7 +528,7 @@ class ClusterPage {
|
|
|
528
528
|
? `${name}: restart started, status left Healthy.`
|
|
529
529
|
: `${name}: status stayed Healthy for ${timeout / 1000}s after the change.`);
|
|
530
530
|
}
|
|
531
|
-
async assertClusterHealthyStatusWithRetry(name, visibilityTimeout = 100000, totalTimeout = 420000, isUpgradeScenario = false) {
|
|
531
|
+
async assertClusterHealthyStatusWithRetry(name, visibilityTimeout = 100000, totalTimeout = 420000, isUpgradeScenario = false, reauthenticate) {
|
|
532
532
|
// For upgrade scenarios, use much longer timeouts and more retries instead of fixed waits.
|
|
533
533
|
// After the 8.7->8.8 upgrade the cluster's components report healthy and the generation
|
|
534
534
|
// flips to 8.8 well before the cluster-list overall Status leaves "Updating"; that overall
|
|
@@ -550,6 +550,15 @@ class ClusterPage {
|
|
|
550
550
|
maxRetries: maxRetries,
|
|
551
551
|
preAction: async () => {
|
|
552
552
|
await this.page.reload();
|
|
553
|
+
// The upgrade wait outlives the Console session: in the 8.7 -> 8.8
|
|
554
|
+
// weekly run, the reload on attempt 10 landed on
|
|
555
|
+
// hub.ultrawombat.com/login and every remaining attempt then polled
|
|
556
|
+
// the login form. Let the caller sign back in and return to the
|
|
557
|
+
// cluster list instead of burning the rest of the budget there.
|
|
558
|
+
if (reauthenticate && /\/login|weblogin\./.test(this.page.url())) {
|
|
559
|
+
console.warn(`${name}: session expired during health wait.`);
|
|
560
|
+
await reauthenticate();
|
|
561
|
+
}
|
|
553
562
|
await (0, test_1.expect)(this.cluster(name).first()).toBeVisible({ timeout: 60000 });
|
|
554
563
|
},
|
|
555
564
|
});
|
|
@@ -95,7 +95,8 @@ _8_8_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
95
95
|
});
|
|
96
96
|
_8_8_1.test.describe('AI Agent connector - provider user tests flow', () => {
|
|
97
97
|
for (const params of aiAgentTestCases) {
|
|
98
|
-
|
|
98
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
99
|
+
_8_8_1.test.skip(`AI agent with tools provides feedback to user - ${params.provider}`, async ({ appsPage, operateHomePage, operateProcessInstancePage, operateProcessesPage, taskPanelPage, taskDetailsPage, }) => {
|
|
99
100
|
_8_8_1.test.slow();
|
|
100
101
|
const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
|
|
101
102
|
if (processKey == null) {
|
|
@@ -135,7 +136,8 @@ _8_8_1.test.describe('Agentic Orchestation User Flows', () => {
|
|
|
135
136
|
});
|
|
136
137
|
_8_8_1.test.describe('DB Vector Connector User Flow Tests', () => {
|
|
137
138
|
for (const params of dbVectorTestCases) {
|
|
138
|
-
|
|
139
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
140
|
+
_8_8_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, }) => {
|
|
139
141
|
_8_8_1.test.slow();
|
|
140
142
|
const processKey = await (0, apiHelpers_1.deployProcess)(params.bpmnPath, authToken);
|
|
141
143
|
if (processKey == null) {
|
|
@@ -128,7 +128,8 @@ _8_8_1.test.describe('AWS Cluster User Flows Test', () => {
|
|
|
128
128
|
await operateProcessInstancePage.assertProcessVariableContainsText('Upload_Files', 'aws');
|
|
129
129
|
});
|
|
130
130
|
});
|
|
131
|
-
|
|
131
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
132
|
+
_8_8_1.test.skip('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorMarketplacePage, }) => {
|
|
132
133
|
const apiClientName = await (0, _setup_1.generateRandomStringAsync)(6);
|
|
133
134
|
const processName = 'Document_Handling_Connectors_User_Flow_AWS_Process' +
|
|
134
135
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -24,7 +24,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
24
24
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
25
25
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
28
|
+
_8_8_1.test.skip('REST Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
28
29
|
_8_8_1.test.slow();
|
|
29
30
|
const processName = 'REST_Connector_No_Auth_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
30
31
|
await _8_8_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -61,7 +62,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
61
62
|
});
|
|
62
63
|
});
|
|
63
64
|
});
|
|
64
|
-
|
|
65
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
66
|
+
_8_8_1.test.skip('REST Connector Bearer Token Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
65
67
|
_8_8_1.test.slow();
|
|
66
68
|
const processName = 'REST_Connector_Bearer_Auth_Process' +
|
|
67
69
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -99,7 +101,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
99
101
|
});
|
|
100
102
|
});
|
|
101
103
|
});
|
|
102
|
-
|
|
104
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
105
|
+
_8_8_1.test.skip('Message Start Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
103
106
|
_8_8_1.test.slow();
|
|
104
107
|
const processName = 'Start_Event_Webhook_Connector_No_Auth_Process' +
|
|
105
108
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -161,7 +164,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
161
164
|
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
|
|
162
165
|
});
|
|
163
166
|
});
|
|
164
|
-
|
|
167
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
168
|
+
_8_8_1.test.skip('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
165
169
|
_8_8_1.test.slow();
|
|
166
170
|
const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
167
171
|
await _8_8_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -208,7 +212,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
208
212
|
});
|
|
209
213
|
});
|
|
210
214
|
});
|
|
211
|
-
|
|
215
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
216
|
+
_8_8_1.test.skip('Connector Secrets User Flow - AWS', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
212
217
|
_8_8_1.test.slow();
|
|
213
218
|
const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
214
219
|
await _8_8_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -254,7 +259,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
254
259
|
});
|
|
255
260
|
});
|
|
256
261
|
});
|
|
257
|
-
|
|
262
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
263
|
+
_8_8_1.test.skip('Marketplace Connector User Flow', async ({ page, homePage, appsPage, modelerHomePage, modelerCreatePage, connectorMarketplacePage, connectorSettingsPage, }) => {
|
|
258
264
|
_8_8_1.test.slow();
|
|
259
265
|
const processName = 'Public Holiday Marketplace Connector' +
|
|
260
266
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -320,7 +326,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
320
326
|
});
|
|
321
327
|
});
|
|
322
328
|
});
|
|
323
|
-
|
|
329
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
330
|
+
_8_8_1.test.skip('Intermediate Event Webhook Connector No Auth User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, connectorSettingsPage, }) => {
|
|
324
331
|
const processName = 'Intermediate_Event_Webhook_Connector_No_Auth_Process' +
|
|
325
332
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
326
333
|
await _8_8_1.test.step('Navigate to Web Modeler', async () => {
|
|
@@ -402,7 +409,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
402
409
|
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
|
|
403
410
|
});
|
|
404
411
|
});
|
|
405
|
-
|
|
412
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
413
|
+
_8_8_1.test.skip('Document Handling Connectors User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorMarketplacePage, }) => {
|
|
406
414
|
_8_8_1.test.slow();
|
|
407
415
|
const apiClientName = await (0, _setup_1.generateRandomStringAsync)(6);
|
|
408
416
|
const processName = 'Document_Handling_Connectors_User_Flow_GCP_Process' +
|
|
@@ -80,7 +80,8 @@ _8_8_1.test.describe('Console User Flow Tests @tasklistV2', () => {
|
|
|
80
80
|
await clusterPage.assertClusterHealthyStatusWithRetry(newClusterName, 300000, 1500000);
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
|
|
83
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
84
|
+
_8_8_1.test.skip('Alert Trigger Flow - Email Notification', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
84
85
|
_8_8_1.test.slow();
|
|
85
86
|
const processName = 'Email_Alert_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
86
87
|
const invalidURl = 'https://invalid';
|
|
@@ -64,7 +64,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
|
|
|
64
64
|
});
|
|
65
65
|
_8_8_1.test.describe('Unstructured Extraction', () => {
|
|
66
66
|
for (const params of unstructuredTestCases) {
|
|
67
|
-
|
|
67
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
68
|
+
_8_8_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, }) => {
|
|
68
69
|
_8_8_1.test.slow();
|
|
69
70
|
idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Application_Name');
|
|
70
71
|
idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Extraction_Template_Name');
|
|
@@ -146,7 +147,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
|
|
|
146
147
|
});
|
|
147
148
|
_8_8_1.test.describe('Structured Extraction', () => {
|
|
148
149
|
for (const params of structuredTestCases) {
|
|
149
|
-
|
|
150
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
151
|
+
_8_8_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
152
|
_8_8_1.test.slow();
|
|
151
153
|
idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Application_Name');
|
|
152
154
|
idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Extraction_Template_Name');
|
|
@@ -35,14 +35,29 @@ _8_8_1.test.describe('SaaS Migration Path Tests', () => {
|
|
|
35
35
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
36
36
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
37
37
|
});
|
|
38
|
-
(0, _8_8_1.test)('SaaS UI Upgrade Flow Automation @saasUpgrade', async ({ homePage, clusterPage, clusterDetailsPage, }) => {
|
|
38
|
+
(0, _8_8_1.test)('SaaS UI Upgrade Flow Automation @saasUpgrade', async ({ page, loginPage, homePage, clusterPage, clusterDetailsPage, }, testInfo) => {
|
|
39
39
|
_8_8_1.test.slow();
|
|
40
40
|
await _8_8_1.test.step('Navigate to SaaS Upgrade Section', async () => {
|
|
41
41
|
await homePage.clickClusters();
|
|
42
|
-
await clusterPage.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
await (0, test_1.expect)(clusterPage.cluster('Test Cluster').first()).toBeVisible({
|
|
43
|
+
timeout: 60000,
|
|
44
|
+
});
|
|
45
|
+
// A Playwright retry runs against the same org, so the first attempt
|
|
46
|
+
// may already have moved the cluster to 8.8. Starting the wizard again
|
|
47
|
+
// would then offer (and apply) the next generation, 8.9.
|
|
48
|
+
const alreadyUpgraded = await clusterPage
|
|
49
|
+
.clusterVersion('Test Cluster', '8.8')
|
|
50
|
+
.first()
|
|
51
|
+
.isVisible();
|
|
52
|
+
if (!alreadyUpgraded) {
|
|
53
|
+
await clusterPage.clickClusterLink('Test Cluster');
|
|
54
|
+
await clusterDetailsPage.performClusterUpdate();
|
|
55
|
+
await homePage.clickClusters();
|
|
56
|
+
}
|
|
57
|
+
await clusterPage.assertClusterHealthyStatusWithRetry('Test Cluster', undefined, undefined, true, async () => {
|
|
58
|
+
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
59
|
+
await homePage.clickClusters();
|
|
60
|
+
});
|
|
46
61
|
await (0, test_1.expect)(clusterPage.clusterVersion('Test Cluster', '8.8')).toBeVisible();
|
|
47
62
|
});
|
|
48
63
|
});
|
|
@@ -171,7 +171,8 @@ _8_8_1.test.describe('Smoke Tests', () => {
|
|
|
171
171
|
});
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
|
|
174
|
+
// Skipped due to bug #10721: https://github.com/camunda/connectors/issues/10721
|
|
175
|
+
_8_8_1.test.skip('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
175
176
|
_8_8_1.test.slow();
|
|
176
177
|
const randomString = useFixedNames
|
|
177
178
|
? 'UpgradeTest'
|