@camunda/e2e-test-suite 0.0.398 → 0.0.400
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.
|
@@ -15,7 +15,13 @@ const createReportForProcess = async (optimizeCollectionsPage, optimizeReportPag
|
|
|
15
15
|
break;
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
|
-
|
|
18
|
+
try {
|
|
19
|
+
await optimizeReportPage.clickCancelButton();
|
|
20
|
+
}
|
|
21
|
+
catch (cancelError) {
|
|
22
|
+
// Page may have been closed due to test timeout, ignore
|
|
23
|
+
}
|
|
24
|
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
19
25
|
}
|
|
20
26
|
retries--;
|
|
21
27
|
(0, test_1.expect)(retries).toBeGreaterThan(0);
|
|
@@ -15,7 +15,13 @@ const createReportForProcess = async (optimizeCollectionsPage, optimizeReportPag
|
|
|
15
15
|
break;
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
|
-
|
|
18
|
+
try {
|
|
19
|
+
await optimizeReportPage.clickCancelButton();
|
|
20
|
+
}
|
|
21
|
+
catch (cancelError) {
|
|
22
|
+
// Page may have been closed due to test timeout, ignore
|
|
23
|
+
}
|
|
24
|
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
19
25
|
}
|
|
20
26
|
retries--;
|
|
21
27
|
(0, test_1.expect)(retries).toBeGreaterThan(0);
|