@camunda/e2e-test-suite 0.0.141 → 0.0.142
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.
|
@@ -95,9 +95,12 @@ class Authorization {
|
|
|
95
95
|
await this.createAuthorizationResourceTypeOption(authorization.resourceType).click({ timeout: 30000 });
|
|
96
96
|
await this.createAuthorizationResourceIdField.fill(authorization.resourceId);
|
|
97
97
|
for (const permission of authorization.accessPermissions) {
|
|
98
|
-
await this.createAuthorizationAccessPermission(permission).
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
await (0, test_1.expect)(await this.createAuthorizationAccessPermission(permission)).toBeVisible();
|
|
99
|
+
if (!(await this.createAuthorizationAccessPermission(permission).isChecked())) {
|
|
100
|
+
await this.createAuthorizationAccessPermission(permission).click({
|
|
101
|
+
force: true,
|
|
102
|
+
});
|
|
103
|
+
}
|
|
101
104
|
}
|
|
102
105
|
await this.createAuthorizationSubmitButton.click();
|
|
103
106
|
await (0, test_1.expect)(this.createAuthorizationModal).not.toBeVisible();
|
|
@@ -850,10 +850,14 @@ class ModelerCreatePage {
|
|
|
850
850
|
}
|
|
851
851
|
async clickIntermediateWebhookConnectorOption() {
|
|
852
852
|
try {
|
|
853
|
-
await this.intermediateWebhookConnectorOption.
|
|
853
|
+
await (0, test_1.expect)(this.intermediateWebhookConnectorOption).toBeVisible({
|
|
854
|
+
timeout: 20000,
|
|
855
|
+
});
|
|
856
|
+
await this.intermediateWebhookConnectorOption.click();
|
|
854
857
|
}
|
|
855
858
|
catch (error) {
|
|
856
859
|
await this.page.reload();
|
|
860
|
+
await (0, test_1.expect)(this.secondElement).toBeVisible({ timeout: 20000 });
|
|
857
861
|
await this.secondElement.click();
|
|
858
862
|
await this.changeTypeButton.click({ force: true });
|
|
859
863
|
await this.intermediateWebhookConnectorOption.click();
|