@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).click({
99
- force: true,
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.click({ timeout: 20000 });
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.141",
3
+ "version": "0.0.142",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",