@camunda/e2e-test-suite 0.0.1461 → 0.0.1462
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,6 +6,7 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
7
|
const UtilitiesPage_1 = require("../../pages/SM-8.8/UtilitiesPage");
|
|
8
8
|
const resetSession_1 = require("../../utils/resetSession");
|
|
9
|
+
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
9
10
|
SM_8_8_1.test.describe.configure({ mode: 'parallel' });
|
|
10
11
|
SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
11
12
|
SM_8_8_1.test.beforeEach(async ({ navigationPage }, testInfo) => {
|
|
@@ -140,11 +141,16 @@ SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
|
140
141
|
await (0, test_1.expect)(operateHomePage.editVariableSpinner).not.toBeVisible({
|
|
141
142
|
timeout: 120000,
|
|
142
143
|
});
|
|
143
|
-
await (0,
|
|
144
|
-
|
|
144
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, page.getByText('"updatedValue"'), {
|
|
145
|
+
totalTimeout: 180000,
|
|
146
|
+
visibilityTimeout: 30000,
|
|
147
|
+
maxRetries: 6,
|
|
148
|
+
postAction: async () => {
|
|
149
|
+
await page.reload();
|
|
150
|
+
},
|
|
145
151
|
});
|
|
146
|
-
await (0, test_1.expect)(page.getByText('"
|
|
147
|
-
timeout:
|
|
152
|
+
await (0, test_1.expect)(page.getByText('"testValue"')).not.toBeVisible({
|
|
153
|
+
timeout: 30000,
|
|
148
154
|
});
|
|
149
155
|
await (0, sleep_1.sleep)(10000);
|
|
150
156
|
await navigationPage.goToTasklist();
|