@camunda/e2e-test-suite 0.0.1619 → 0.0.1620
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.
|
@@ -920,7 +920,14 @@ class ClusterDetailsPage {
|
|
|
920
920
|
console.log(`Attempt ${attempt}: Error filling value input:`, error);
|
|
921
921
|
}
|
|
922
922
|
if (attempt < maxRetries) {
|
|
923
|
-
|
|
923
|
+
// A closed dialog never brings the field back; let createAPIClient()
|
|
924
|
+
// reopen it instead of spending the remaining attempts here.
|
|
925
|
+
if (!(await this.createClientCredentialsDialog.isVisible())) {
|
|
926
|
+
throw new Error('Create client dialog closed before the Client Name field could be filled');
|
|
927
|
+
}
|
|
928
|
+
if (await this.apiClientNameTextbox.isVisible()) {
|
|
929
|
+
await this.apiClientNameTextbox.clear();
|
|
930
|
+
}
|
|
924
931
|
}
|
|
925
932
|
}
|
|
926
933
|
throw new Error(`Failed to fill value input after ${maxRetries} attempts`);
|
|
@@ -893,7 +893,14 @@ class ClusterDetailsPage {
|
|
|
893
893
|
console.log(`Attempt ${attempt}: Error filling value input:`, error);
|
|
894
894
|
}
|
|
895
895
|
if (attempt < maxRetries) {
|
|
896
|
-
|
|
896
|
+
// A closed dialog never brings the field back; let createAPIClient()
|
|
897
|
+
// reopen it instead of spending the remaining attempts here.
|
|
898
|
+
if (!(await this.createClientCredentialsDialog.isVisible())) {
|
|
899
|
+
throw new Error('Create client dialog closed before the Client Name field could be filled');
|
|
900
|
+
}
|
|
901
|
+
if (await this.apiClientNameTextbox.isVisible()) {
|
|
902
|
+
await this.apiClientNameTextbox.clear();
|
|
903
|
+
}
|
|
897
904
|
}
|
|
898
905
|
}
|
|
899
906
|
throw new Error(`Failed to fill value input after ${maxRetries} attempts`);
|