@camunda/e2e-test-suite 0.0.912 → 0.0.914
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.
|
@@ -494,11 +494,16 @@ class ClusterDetailsPage {
|
|
|
494
494
|
await this.checkOptimizeCheckbox();
|
|
495
495
|
await this.checkSecretsCheckbox();
|
|
496
496
|
await this.clickCreateButton();
|
|
497
|
+
// The credentials dialog only renders once POST .../clients resolves, and
|
|
498
|
+
// that call can take well over 20s on a freshly created cluster.
|
|
497
499
|
await (0, test_1.expect)(this.clientCredentialsDialog).toBeVisible({
|
|
498
|
-
timeout:
|
|
500
|
+
timeout: 60000,
|
|
499
501
|
});
|
|
500
|
-
await (0, test_1.expect)(this.clientCredentialsDialog.getByText('The Client Secret will not be shown again.')).toBeVisible();
|
|
501
|
-
|
|
502
|
+
await (0, test_1.expect)(this.clientCredentialsDialog.getByText('The Client Secret will not be shown again.')).toBeVisible({ timeout: 30000 });
|
|
503
|
+
// The clients table behind the dialog re-fetches after the create, and
|
|
504
|
+
// renders a skeleton (no `row` roles at all) until that GET resolves — so
|
|
505
|
+
// the default 5s expect timeout can expire before the new row exists.
|
|
506
|
+
await (0, test_1.expect)(this.clientsList.filter({ hasText: name })).toContainText(/(?=.*Orchestration)(?=.*Optimize)(?=.*Secrets)/, { timeout: 60000 });
|
|
502
507
|
}
|
|
503
508
|
async clickEnvVarsButton() {
|
|
504
509
|
await (0, test_1.expect)(this.envVarsTab).toBeVisible({ timeout: 40000 });
|