@camunda/e2e-test-suite 0.0.307 → 0.0.308
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.
|
@@ -39,6 +39,7 @@ class OperateProcessesPage {
|
|
|
39
39
|
.getByRole('checkbox');
|
|
40
40
|
}
|
|
41
41
|
async checkCheckbox(checkbox) {
|
|
42
|
+
await (0, test_1.expect)(checkbox).toBeVisible({ timeout: constants_1._1_SECOND_IN_MS * 10 });
|
|
42
43
|
if (!(await checkbox.isChecked())) {
|
|
43
44
|
await checkbox.click();
|
|
44
45
|
await (0, test_1.expect)(checkbox).toBeChecked({
|
|
@@ -132,7 +133,7 @@ class OperateProcessesPage {
|
|
|
132
133
|
catch (err) {
|
|
133
134
|
lastError = err instanceof Error ? err.message : err;
|
|
134
135
|
await this.page.reload();
|
|
135
|
-
await (0, sleep_1.sleep)(
|
|
136
|
+
await (0, sleep_1.sleep)(5000);
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
throw new Error(`Failed to open instance "${processName}" after ${MAX_ATTEMPTS} attempts. Last error: ${String(lastError)}`);
|