@camunda/e2e-test-suite 0.0.315 → 0.0.316

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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdentityPage = void 0;
4
+ const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
4
5
  class IdentityPage {
5
6
  page;
6
7
  identityBanner;
@@ -129,7 +130,15 @@ class IdentityPage {
129
130
  await this.assignedRolesTab.click();
130
131
  }
131
132
  async clickDemoUser() {
132
- await this.demoUser.click({ timeout: 180000 });
133
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.demoUser, {
134
+ visibilityTimeout: 15000,
135
+ totalTimeout: 90000,
136
+ postAction: async () => {
137
+ await this.page.reload();
138
+ await this.clickUsersLink();
139
+ },
140
+ });
141
+ await this.demoUser.click();
133
142
  }
134
143
  async clickDeleteAccessButton(accessToDelete) {
135
144
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.315",
3
+ "version": "0.0.316",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",