@camunda/e2e-test-suite 0.0.1117 → 0.0.1119
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.
|
@@ -224,11 +224,20 @@ class IdpCreatePage {
|
|
|
224
224
|
await this.idpExtractionTemplateName.fill(name);
|
|
225
225
|
}
|
|
226
226
|
async clickCreateIdpClassificationTemplateButton() {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
227
|
+
for (let attempt = 0; attempt < 3; attempt++) {
|
|
228
|
+
await this.createNewDropdownButton.click({ timeout: 60000 });
|
|
229
|
+
try {
|
|
230
|
+
await (0, test_1.expect)(this.createClassificationTemplateOption).toBeVisible({
|
|
231
|
+
timeout: 10000,
|
|
232
|
+
});
|
|
233
|
+
await this.createClassificationTemplateOption.click({ timeout: 10000 });
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
catch {
|
|
237
|
+
// menu did not open, or item detached before the click; retry
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
throw new Error('Failed to click create classification template option after 3 attempts');
|
|
232
241
|
}
|
|
233
242
|
async fillIdpClassificationTemplateName(name) {
|
|
234
243
|
await this.idpClassificationTemplateName.fill(name);
|