@camunda/e2e-test-suite 0.0.752 → 0.0.754
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.
|
@@ -1154,11 +1154,11 @@ class ModelerCreatePage {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
async fillStartEventVariablesForDocHandling(zeebeUrl, zeebeClientId, zeebeClientSecret) {
|
|
1156
1156
|
console.log(`URL: ${zeebeUrl}, ClientId: ${zeebeClientId}, Secret: ${zeebeClientSecret}`);
|
|
1157
|
-
(0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1157
|
+
await (0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1158
1158
|
timeout: 60000,
|
|
1159
1159
|
});
|
|
1160
1160
|
await this.connectorsDocHandlingStartEventElement.click();
|
|
1161
|
-
(0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1161
|
+
await (0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1162
1162
|
timeout: 60000,
|
|
1163
1163
|
});
|
|
1164
1164
|
await this.startEventVariableInputWithThreeVariables.click();
|
|
@@ -1139,11 +1139,11 @@ class ModelerCreatePage {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
async fillStartEventVariablesForDocHandling(zeebeUrl, zeebeClientId, zeebeClientSecret) {
|
|
1141
1141
|
console.log(`URL: ${zeebeUrl}, ClientId: ${zeebeClientId}, Secret: ${zeebeClientSecret}`);
|
|
1142
|
-
(0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1142
|
+
await (0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1143
1143
|
timeout: 60000,
|
|
1144
1144
|
});
|
|
1145
1145
|
await this.connectorsDocHandlingStartEventElement.click();
|
|
1146
|
-
(0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1146
|
+
await (0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1147
1147
|
timeout: 60000,
|
|
1148
1148
|
});
|
|
1149
1149
|
await this.startEventVariableInputWithThreeVariables.click();
|
|
@@ -1125,11 +1125,11 @@ class ModelerCreatePage {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
async fillStartEventVariablesForDocHandling(zeebeUrl, zeebeClientId, zeebeClientSecret) {
|
|
1127
1127
|
console.log(`URL: ${zeebeUrl}, ClientId: ${zeebeClientId}, Secret: ${zeebeClientSecret}`);
|
|
1128
|
-
(0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1128
|
+
await (0, test_1.expect)(this.connectorsDocHandlingStartEventElement).toBeVisible({
|
|
1129
1129
|
timeout: 60000,
|
|
1130
1130
|
});
|
|
1131
1131
|
await this.connectorsDocHandlingStartEventElement.click();
|
|
1132
|
-
(0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1132
|
+
await (0, test_1.expect)(this.startEventVariableInputWithThreeVariables).toBeVisible({
|
|
1133
1133
|
timeout: 60000,
|
|
1134
1134
|
});
|
|
1135
1135
|
await this.startEventVariableInputWithThreeVariables.click();
|
|
@@ -384,12 +384,26 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
384
384
|
timeout: 120000,
|
|
385
385
|
});
|
|
386
386
|
const url = await modelerCreatePage.copyWebhookUrlToClipboardButton.innerText();
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
387
|
+
// Poll for inbound endpoint readiness — connector deployment is async
|
|
388
|
+
// after PI start (same pattern as SM-8.10 connectors-user-flows.spec.ts).
|
|
389
|
+
const deadline = Date.now() + 180000;
|
|
390
|
+
let response;
|
|
391
|
+
let attempt = 0;
|
|
392
|
+
while (Date.now() < deadline) {
|
|
393
|
+
attempt++;
|
|
394
|
+
response = await request.post(url, {
|
|
395
|
+
data: {
|
|
396
|
+
test: 'test',
|
|
397
|
+
},
|
|
398
|
+
});
|
|
399
|
+
if (response.status() === 200)
|
|
400
|
+
break;
|
|
401
|
+
console.error(`Webhook readiness attempt ${attempt}: ${url} -> ${response.status()}`);
|
|
402
|
+
await (0, sleep_1.sleep)(10000);
|
|
403
|
+
}
|
|
404
|
+
if (!response || response.status() !== 200) {
|
|
405
|
+
throw new Error(`Webhook request failed with status ${response?.status()} after ${attempt} attempts`);
|
|
406
|
+
}
|
|
393
407
|
});
|
|
394
408
|
await _8_10_1.test.step('Assert Diagram Has Successfully Completed in Operate', async () => {
|
|
395
409
|
await (0, sleep_1.sleep)(90000);
|