@camunda/e2e-test-suite 0.0.306 → 0.0.308
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.
|
@@ -39,6 +39,7 @@ class OperateProcessesPage {
|
|
|
39
39
|
.getByRole('checkbox');
|
|
40
40
|
}
|
|
41
41
|
async checkCheckbox(checkbox) {
|
|
42
|
+
await (0, test_1.expect)(checkbox).toBeVisible({ timeout: constants_1._1_SECOND_IN_MS * 10 });
|
|
42
43
|
if (!(await checkbox.isChecked())) {
|
|
43
44
|
await checkbox.click();
|
|
44
45
|
await (0, test_1.expect)(checkbox).toBeChecked({
|
|
@@ -132,7 +133,7 @@ class OperateProcessesPage {
|
|
|
132
133
|
catch (err) {
|
|
133
134
|
lastError = err instanceof Error ? err.message : err;
|
|
134
135
|
await this.page.reload();
|
|
135
|
-
await (0, sleep_1.sleep)(
|
|
136
|
+
await (0, sleep_1.sleep)(5000);
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
throw new Error(`Failed to open instance "${processName}" after ${MAX_ATTEMPTS} attempts. Last error: ${String(lastError)}`);
|
|
@@ -11,7 +11,6 @@ const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWi
|
|
|
11
11
|
const users_1 = require("../../utils/users");
|
|
12
12
|
const mainUser = (0, users_1.getTestUser)('twentyFifthUser');
|
|
13
13
|
_8_10_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
|
|
14
|
-
_8_10_1.test.skip(true, 'Skipped due to bug 5232: https://github.com/camunda/camunda-operator/issues/5232');
|
|
15
14
|
const clusterNames = {
|
|
16
15
|
'RBA On User Flow - No User Permission': 'First RBA V1 Cluster',
|
|
17
16
|
'RBA On User Flow - Permission for One Process': 'Second RBA V1 Cluster',
|
|
@@ -13,7 +13,6 @@ const users_1 = require("../../utils/users");
|
|
|
13
13
|
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
14
14
|
const mainUser = (0, users_1.getTestUser)('twentySixthUser');
|
|
15
15
|
_8_10_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () => {
|
|
16
|
-
_8_10_1.test.skip(true, 'Skipped due to bug 5232: https://github.com/camunda/camunda-operator/issues/5232');
|
|
17
16
|
const clusterNames = {
|
|
18
17
|
'RBA On User Flow - No User Permission': 'First RBA V2 Cluster',
|
|
19
18
|
'RBA On User Flow - Permission for One Process': 'Second RBA V2 Cluster',
|
|
@@ -82,8 +82,7 @@ _8_10_1.test.describe.parallel('UTR Enabled User Flows Test @tasklistV1', () =>
|
|
|
82
82
|
await (0, expectTextWithRetry_1.expectTextWithRetry)(page, taskName3);
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
|
-
|
|
86
|
-
_8_10_1.test.skip('User Task Restrictions Enabled Flow - Candidate Group', async ({ page, modelerHomePage, appsPage, modelerCreatePage, browser, taskPanelPage, ocIdentityGroupsPage, ocIdentityHomePage, }) => {
|
|
85
|
+
(0, _8_10_1.test)('User Task Restrictions Enabled Flow - Candidate Group', async ({ page, modelerHomePage, appsPage, modelerCreatePage, browser, taskPanelPage, ocIdentityGroupsPage, ocIdentityHomePage, }) => {
|
|
87
86
|
_8_10_1.test.slow();
|
|
88
87
|
const randomName = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
89
88
|
const processName = 'User_Task_Process_Candidate_Group' + randomName;
|