@camunda/e2e-test-suite 0.0.526 → 0.0.528

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.
@@ -62,7 +62,7 @@ class OCIdentityHomePage {
62
62
  await this.authorizationsTab.click();
63
63
  }
64
64
  async clickRolesTab() {
65
- await (0, test_1.expect)(this.rolesTab).toBeVisible({ timeout: 30000 });
65
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.rolesTab);
66
66
  await this.rolesTab.click();
67
67
  }
68
68
  async clickGroupsTab() {
@@ -4,6 +4,7 @@ exports.OCIdentityRolesPage = void 0;
4
4
  const test_1 = require("@playwright/test");
5
5
  const UtilitiesPage_1 = require("../SM-8.8/UtilitiesPage");
6
6
  const expectLocatorWithPagination_1 = require("../../utils/assertionHelpers/expectLocatorWithPagination");
7
+ const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
7
8
  class OCIdentityRolesPage {
8
9
  page;
9
10
  selectResourceTypeTab;
@@ -173,7 +174,10 @@ class OCIdentityRolesPage {
173
174
  await this.assignUserSubButton.click();
174
175
  }
175
176
  async clickAdminRole() {
176
- await (0, test_1.expect)(this.adminRole).toBeVisible({ timeout: 60000 });
177
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.adminRole, {
178
+ visibilityTimeout: 30000,
179
+ totalTimeout: 120000,
180
+ });
177
181
  await this.adminRole.click();
178
182
  }
179
183
  async clickClientsTab() {
@@ -660,7 +660,11 @@ class ModelerCreatePage {
660
660
  await (0, sleep_1.sleep)(5000);
661
661
  await marketplace.fillSearchForConnectorTextbox('REST Connector');
662
662
  await marketplace.downloadConnectorToProject();
663
- await this.restConnectorOption.click({ timeout: 120000 });
663
+ // Marketplace closes the change-type panel; reopen it so the
664
+ // newly installed connector appears before clicking.
665
+ await this.changeTypeButton.click({ force: true, timeout: 60000 });
666
+ await (0, test_1.expect)(this.restConnectorOption).toBeVisible({ timeout: 90000 });
667
+ await this.restConnectorOption.click({ timeout: 60000 });
664
668
  }
665
669
  return;
666
670
  }
@@ -177,6 +177,9 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
177
177
  await connectorMarketplacePage.fillSearchForConnectorTextbox('REST Connector');
178
178
  await (0, sleep_1.sleep)(10000);
179
179
  await connectorMarketplacePage.downloadConnectorToProject();
180
+ // Marketplace closes the change-type panel; reopen it so the
181
+ // newly installed connector appears in the list.
182
+ await modelerCreatePage.clickChangeTypeButton();
180
183
  }
181
184
  await modelerCreatePage.clickRestConnectorOption();
182
185
  await connectorSettingsPage.clickAuthenticationTab();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.526",
3
+ "version": "0.0.528",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",