@camunda/e2e-test-suite 0.0.359 → 0.0.360
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.
|
@@ -146,7 +146,7 @@ _8_8_1.test.describe('Smoke Tests', () => {
|
|
|
146
146
|
await (0, test_1.expect)(optimizeTabOptimizeReportPage.oneUserTaskInstance).toHaveCount(2, { timeout: 60000 });
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
|
-
(0, _8_8_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage,
|
|
149
|
+
(0, _8_8_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
150
150
|
_8_8_1.test.slow();
|
|
151
151
|
const randomString = useFixedNames
|
|
152
152
|
? 'UpgradeTest'
|
|
@@ -169,17 +169,18 @@ _8_8_1.test.describe('Smoke Tests', () => {
|
|
|
169
169
|
await modelerCreatePage.runProcessInstance(clusterName);
|
|
170
170
|
});
|
|
171
171
|
await _8_8_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
|
|
172
|
-
await
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
await
|
|
176
|
-
await
|
|
177
|
-
|
|
178
|
-
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page,
|
|
179
|
-
await (0,
|
|
172
|
+
await (0, test_1.expect)(modelerCreatePage.viewProcessInstanceLink).toBeVisible({
|
|
173
|
+
timeout: 60000,
|
|
174
|
+
});
|
|
175
|
+
await modelerCreatePage.clickViewProcessInstanceLink();
|
|
176
|
+
const operateTab = await page.waitForEvent('popup', { timeout: 30000 });
|
|
177
|
+
const operateTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
178
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
|
|
179
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 7 });
|
|
180
|
+
await (0, test_1.expect)(operateTabProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
|
|
180
181
|
timeout: 15000,
|
|
181
182
|
});
|
|
182
|
-
await (0, test_1.expect)(
|
|
183
|
+
await (0, test_1.expect)(operateTabProcessInstancePage
|
|
183
184
|
.connectorResultVariableName('message')
|
|
184
185
|
.getByText('"Message from Mock!"')).toBeVisible({
|
|
185
186
|
timeout: 15000,
|