@camunda/e2e-test-suite 0.0.465 → 0.0.466
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.
|
@@ -13,7 +13,6 @@ const UtilitiesPage_1 = require("../../pages/8.10/UtilitiesPage");
|
|
|
13
13
|
const OptimizeHomePage_1 = require("../../pages/8.10/OptimizeHomePage");
|
|
14
14
|
const OptimizeCollectionsPage_1 = require("../../pages/8.10/OptimizeCollectionsPage");
|
|
15
15
|
const OptimizeReportPage_1 = require("../../pages/8.10/OptimizeReportPage");
|
|
16
|
-
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
17
16
|
const users_1 = require("../../utils/users");
|
|
18
17
|
const sleep_1 = require("../../utils/sleep");
|
|
19
18
|
const constants_1 = require("../../utils/constants");
|
|
@@ -204,18 +203,14 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
204
203
|
const operateTab = await page.waitForEvent('popup', {
|
|
205
204
|
timeout: constants_1.TIMEOUT.navigation,
|
|
206
205
|
});
|
|
207
|
-
const operateHomePage = new OperateHomePage_1.OperateHomePage(operateTab);
|
|
208
|
-
const operateProcessesPage = new OperateProcessesPage_1.OperateProcessesPage(operateTab);
|
|
209
206
|
const operateProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
210
|
-
await
|
|
211
|
-
await
|
|
212
|
-
await
|
|
213
|
-
await (0,
|
|
214
|
-
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(operateTab, operateProcessInstancePage.variablesList, { totalTimeout: constants_1.TIMEOUT.navigation, maxRetries: 5 });
|
|
215
|
-
await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({ timeout: constants_1.TIMEOUT.short });
|
|
207
|
+
await operateProcessInstancePage.closePopOverIfVisible();
|
|
208
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'completed icon in Operate', constants_1.TIMEOUT.processComplete);
|
|
209
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTab, operateProcessInstancePage.variablesList, 'variable list in Operate', constants_1.TIMEOUT.navigation);
|
|
210
|
+
await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({ timeout: constants_1.TIMEOUT.navigation });
|
|
216
211
|
await (0, test_1.expect)(operateProcessInstancePage
|
|
217
212
|
.connectorResultVariableName('message')
|
|
218
|
-
.getByText('"Message from Mock!"')).toBeVisible({ timeout: constants_1.TIMEOUT.
|
|
213
|
+
.getByText('"Message from Mock!"')).toBeVisible({ timeout: constants_1.TIMEOUT.navigation });
|
|
219
214
|
});
|
|
220
215
|
});
|
|
221
216
|
});
|