@camunda/e2e-test-suite 0.0.1175 → 0.0.1176
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/tests/8.10/optimize-agentic-control-panel-api.spec.js +10 -0
- package/dist/tests/8.10/optimize-data-filters-api.spec.js +10 -0
- package/dist/tests/8.10/optimize-data-filters-ui.spec.js +7 -0
- package/dist/tests/8.10/optimize-exporter-filters-importer-e2e.spec.js +10 -0
- package/package.json +1 -1
|
@@ -8,6 +8,16 @@ const users_1 = require("../../utils/users");
|
|
|
8
8
|
const agenticDashboardHelpers_1 = require("../../utils/agenticDashboardHelpers");
|
|
9
9
|
const testUser = (0, users_1.getTestUser)('twentyFirstUser');
|
|
10
10
|
const clusterName = 'Test Cluster';
|
|
11
|
+
// No reason for serial has been established here, and it is kept rather than
|
|
12
|
+
// flipped only because nobody has measured either way. All five tests are
|
|
13
|
+
// read-only against the agentic dashboard (the one interaction,
|
|
14
|
+
// changeDashboardDateRange, is a view-local Carbon dropdown), so there is no
|
|
15
|
+
// shared state to protect. Serial does NOT cut login volume either: beforeEach
|
|
16
|
+
// runs per test, so it is five logins as twentyFirstUser either way, and that
|
|
17
|
+
// user is also used by navigation, optimize-agentic-control-panel-ui and
|
|
18
|
+
// saas-migration-path-user-flows, none of which are serial. Rate-limit hits are
|
|
19
|
+
// absorbed by loginWithRetry and have never been traced to a failure
|
|
20
|
+
// (docs/saas-login-investigation.md). See docs/serial-specs.md.
|
|
11
21
|
_8_10_1.test.describe.configure({ mode: 'serial' });
|
|
12
22
|
_8_10_1.test.describe('Agentic Control Plane Dashboard API Tests @agentic-dashboard-api @8.10', () => {
|
|
13
23
|
_8_10_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
@@ -4,6 +4,16 @@ const test_1 = require("@playwright/test");
|
|
|
4
4
|
const _8_10_1 = require("../../fixtures/8.10");
|
|
5
5
|
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
|
+
// Serial is load-bearing twice over. Ordering: T11728029 asserts a business_*
|
|
8
|
+
// pattern is present in the default, untouched includeVariableNames, and the
|
|
9
|
+
// three variableFilter writers below (T11728020, T11728034, T11735087) replace
|
|
10
|
+
// that list -- so T11728029 has to run before them, which parallel mode cannot
|
|
11
|
+
// guarantee. (T11735088/T11735089 write processDefinitionFilter instead, and
|
|
12
|
+
// T11728030/T11728019 write nothing.) Snapshot:
|
|
13
|
+
// beforeAll reads the live config into originalFilters and afterAll writes it
|
|
14
|
+
// back; in parallel each worker runs beforeAll, so a worker starting second
|
|
15
|
+
// would snapshot another worker's mutation and restore that as "original",
|
|
16
|
+
// leaving the shared cluster dirty after the run. See docs/serial-specs.md.
|
|
7
17
|
_8_10_1.test.describe.configure({ mode: 'serial' });
|
|
8
18
|
let managementToken;
|
|
9
19
|
let clusterUuid;
|
|
@@ -17,6 +17,13 @@ let dataFiltersAvailable = false;
|
|
|
17
17
|
const skipIfUnavailable = () => {
|
|
18
18
|
_8_10_1.test.skip(!dataFiltersAvailable, 'Data Filters section is not available on this cluster (feature not yet enabled)');
|
|
19
19
|
};
|
|
20
|
+
// Serial is load-bearing: these 18 tests drive the same Console Data Filters
|
|
21
|
+
// form for the same cluster, and several of them Save and reload to assert
|
|
22
|
+
// persistence -- the same whole-config write the API spec issues, just from the
|
|
23
|
+
// browser. The Read-only operator describe also asserts the fields are not
|
|
24
|
+
// editable, which only holds if nobody else is mid-edit. The client-side
|
|
25
|
+
// negative tests would survive parallelising on their own, but they share the
|
|
26
|
+
// form with the ones that save. See docs/serial-specs.md.
|
|
20
27
|
_8_10_1.test.describe.configure({ mode: 'serial' });
|
|
21
28
|
_8_10_1.test.describe('Optimize Data Filters UI @optimize-data-filters-ui @8.10', () => {
|
|
22
29
|
_8_10_1.test.slow();
|
|
@@ -5,6 +5,16 @@ const _8_10_1 = require("../../fixtures/8.10");
|
|
|
5
5
|
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
6
6
|
const randomName_1 = require("../../utils/randomName");
|
|
7
7
|
const sleep_1 = require("../../utils/sleep");
|
|
8
|
+
// Serial is load-bearing: the two describes below each request a DIFFERENT
|
|
9
|
+
// exporter setting on the same cluster-wide singleton in beforeAll
|
|
10
|
+
// (variableValueTypeExclusion: ['Object'] vs optimizeModeEnabled: true), then
|
|
11
|
+
// assert on what Optimize actually imported over a ~180s poll. These are
|
|
12
|
+
// PARTIAL updates, not whole configs -- setFilters below re-reads the live
|
|
13
|
+
// config and sends {...current, ...config}, so in declaration order the second
|
|
14
|
+
// beforeAll inherits ['Object'] from the first. Serial order is what makes that
|
|
15
|
+
// inheritance deterministic; run concurrently, each beforeAll read-modify-writes
|
|
16
|
+
// on top of whatever the other left behind and which settings are active during
|
|
17
|
+
// an assertion depends on interleaving. See docs/serial-specs.md.
|
|
8
18
|
_8_10_1.test.describe.configure({ mode: 'serial' });
|
|
9
19
|
const VARIABLE_DEFINITION_FILE = './resources/Job_Worker_Process.bpmn';
|
|
10
20
|
const VARIABLE_DEFINITION_KEY = 'Job_Worker_Process';
|