@camunda/e2e-test-suite 0.0.773 → 0.0.774
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.
|
@@ -6,8 +6,11 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
6
6
|
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
7
7
|
const test_1 = require("@playwright/test");
|
|
8
8
|
const sleep_1 = require("../../utils/sleep");
|
|
9
|
-
const constants_1 = require("../../utils/constants");
|
|
10
9
|
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
10
|
+
const webhookAssertionOptions = {
|
|
11
|
+
intervals: [10000, 15000, 30000, 30000],
|
|
12
|
+
timeout: 120000,
|
|
13
|
+
};
|
|
11
14
|
c8Run_8_9_1.test.beforeAll(async () => {
|
|
12
15
|
await (0, apiHelpers_1.waitForConnectorsReady)();
|
|
13
16
|
await Promise.all([
|
|
@@ -79,7 +82,7 @@ c8Run_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
79
82
|
const response = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST +
|
|
80
83
|
'/inbound/test-webhook-id');
|
|
81
84
|
await (0, test_1.expect)(response.status()).toBe(200);
|
|
82
|
-
}).toPass(
|
|
85
|
+
}).toPass(webhookAssertionOptions);
|
|
83
86
|
});
|
|
84
87
|
await c8Run_8_9_1.test.step('Assert Diagram Has Successfully Completed in Operate', async () => {
|
|
85
88
|
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 120000 });
|
|
@@ -101,7 +104,7 @@ c8Run_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
101
104
|
},
|
|
102
105
|
});
|
|
103
106
|
await (0, test_1.expect)(response.status()).toBe(200);
|
|
104
|
-
}).toPass(
|
|
107
|
+
}).toPass(webhookAssertionOptions);
|
|
105
108
|
});
|
|
106
109
|
await c8Run_8_9_1.test.step('Assert Diagram Has Successfully Completed in Operate', async () => {
|
|
107
110
|
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 120000 });
|