@camunda/e2e-test-suite 0.0.701 → 0.0.703
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.
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OCIdentityGroupsPage = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
5
|
const sleep_1 = require("../../utils/sleep");
|
|
6
|
+
const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
|
|
6
7
|
class OCIdentityGroupsPage {
|
|
7
8
|
page;
|
|
8
9
|
groupsList;
|
|
@@ -157,7 +158,16 @@ class OCIdentityGroupsPage {
|
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
160
|
async assignUserToGroup(userName) {
|
|
160
|
-
|
|
161
|
+
// The group detail page (and its members API) can be slow to render the
|
|
162
|
+
// "Assign user" button right after navigating into a freshly created
|
|
163
|
+
// group, so retry the click and reload between attempts instead of
|
|
164
|
+
// relying on a single default-timeout click.
|
|
165
|
+
await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.assignUserButton, {
|
|
166
|
+
postAction: async () => {
|
|
167
|
+
await this.page.reload();
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
await (0, test_1.expect)(this.searchBox).toBeVisible({ timeout: 10000 });
|
|
161
171
|
await this.searchBox.fill(userName);
|
|
162
172
|
await this.assignUserButtonModal.click();
|
|
163
173
|
await (0, sleep_1.sleep)(8000);
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OCIdentityGroupsPage = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
5
|
const sleep_1 = require("../../utils/sleep");
|
|
6
|
+
const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
|
|
6
7
|
class OCIdentityGroupsPage {
|
|
7
8
|
page;
|
|
8
9
|
groupsList;
|
|
@@ -158,7 +159,16 @@ class OCIdentityGroupsPage {
|
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
161
|
async assignUserToGroup(userName) {
|
|
161
|
-
|
|
162
|
+
// The group detail page (and its members API) can be slow to render the
|
|
163
|
+
// "Assign user" button right after navigating into a freshly created
|
|
164
|
+
// group, so retry the click and reload between attempts instead of
|
|
165
|
+
// relying on a single default-timeout click.
|
|
166
|
+
await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.assignUserButton, {
|
|
167
|
+
postAction: async () => {
|
|
168
|
+
await this.page.reload();
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
await (0, test_1.expect)(this.searchBox).toBeVisible({ timeout: 10000 });
|
|
162
172
|
await this.searchBox.fill(userName);
|
|
163
173
|
await this.assignUserButtonModal.click();
|
|
164
174
|
await (0, sleep_1.sleep)(8000);
|
|
@@ -372,6 +372,9 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
372
372
|
await modelerCreatePage.clickAppendEndEventButton();
|
|
373
373
|
await (0, sleep_1.sleep)(10000);
|
|
374
374
|
await page.reload();
|
|
375
|
+
await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({
|
|
376
|
+
timeout: 120000,
|
|
377
|
+
});
|
|
375
378
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
376
379
|
});
|
|
377
380
|
await _8_10_1.test.step('Assert Webhook Is Active In Cluster And Make Authorization Request', async () => {
|