@camunda/e2e-test-suite 0.0.1646 → 0.0.1648
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.
- package/dist/pages/SM-8.11/ManagementIdentityPage.d.ts +1 -0
- package/dist/pages/SM-8.11/ManagementIdentityPage.js +46 -0
- package/dist/pages/SM-8.8/OCTenantPage.d.ts +1 -0
- package/dist/pages/SM-8.8/OCTenantPage.js +12 -1
- package/dist/tests/8.11/access-user-role-management.spec.js +2 -1
- package/dist/tests/8.11/agentic-ai-user-flows.spec.js +2 -1
- package/dist/tests/8.11/aws-cluster-user-flows.spec.js +2 -1
- package/dist/tests/8.11/aws-connectors-user-flows.spec.js +2 -1
- package/dist/tests/8.11/cluster-variables.spec.js +2 -1
- package/dist/tests/8.11/connectors-cors.spec.js +2 -1
- package/dist/tests/8.11/connectors-user-flows.spec.js +2 -1
- package/dist/tests/8.11/console-user-flows.spec.js +2 -1
- package/dist/tests/8.11/hto-user-flows.spec.js +2 -1
- package/dist/tests/8.11/idp-user-flows.spec.js +2 -1
- package/dist/tests/8.11/login-negative-tests.spec.js +2 -1
- package/dist/tests/8.11/login.spec.js +2 -1
- package/dist/tests/8.11/navigation.spec.js +2 -1
- package/dist/tests/8.11/operate-access-flow.spec.js +2 -1
- package/dist/tests/8.11/optimize-agentic-control-panel-api.spec.js +2 -1
- package/dist/tests/8.11/optimize-agentic-control-panel-ui.spec.js +2 -1
- package/dist/tests/8.11/optimize-api-tests.spec.js +16 -8
- package/dist/tests/8.11/optimize-collections-api.spec.js +4 -3
- package/dist/tests/8.11/optimize-collections-ui.spec.js +2 -1
- package/dist/tests/8.11/optimize-data-filters-api.spec.js +2 -1
- package/dist/tests/8.11/optimize-data-filters-ui.spec.js +2 -1
- package/dist/tests/8.11/optimize-exporter-filters-importer-e2e.spec.js +4 -2
- package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.js +2 -1
- package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-e2e-flow.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.js +2 -2
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-incident-tools.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +2 -1
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-variable-tools.spec.js +2 -1
- package/dist/tests/8.11/play.spec.js +2 -1
- package/dist/tests/8.11/prod-cluster-cleanup.spec.js +2 -1
- package/dist/tests/8.11/rba-enabled-v2-user-flows.spec.js +2 -1
- package/dist/tests/8.11/saas-migration-path-user-flows.spec.js +2 -1
- package/dist/tests/8.11/smoke-tests.spec.js +2 -1
- package/dist/tests/8.11/test-setup.spec.js +2 -1
- package/dist/tests/8.11/web-modeler-user-flows.spec.js +2 -1
- package/dist/tests/SM-8.11/identity-user-flows.spec.js +11 -7
- package/dist/tests/SM-8.8/mt-enabled-user-flows.spec.js +10 -2
- package/dist/utils/api/auth.js +49 -17
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ declare class ManagementIdentityPage {
|
|
|
29
29
|
clickDemoUser(): Promise<void>;
|
|
30
30
|
clickDeleteAccessButton(accessToDelete: string | string[]): Promise<void>;
|
|
31
31
|
clickConfirmDeleteButton(): Promise<void>;
|
|
32
|
+
removeAssignedRole(accessToDelete: string | string[], reopenUserRoles: () => Promise<void>): Promise<void>;
|
|
32
33
|
clickAssignRolesButton(): Promise<void>;
|
|
33
34
|
clickAddButton(): Promise<void>;
|
|
34
35
|
clickOptimizeCheckbox(): Promise<void>;
|
|
@@ -139,6 +139,52 @@ class ManagementIdentityPage {
|
|
|
139
139
|
await (0, test_1.expect)(this.confirmDeleteButton, 'The delete-role confirmation dialog did not appear.').toBeVisible({ timeout: 60000 });
|
|
140
140
|
await this.confirmDeleteButton.click();
|
|
141
141
|
}
|
|
142
|
+
// A user removing roles from their own account changes the claims behind
|
|
143
|
+
// their IDENTITY_JWT session. Nightly run 42734128630 deleted Optimize (204)
|
|
144
|
+
// and, 400 ms later, sent the Hub delete without the IDENTITY_JWT cookie, got
|
|
145
|
+
// a 401, and the UI dropped it silently — Hub stayed assigned, so the later
|
|
146
|
+
// "assign Hub" step found no Hub checkbox (assigned roles are not offered).
|
|
147
|
+
// Confirm each removal actually landed in the assigned-roles table, and
|
|
148
|
+
// re-open the user's roles (re-authenticating via `reopenUserRoles`) to retry
|
|
149
|
+
// when it did not.
|
|
150
|
+
async removeAssignedRole(accessToDelete, reopenUserRoles) {
|
|
151
|
+
const candidates = typeof accessToDelete === 'string' ? [accessToDelete] : accessToDelete;
|
|
152
|
+
const rowSelector = candidates.map((c) => `:text("${c}")`).join(', ');
|
|
153
|
+
const rolesTable = this.page.getByRole('table', {
|
|
154
|
+
name: 'Roles assigned to user',
|
|
155
|
+
});
|
|
156
|
+
const roleRow = rolesTable.locator(rowSelector).first();
|
|
157
|
+
const maxAttempts = 3;
|
|
158
|
+
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
159
|
+
if (attempt > 1) {
|
|
160
|
+
await reopenUserRoles();
|
|
161
|
+
// The user keeps ManagementIdentity throughout, so its row proves the
|
|
162
|
+
// table has rendered before we read the target role's absence.
|
|
163
|
+
await (0, test_1.expect)(rolesTable.getByText('Provides full access to Management Identity')).toBeVisible({ timeout: 60000 });
|
|
164
|
+
const stillAssigned = await roleRow
|
|
165
|
+
.waitFor({ state: 'visible', timeout: 10000 })
|
|
166
|
+
.then(() => true)
|
|
167
|
+
.catch(() => false);
|
|
168
|
+
if (!stillAssigned) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
await this.clickDeleteAccessButton(candidates);
|
|
173
|
+
await this.clickConfirmDeleteButton();
|
|
174
|
+
const removed = await roleRow
|
|
175
|
+
.waitFor({ state: 'hidden', timeout: 30000 })
|
|
176
|
+
.then(() => true)
|
|
177
|
+
.catch(() => false);
|
|
178
|
+
if (removed) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
console.log(`Attempt ${attempt} to remove role ${candidates.join(' / ')} did ` +
|
|
182
|
+
'not take effect; re-opening the user roles and retrying...');
|
|
183
|
+
}
|
|
184
|
+
await (0, test_1.expect)(roleRow, `Role matching ${candidates
|
|
185
|
+
.map((c) => `"${c}"`)
|
|
186
|
+
.join(' or ')} is still assigned after ${maxAttempts} removal attempts.`).toBeHidden({ timeout: 30000 });
|
|
187
|
+
}
|
|
142
188
|
async clickAssignRolesButton() {
|
|
143
189
|
await this.assignRolesButton.click();
|
|
144
190
|
}
|
|
@@ -62,6 +62,7 @@ declare class OCTenantPage {
|
|
|
62
62
|
clickRoleIdSearchBox(): Promise<void>;
|
|
63
63
|
fillRoleIdSearchBox(roleId: string, roleIdentifier: string): Promise<void>;
|
|
64
64
|
clickAssignRoleSubButton(): Promise<void>;
|
|
65
|
+
private isRoleAssigned;
|
|
65
66
|
assignRoleToTenant(roleId: string, roleIdentifier: string): Promise<void>;
|
|
66
67
|
}
|
|
67
68
|
export { OCTenantPage };
|
|
@@ -268,10 +268,21 @@ class OCTenantPage {
|
|
|
268
268
|
async clickAssignRoleSubButton() {
|
|
269
269
|
await this.assignRoleSubButton.click();
|
|
270
270
|
}
|
|
271
|
+
async isRoleAssigned(roleId) {
|
|
272
|
+
return this.row(roleId)
|
|
273
|
+
.waitFor({ state: 'visible', timeout: 15000 })
|
|
274
|
+
.then(() => true)
|
|
275
|
+
.catch(() => false);
|
|
276
|
+
}
|
|
271
277
|
async assignRoleToTenant(roleId, roleIdentifier) {
|
|
272
278
|
await this.clickRolesTab();
|
|
273
279
|
await this.page.waitForLoadState('networkidle');
|
|
274
|
-
|
|
280
|
+
// The roles table renders from its own fetch, which `networkidle` can
|
|
281
|
+
// resolve ahead of, so an immediate `isVisible()` reads the table as empty
|
|
282
|
+
// and reopens the modal for a role that is already assigned. The assign
|
|
283
|
+
// dropdown never offers an already-assigned role, so "Assign role" stays
|
|
284
|
+
// disabled and that attempt can never converge.
|
|
285
|
+
if (await this.isRoleAssigned(roleId)) {
|
|
275
286
|
console.log(`Role ${roleId} is already assigned to tenant`);
|
|
276
287
|
return;
|
|
277
288
|
}
|
|
@@ -18,7 +18,8 @@ const testUser = (0, users_1.getTestUser)('mainUser');
|
|
|
18
18
|
const sharedWorkspaceName = 'Cross Component Test Project';
|
|
19
19
|
let workspaceGrantee;
|
|
20
20
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
21
|
-
|
|
21
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
22
|
+
_8_11_1.test.describe.skip('User Roles User Flow', () => {
|
|
22
23
|
const clusterNames = {
|
|
23
24
|
'Modeler Role User Flow': 'Modeler Role Cluster',
|
|
24
25
|
'Analyst Role User Flow': 'Analyst Role Cluster',
|
|
@@ -85,7 +85,8 @@ const regexTestCases = [
|
|
|
85
85
|
},
|
|
86
86
|
];
|
|
87
87
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
88
|
-
|
|
88
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
89
|
+
_8_11_1.test.describe.skip('Agentic Orchestation User Flows', () => {
|
|
89
90
|
const clusterName = 'Test Cluster';
|
|
90
91
|
_8_11_1.test.beforeAll(async () => {
|
|
91
92
|
authToken = await (0, apiHelpers_1.authSaasAPI)();
|
|
@@ -11,7 +11,8 @@ const users_1 = require("../../utils/users");
|
|
|
11
11
|
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
12
12
|
const testUser = (0, users_1.getTestUser)('fifteenthUser');
|
|
13
13
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
14
|
-
|
|
14
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
15
|
+
_8_11_1.test.describe.skip('AWS Cluster User Flows Test', () => {
|
|
15
16
|
const clusterName = 'AWS Cluster';
|
|
16
17
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
17
18
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
@@ -52,7 +52,8 @@ const users_1 = require("../../utils/users");
|
|
|
52
52
|
const testUser = (0, users_1.getTestUser)('fourteenthUser');
|
|
53
53
|
let authToken;
|
|
54
54
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
55
|
-
|
|
55
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
56
|
+
_8_11_1.test.describe.skip('AWS Connectors User Flows', () => {
|
|
56
57
|
const clusterName = 'Test Cluster';
|
|
57
58
|
// The Zeebe token is taken here rather than in a beforeAll because
|
|
58
59
|
// ensureDefaultClusterApiCredentials needs a logged-in Console page, which
|
|
@@ -46,7 +46,8 @@ let jsonProcessKeyUpdate;
|
|
|
46
46
|
let stringProcessKeyDisplay;
|
|
47
47
|
let stringProcessKeyUpdate;
|
|
48
48
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
49
|
-
|
|
49
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
50
|
+
_8_11_1.test.describe.skip('Cluster Variables User Flows', () => {
|
|
50
51
|
const clusterName = 'Test Cluster';
|
|
51
52
|
_8_11_1.test.beforeAll(async () => {
|
|
52
53
|
authToken = await (0, apiHelpers_1.authSaasAPI)();
|
|
@@ -10,7 +10,8 @@ const testUser = (0, users_1.getTestUser)('seventeenthUser');
|
|
|
10
10
|
const CLUSTER_NAME = 'Test Cluster';
|
|
11
11
|
const INBOUND_INSTANCES = /\/inbound-instances(\?|$)/;
|
|
12
12
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
13
|
-
|
|
13
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
14
|
+
_8_11_1.test.describe.skip('Hub to connectors runtime CORS @tasklistV2', () => {
|
|
14
15
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
15
16
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
16
17
|
});
|
|
@@ -15,7 +15,8 @@ const connectorSecrets_1 = require("../../utils/connectorSecrets");
|
|
|
15
15
|
const constants_1 = require("../../utils/constants");
|
|
16
16
|
const testUser = (0, users_1.getTestUser)('seventeenthUser');
|
|
17
17
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
18
|
-
|
|
18
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
19
|
+
_8_11_1.test.describe.skip('Connectors User Flow Tests @tasklistV2', () => {
|
|
19
20
|
const defaultClusterName = 'Test Cluster';
|
|
20
21
|
const awsCluster = 'AWS Cluster';
|
|
21
22
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
@@ -12,7 +12,8 @@ const mailSlurpClient_1 = require("../../utils/mailSlurpClient");
|
|
|
12
12
|
const constants_1 = require("../../utils/constants");
|
|
13
13
|
const testUser = (0, users_1.getTestUser)('eighteenthUser');
|
|
14
14
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
15
|
-
|
|
15
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
16
|
+
_8_11_1.test.describe.skip('Console User Flow Tests @tasklistV2', () => {
|
|
16
17
|
const clusterName = 'Test Cluster';
|
|
17
18
|
let inbox = '';
|
|
18
19
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
@@ -11,7 +11,8 @@ const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWi
|
|
|
11
11
|
const users_1 = require("../../utils/users");
|
|
12
12
|
const testUser = (0, users_1.getTestUser)('nineteenthUser');
|
|
13
13
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
14
|
-
|
|
14
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
15
|
+
_8_11_1.test.describe.skip('HTO User Flow Tests', () => {
|
|
15
16
|
const clusterName = 'Test Cluster';
|
|
16
17
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
17
18
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
@@ -59,7 +59,8 @@ const classificationTestCases = [
|
|
|
59
59
|
},
|
|
60
60
|
];
|
|
61
61
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
62
|
-
|
|
62
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
63
|
+
_8_11_1.test.describe.skip('IDP User Flow Tests', () => {
|
|
63
64
|
const clusterName = 'Test Cluster';
|
|
64
65
|
_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
65
66
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
@@ -5,7 +5,8 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
5
5
|
const _8_11_1 = require("../../fixtures/8.11");
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
7
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
8
|
-
|
|
8
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
9
|
+
_8_11_1.test.describe.skip('Login Tests - invalid-input - (negative) generated', () => {
|
|
9
10
|
_8_11_1.test.beforeEach(async ({ page }, testInfo) => {
|
|
10
11
|
await page.goto('/');
|
|
11
12
|
await (0, sleep_1.sleep)((testInfo.workerIndex + 1) * 1000);
|
|
@@ -5,7 +5,8 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
5
5
|
const _8_11_1 = require("../../fixtures/8.11");
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
7
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
8
|
-
|
|
8
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
9
|
+
_8_11_1.test.describe.skip('Login Tests', () => {
|
|
9
10
|
_8_11_1.test.beforeEach(async ({ page }, testInfo) => {
|
|
10
11
|
await page.context().clearCookies();
|
|
11
12
|
await page.goto('/');
|
|
@@ -7,7 +7,8 @@ const UtilitiesPage_1 = require("../../pages/8.11/UtilitiesPage");
|
|
|
7
7
|
const users_1 = require("../../utils/users");
|
|
8
8
|
const testUser = (0, users_1.getTestUser)('twentyFirstUser');
|
|
9
9
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
10
|
-
|
|
10
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
11
|
+
_8_11_1.test.describe.skip('Navigation Tests', () => {
|
|
11
12
|
const clusterName = 'Test Cluster';
|
|
12
13
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
13
14
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
@@ -19,7 +19,8 @@ const testUser = (0, users_1.getTestUser)('twentySecondUser');
|
|
|
19
19
|
// of this spec that POSTed V2 paths to it always saw 200/HTML and never
|
|
20
20
|
// the auth response under test).
|
|
21
21
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
22
|
-
|
|
22
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
23
|
+
_8_11_1.test.describe.skip('Cluster V2 API requires authentication @tasklistV2', () => {
|
|
23
24
|
let clientName;
|
|
24
25
|
const clusterName = 'Test Cluster';
|
|
25
26
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
@@ -19,7 +19,8 @@ const clusterName = 'Test Cluster';
|
|
|
19
19
|
// absorbed by loginWithRetry and have never been traced to a failure
|
|
20
20
|
// (docs/saas-login-investigation.md). See docs/serial-specs.md.
|
|
21
21
|
_8_11_1.test.describe.configure({ mode: 'serial' });
|
|
22
|
-
|
|
22
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
23
|
+
_8_11_1.test.describe.skip('Agentic Control Plane Dashboard API Tests @agentic-dashboard-api @8.11', () => {
|
|
23
24
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
24
25
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
25
26
|
});
|
|
@@ -9,7 +9,8 @@ const agenticDashboardHelpers_1 = require("../../utils/agenticDashboardHelpers")
|
|
|
9
9
|
const testUser = (0, users_1.getTestUser)('twentyFirstUser');
|
|
10
10
|
const clusterName = 'Test Cluster';
|
|
11
11
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
12
|
-
|
|
12
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
13
|
+
_8_11_1.test.describe.skip('Agentic Control Plane Dashboard UI Tests @agentic-dashboard-ui @8.11', () => {
|
|
13
14
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
14
15
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
15
16
|
});
|
|
@@ -31,7 +31,8 @@ const assertUnauthorizedResponseBody = async (response) => {
|
|
|
31
31
|
}
|
|
32
32
|
expectUnauthorizedErrorBody(body);
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
35
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests', () => {
|
|
35
36
|
let optimizeCookie;
|
|
36
37
|
let csrfToken;
|
|
37
38
|
let optimizeBearerToken;
|
|
@@ -380,7 +381,8 @@ _8_11_1.test.describe('API optimize SaaS Tests', () => {
|
|
|
380
381
|
(0, test_1.expect)(response.status()).toBe(404);
|
|
381
382
|
});
|
|
382
383
|
});
|
|
383
|
-
|
|
384
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
385
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Conditional Events', () => {
|
|
384
386
|
let optimizeCookie;
|
|
385
387
|
let csrfToken;
|
|
386
388
|
let optimizeBearerToken;
|
|
@@ -569,7 +571,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Conditional Events', () => {
|
|
|
569
571
|
});
|
|
570
572
|
});
|
|
571
573
|
});
|
|
572
|
-
|
|
574
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
575
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Health Readiness', () => {
|
|
573
576
|
let baseUrl;
|
|
574
577
|
_8_11_1.test.beforeAll(async () => {
|
|
575
578
|
baseUrl = process.env.CAMUNDA_OPTIMIZE_BASE_URL;
|
|
@@ -590,7 +593,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Health Readiness', () => {
|
|
|
590
593
|
});
|
|
591
594
|
});
|
|
592
595
|
});
|
|
593
|
-
|
|
596
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
597
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Sharing', () => {
|
|
594
598
|
let optimizeBearerToken;
|
|
595
599
|
let baseUrl;
|
|
596
600
|
_8_11_1.test.beforeAll(async () => {
|
|
@@ -664,7 +668,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Sharing', () => {
|
|
|
664
668
|
});
|
|
665
669
|
});
|
|
666
670
|
});
|
|
667
|
-
|
|
671
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
672
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Dashboard and Report GET edge cases', () => {
|
|
668
673
|
let optimizeBearerToken;
|
|
669
674
|
let optimizeCookie;
|
|
670
675
|
let csrfToken;
|
|
@@ -724,7 +729,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Dashboard and Report GET edge c
|
|
|
724
729
|
});
|
|
725
730
|
});
|
|
726
731
|
});
|
|
727
|
-
|
|
732
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
733
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Export edge cases', () => {
|
|
728
734
|
let optimizeBearerToken;
|
|
729
735
|
let optimizeCookie;
|
|
730
736
|
let csrfToken;
|
|
@@ -866,7 +872,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Export edge cases', () => {
|
|
|
866
872
|
});
|
|
867
873
|
});
|
|
868
874
|
});
|
|
869
|
-
|
|
875
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
876
|
+
_8_11_1.test.describe.skip('API optimize SaaS Tests - Auth edge cases', () => {
|
|
870
877
|
let baseUrl;
|
|
871
878
|
_8_11_1.test.beforeAll(async () => {
|
|
872
879
|
baseUrl = process.env.CAMUNDA_OPTIMIZE_BASE_URL;
|
|
@@ -894,7 +901,8 @@ _8_11_1.test.describe('API optimize SaaS Tests - Auth edge cases', () => {
|
|
|
894
901
|
});
|
|
895
902
|
});
|
|
896
903
|
});
|
|
897
|
-
|
|
904
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
905
|
+
_8_11_1.test.describe.skip('API V2 tests on SaaS cluster', () => {
|
|
898
906
|
let bearerToken;
|
|
899
907
|
const apiUrl = () => process.env.ZEEBE_API_URL;
|
|
900
908
|
_8_11_1.test.beforeAll(async () => {
|
|
@@ -5,7 +5,8 @@ const _8_11_1 = require("../../fixtures/8.11");
|
|
|
5
5
|
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
6
6
|
const randomName_1 = require("../../utils/randomName");
|
|
7
7
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
8
|
-
|
|
8
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
9
|
+
_8_11_1.test.describe.skip('API Optimize Collections Lifecycle Tests @optimize-collections-api @8.11', () => {
|
|
9
10
|
let optimizeCookie;
|
|
10
11
|
let csrfToken;
|
|
11
12
|
let optimizeBearerToken;
|
|
@@ -17,7 +18,7 @@ _8_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
|
|
|
17
18
|
optimizeBearerToken = await (0, apiHelpers_1.authSaasAPI)(process.env.OPTIMIZE_API_TOKEN_AUDIENCE);
|
|
18
19
|
baseUrl = process.env.CAMUNDA_OPTIMIZE_BASE_URL;
|
|
19
20
|
});
|
|
20
|
-
(0, _8_11_1.test)('Create a collection and retrieve it by ID (200)', async ({ request }) => {
|
|
21
|
+
(0, _8_11_1.test)('Create a collection and retrieve it by ID (200)', async ({ request, }) => {
|
|
21
22
|
const collectionName = await (0, randomName_1.randomNameAgregator)('Collection Create');
|
|
22
23
|
const collectionId = await (0, apiHelpers_1.createCollection)(request, {
|
|
23
24
|
name: collectionName,
|
|
@@ -130,7 +131,7 @@ _8_11_1.test.describe('API Optimize Collections Lifecycle Tests @optimize-collec
|
|
|
130
131
|
await (0, apiHelpers_1.assertUnauthorizedResponseBody)(response);
|
|
131
132
|
});
|
|
132
133
|
});
|
|
133
|
-
(0, _8_11_1.test)('Get collection without auth cookie returns 401', async ({ request }) => {
|
|
134
|
+
(0, _8_11_1.test)('Get collection without auth cookie returns 401', async ({ request, }) => {
|
|
134
135
|
const collectionName = await (0, randomName_1.randomNameAgregator)('Collection Auth Get');
|
|
135
136
|
const collectionId = await (0, apiHelpers_1.createCollection)(request, {
|
|
136
137
|
name: collectionName,
|
|
@@ -8,7 +8,8 @@ const users_1 = require("../../utils/users");
|
|
|
8
8
|
const testUser = (0, users_1.getTestUser)('twentySecondUser');
|
|
9
9
|
const clusterName = 'Test Cluster';
|
|
10
10
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
11
|
-
|
|
11
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
12
|
+
_8_11_1.test.describe.skip('Optimize Collections Lifecycle UI Tests @optimize-collections-ui @8.11', () => {
|
|
12
13
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
13
14
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
14
15
|
});
|
|
@@ -59,7 +59,8 @@ _8_11_1.test.afterAll(async () => {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
63
|
+
_8_11_1.test.describe.skip('Optimize Data Filters API @optimize-data-filters-api @8.11', () => {
|
|
63
64
|
_8_11_1.test.slow();
|
|
64
65
|
(0, _8_11_1.test)('T11728029 business_* variable filter enabled by default', async () => {
|
|
65
66
|
skipIfUnavailable();
|
|
@@ -25,7 +25,8 @@ const skipIfUnavailable = () => {
|
|
|
25
25
|
// negative tests would survive parallelising on their own, but they share the
|
|
26
26
|
// form with the ones that save. See docs/serial-specs.md.
|
|
27
27
|
_8_11_1.test.describe.configure({ mode: 'serial' });
|
|
28
|
-
|
|
28
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
29
|
+
_8_11_1.test.describe.skip('Optimize Data Filters UI @optimize-data-filters-ui @8.11', () => {
|
|
29
30
|
_8_11_1.test.slow();
|
|
30
31
|
_8_11_1.test.beforeAll(async ({ browser }) => {
|
|
31
32
|
const context = await browser.newContext();
|
|
@@ -226,7 +226,8 @@ _8_11_1.test.afterAll(async ({ request }) => {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
|
-
|
|
229
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
230
|
+
_8_11_1.test.describe.skip('Optimize exporter filters — variable value type exclusion @optimize-exporter-filters-importer-e2e @8.11', () => {
|
|
230
231
|
_8_11_1.test.slow();
|
|
231
232
|
_8_11_1.test.beforeAll(async () => {
|
|
232
233
|
if (!dataFiltersAvailable) {
|
|
@@ -283,7 +284,8 @@ _8_11_1.test.describe('Optimize exporter filters — variable value type exclusi
|
|
|
283
284
|
});
|
|
284
285
|
});
|
|
285
286
|
});
|
|
286
|
-
|
|
287
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
288
|
+
_8_11_1.test.describe.skip('Optimize exporter filters — Optimize mode restricted record export @optimize-exporter-filters-importer-e2e @8.11', () => {
|
|
287
289
|
_8_11_1.test.slow();
|
|
288
290
|
_8_11_1.test.beforeAll(async () => {
|
|
289
291
|
if (!dataFiltersAvailable) {
|
|
@@ -103,7 +103,8 @@ const createRawDataReport = async (request, options) => (0, apiHelpers_1.retryOn
|
|
|
103
103
|
(0, test_1.expect)(body).toHaveProperty('id');
|
|
104
104
|
return body.id;
|
|
105
105
|
}, 'createRawDataReport');
|
|
106
|
-
|
|
106
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
107
|
+
_8_11_1.test.describe.skip('API Optimize Sharing, Alerts & Export Tests @optimize-sharing-alerts-export-api @8.11', () => {
|
|
107
108
|
let optimizeCookie;
|
|
108
109
|
let csrfToken;
|
|
109
110
|
let optimizeBearerToken;
|
|
@@ -11,7 +11,8 @@ const testUser = (0, users_1.getTestUser)('mainUser');
|
|
|
11
11
|
const clusterName = 'Test Cluster';
|
|
12
12
|
const DEFINITION_KEY = 'customer_onboarding_en';
|
|
13
13
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
14
|
-
|
|
14
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
15
|
+
_8_11_1.test.describe.skip('Optimize Sharing & Export UI Tests @optimize-sharing-alerts-export-ui @8.11', () => {
|
|
15
16
|
let baseUrl;
|
|
16
17
|
let optimizeCookie;
|
|
17
18
|
let csrfToken;
|
package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.js
CHANGED
|
@@ -28,7 +28,8 @@ let mcpSessionId = null;
|
|
|
28
28
|
let restProcessDefinitionKey;
|
|
29
29
|
let compositeToolName;
|
|
30
30
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
31
|
-
|
|
31
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
32
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server — audit log inbound channel', () => {
|
|
32
33
|
_8_11_1.test.beforeAll(async () => {
|
|
33
34
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
34
35
|
mcpProcessesUrl = (0, apiHelpers_1.buildZeebeApiUrl)('/mcp/processes', 'saas', 'agentic_cluster');
|
package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.js
CHANGED
|
@@ -25,7 +25,8 @@ let mcpSessionId = null;
|
|
|
25
25
|
// processInstanceKey of a pre-created instance used by SC-CALL-08 (getProcessInstance smoke).
|
|
26
26
|
let smokeProcessInstanceKey = null;
|
|
27
27
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
28
|
-
|
|
28
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
29
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server — /mcp/processes tools/call', () => {
|
|
29
30
|
_8_11_1.test.beforeAll(async () => {
|
|
30
31
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
31
32
|
mcpProcessesUrl = (0, apiHelpers_1.buildZeebeApiUrl)('/mcp/processes', 'saas', 'agentic_cluster');
|
|
@@ -22,7 +22,8 @@ let messageSubscriptionsSearchUrl;
|
|
|
22
22
|
let processInstancesSearchUrl;
|
|
23
23
|
let mcpSessionId = null;
|
|
24
24
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
25
|
-
|
|
25
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
26
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server — /mcp/processes full E2E flows', () => {
|
|
26
27
|
_8_11_1.test.beforeAll(async () => {
|
|
27
28
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
28
29
|
mcpProcessesUrl = (0, apiHelpers_1.buildZeebeApiUrl)('/mcp/processes', 'saas', 'agentic_cluster');
|
package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.js
CHANGED
|
@@ -23,8 +23,8 @@ let authToken;
|
|
|
23
23
|
let mcpProcessesUrl;
|
|
24
24
|
let messageSubscriptionsSearchUrl;
|
|
25
25
|
let mcpSessionId = null;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
27
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server — /mcp/processes tools/list', () => {
|
|
28
28
|
_8_11_1.test.beforeAll(async () => {
|
|
29
29
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
30
30
|
mcpProcessesUrl = (0, apiHelpers_1.buildZeebeApiUrl)('/mcp/processes', 'saas', 'agentic_cluster');
|
|
@@ -10,7 +10,8 @@ const testUser = (0, users_1.getTestUser)('fourteenthUser');
|
|
|
10
10
|
let authToken;
|
|
11
11
|
let instanceKey;
|
|
12
12
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
13
|
-
|
|
13
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
14
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server - Cluster Tools @tasklistV2', () => {
|
|
14
15
|
const clusterName = 'Agentic Orchestration Cluster';
|
|
15
16
|
_8_11_1.test.beforeAll(async () => {
|
|
16
17
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
@@ -11,7 +11,8 @@ const testUser = (0, users_1.getTestUser)('fifteenthUser');
|
|
|
11
11
|
let authToken;
|
|
12
12
|
let toolsInstanceKey;
|
|
13
13
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
14
|
-
|
|
14
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
15
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server - Incident Tools @tasklistV2', () => {
|
|
15
16
|
const clusterName = 'Agentic Orchestration Cluster';
|
|
16
17
|
_8_11_1.test.beforeAll(async () => {
|
|
17
18
|
authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
@@ -9,7 +9,8 @@ const users_1 = require("../../../utils/users");
|
|
|
9
9
|
const test_1 = require("@playwright/test");
|
|
10
10
|
const testUser = (0, users_1.getTestUser)('fourteenthUser');
|
|
11
11
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
12
|
-
|
|
12
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
13
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server - User Task Tools @tasklistV2', () => {
|
|
13
14
|
const clusterName = 'Agentic Orchestration Cluster';
|
|
14
15
|
const createTestData = async () => {
|
|
15
16
|
const authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
@@ -9,7 +9,8 @@ const users_1 = require("../../../utils/users");
|
|
|
9
9
|
const test_1 = require("@playwright/test");
|
|
10
10
|
const testUser = (0, users_1.getTestUser)('sixteenthUser');
|
|
11
11
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
12
|
-
|
|
12
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
13
|
+
_8_11_1.test.describe.skip('Orchestration Cluster MCP Server - Variable Tools @tasklistV2', () => {
|
|
13
14
|
const clusterName = 'Agentic Orchestration Cluster';
|
|
14
15
|
const createTestData = async () => {
|
|
15
16
|
const authToken = await (0, apiHelpers_1.authSaasAPI)(undefined, 'agentic_cluster');
|
|
@@ -8,7 +8,8 @@ const UtilitiesPage_1 = require("../../pages/8.11/UtilitiesPage");
|
|
|
8
8
|
const users_1 = require("../../utils/users");
|
|
9
9
|
const testUser = (0, users_1.getTestUser)('twentyFourthUser');
|
|
10
10
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
11
|
-
|
|
11
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
12
|
+
_8_11_1.test.describe.skip('Deploy and run a process in Play', () => {
|
|
12
13
|
const clusterName = 'Test Cluster';
|
|
13
14
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
14
15
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
@@ -7,7 +7,8 @@ const prodClusterCleanup_1 = require("../../utils/prodClusterCleanup");
|
|
|
7
7
|
// Runs as its own project after the prod smoke (see the "Delete the clusters"
|
|
8
8
|
// step in .github/actions/run-tests-smoke/action.yml), not as part of the
|
|
9
9
|
// regular suite.
|
|
10
|
-
|
|
10
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
11
|
+
_8_11_1.test.describe.skip('Prod smoke cleanup', () => {
|
|
11
12
|
(0, _8_11_1.test)('Delete the clusters created by the prod smoke', async ({ page, loginPage, }, testInfo) => {
|
|
12
13
|
_8_11_1.test.skip(process.env.IS_PROD !== 'true', 'Only the prod smoke org has a cluster quota to free up');
|
|
13
14
|
_8_11_1.test.slow();
|
|
@@ -12,7 +12,8 @@ const users_1 = require("../../utils/users");
|
|
|
12
12
|
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
13
13
|
const consoleApiHelpers_1 = require("../../utils/consoleApiHelpers");
|
|
14
14
|
const mainUser = (0, users_1.getTestUser)('twentySixthUser');
|
|
15
|
-
|
|
15
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
16
|
+
_8_11_1.test.describe.skip('RBA Enabled User Flows Test @tasklistV2', () => {
|
|
16
17
|
const clusterNames = {
|
|
17
18
|
'RBA On User Flow - No User Permission': 'First RBA V2 Cluster',
|
|
18
19
|
'RBA On User Flow - Permission for One Process': 'Second RBA V2 Cluster',
|
|
@@ -26,7 +26,8 @@ const testUser = process.env.IS_MIGRATION === 'true'
|
|
|
26
26
|
password: process.env.C8_PASSWORD,
|
|
27
27
|
}
|
|
28
28
|
: (0, users_1.getTestUser)('twentyFirstUser');
|
|
29
|
-
|
|
29
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
30
|
+
_8_11_1.test.describe.skip('SaaS Migration Path Tests', () => {
|
|
30
31
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
31
32
|
// Skip if not in migration mode
|
|
32
33
|
if (process.env.IS_MIGRATION !== 'true') {
|
|
@@ -20,7 +20,8 @@ const constants_1 = require("../../utils/constants");
|
|
|
20
20
|
const testUser = (0, users_1.getTestUser)('thirteenthUser');
|
|
21
21
|
const CLUSTER_NAME = 'Test Cluster';
|
|
22
22
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
23
|
-
|
|
23
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
24
|
+
_8_11_1.test.describe.skip('Smoke Tests', () => {
|
|
24
25
|
_8_11_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
25
26
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
26
27
|
});
|
|
@@ -13,7 +13,8 @@ const UtilitiesPage_1 = require("../../pages/8.11/UtilitiesPage");
|
|
|
13
13
|
const users_1 = require("../../utils/users");
|
|
14
14
|
const consoleApiHelpers_1 = require("../../utils/consoleApiHelpers");
|
|
15
15
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
16
|
-
|
|
16
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
17
|
+
_8_11_1.test.describe.skip('Cluster Setup Tests', () => {
|
|
17
18
|
_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
18
19
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
19
20
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
@@ -18,7 +18,8 @@ const mailSlurpClient_1 = require("../../utils/mailSlurpClient");
|
|
|
18
18
|
const users_1 = require("../../utils/users");
|
|
19
19
|
const testUser = (0, users_1.getTestUser)('eleventhUser');
|
|
20
20
|
_8_11_1.test.describe.configure({ mode: 'parallel' });
|
|
21
|
-
|
|
21
|
+
// Skipped due to bug #68766: https://github.com/camunda/camunda/issues/68766
|
|
22
|
+
_8_11_1.test.describe.skip('Web Modeler User Flow Tests', () => {
|
|
22
23
|
const clusterName = 'Test Cluster';
|
|
23
24
|
const inboxes = {
|
|
24
25
|
'Invite New C8 User To Web Modeler Flow @tasklistV2': '',
|
|
@@ -46,20 +46,24 @@ SM_8_11_1.test.describe('Identity User Flow Tests', () => {
|
|
|
46
46
|
await managementIdentityPage.clickUser(testUser);
|
|
47
47
|
await managementIdentityPage.clickAssignedRolesTab();
|
|
48
48
|
});
|
|
49
|
+
// The test user removes roles from its own account, which can drop its
|
|
50
|
+
// Management Identity session mid-flow; this re-opens the roles tab with a
|
|
51
|
+
// fresh login so `removeAssignedRole` can confirm/retry each removal.
|
|
52
|
+
const reopenUserRoles = async () => {
|
|
53
|
+
await navigationPage.goToManagementIdentity(undefined, credentials);
|
|
54
|
+
await managementIdentityPage.clickUsersLink();
|
|
55
|
+
await managementIdentityPage.clickUser(testUser);
|
|
56
|
+
await managementIdentityPage.clickAssignedRolesTab();
|
|
57
|
+
};
|
|
49
58
|
if (node_process_1.default.env.IS_OPTIMIZE !== 'false') {
|
|
50
59
|
await SM_8_11_1.test.step('Remove Access from Optimize', async () => {
|
|
51
|
-
await managementIdentityPage.
|
|
52
|
-
await managementIdentityPage.clickConfirmDeleteButton();
|
|
60
|
+
await managementIdentityPage.removeAssignedRole('Grants full access to Optimize', reopenUserRoles);
|
|
53
61
|
});
|
|
54
62
|
}
|
|
55
63
|
await SM_8_11_1.test.step('Remove Access from Hub', async () => {
|
|
56
64
|
// Either wording, for the same Web Modeler → Hub rename straddle the
|
|
57
65
|
// `modelerCheckbox` locator documents.
|
|
58
|
-
await managementIdentityPage.
|
|
59
|
-
'Grants full access to Hub',
|
|
60
|
-
'Grants full access to Web Modeler',
|
|
61
|
-
]);
|
|
62
|
-
await managementIdentityPage.clickConfirmDeleteButton();
|
|
66
|
+
await managementIdentityPage.removeAssignedRole(['Grants full access to Hub', 'Grants full access to Web Modeler'], reopenUserRoles);
|
|
63
67
|
});
|
|
64
68
|
await SM_8_11_1.test.step('Reset Session', async () => {
|
|
65
69
|
await (0, resetSession_1.resetSession)(browser, page);
|
|
@@ -313,8 +313,16 @@ if (process.env.IS_MT === 'true') {
|
|
|
313
313
|
await operateHomePage.clickProcessesTab();
|
|
314
314
|
await operateProcessesPage.clickProcessInstanceLink(processName, 'completed');
|
|
315
315
|
await operateProcessInstancePage.completedIconAssertion();
|
|
316
|
-
|
|
317
|
-
|
|
316
|
+
// Operate can show the instance as completed before its variables are
|
|
317
|
+
// imported ("The Flow Node has no Variables"), and it does not poll
|
|
318
|
+
// variables of a finished instance, so reload until they arrive.
|
|
319
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, page.getByTestId('variables-list'), {
|
|
320
|
+
totalTimeout: 120000,
|
|
321
|
+
visibilityTimeout: 30000,
|
|
322
|
+
maxRetries: 4,
|
|
323
|
+
postAction: async () => {
|
|
324
|
+
await page.reload();
|
|
325
|
+
},
|
|
318
326
|
});
|
|
319
327
|
await (0, test_1.expect)(page.getByText('"Awesome!"')).toBeVisible({
|
|
320
328
|
timeout: 60000,
|
package/dist/utils/api/auth.js
CHANGED
|
@@ -26,26 +26,58 @@ function cacheKey(clientId, subject = '') {
|
|
|
26
26
|
function basicHeader(username, password) {
|
|
27
27
|
return `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Attempts per token request. The identity provider is shared by the whole
|
|
31
|
+
* cluster and, on a freshly upgraded Helm cluster, answers the odd request
|
|
32
|
+
* with a 5xx for a few seconds at a time (Keycloak's `unknown_error`). A
|
|
33
|
+
* single attempt turns that blip into a hard failure for whichever test
|
|
34
|
+
* happens to need a fresh token — typically the first test of a new worker,
|
|
35
|
+
* such as the `clock` project, whose token cache starts empty.
|
|
36
|
+
*/
|
|
37
|
+
const TOKEN_FETCH_ATTEMPTS = 5;
|
|
38
|
+
/** Backoff before attempt n+1 is `TOKEN_RETRY_BASE_MS * 2^(n-1)`: 1, 2, 4, 8s. */
|
|
39
|
+
const TOKEN_RETRY_BASE_MS = 1000;
|
|
40
|
+
/** Per-attempt timeout, so a hung endpoint cannot eat the test's budget. */
|
|
41
|
+
const TOKEN_REQUEST_TIMEOUT_MS = 15000;
|
|
42
|
+
/**
|
|
43
|
+
* Only server-side and throttling failures are worth retrying. A 4xx means the
|
|
44
|
+
* credentials or request are wrong — retrying cannot help, and the
|
|
45
|
+
* authorization tests rely on an invalid client failing promptly.
|
|
46
|
+
*/
|
|
47
|
+
function isRetryableStatus(status) {
|
|
48
|
+
return status >= 500 || status === 429;
|
|
49
|
+
}
|
|
50
|
+
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
29
51
|
async function fetchToken(request, tokenUrl, form) {
|
|
30
52
|
let response;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
for (let attempt = 1;; attempt++) {
|
|
54
|
+
const isLastAttempt = attempt >= TOKEN_FETCH_ATTEMPTS;
|
|
55
|
+
try {
|
|
56
|
+
response = await request.post(tokenUrl, {
|
|
57
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
58
|
+
form,
|
|
59
|
+
timeout: TOKEN_REQUEST_TIMEOUT_MS,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
// An unreachable token endpoint is the single most likely reason a whole
|
|
64
|
+
// run fails: on a Helm cluster the identity provider may not be serving
|
|
65
|
+
// yet. Reported raw, it surfaces as a Playwright stack inside auth.ts on
|
|
66
|
+
// every one of the suite's tests, which says nothing about the cause.
|
|
67
|
+
console.error(`Token endpoint ${tokenUrl} is unreachable (attempt ${attempt}/${TOKEN_FETCH_ATTEMPTS}): ${error instanceof Error ? error.message : String(error)}`);
|
|
68
|
+
if (isLastAttempt)
|
|
69
|
+
return undefined;
|
|
70
|
+
await sleep(TOKEN_RETRY_BASE_MS * 2 ** (attempt - 1));
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
if (response.ok())
|
|
74
|
+
break;
|
|
46
75
|
const body = await response.text().catch(() => '<no-body>');
|
|
47
|
-
console.error(`Token request to ${tokenUrl} failed with ${response.status()}: ${body}`);
|
|
48
|
-
|
|
76
|
+
console.error(`Token request to ${tokenUrl} failed with ${response.status()} (attempt ${attempt}/${TOKEN_FETCH_ATTEMPTS}): ${body}`);
|
|
77
|
+
if (isLastAttempt || !isRetryableStatus(response.status())) {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
await sleep(TOKEN_RETRY_BASE_MS * 2 ** (attempt - 1));
|
|
49
81
|
}
|
|
50
82
|
const json = (await response.json());
|
|
51
83
|
if (!json.access_token) {
|