@camunda/e2e-test-suite 0.0.732 → 0.0.734
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/8.7/ModelerCreatePage.d.ts +1 -0
- package/dist/pages/8.7/ModelerCreatePage.js +19 -0
- package/dist/pages/8.7/UtilitiesPage.js +1 -2
- package/dist/tests/8.10/idp-user-flows.spec.js +2 -1
- package/dist/tests/8.8/idp-user-flows.spec.js +2 -1
- package/dist/tests/8.9/idp-user-flows.spec.js +2 -1
- package/package.json +1 -1
|
@@ -180,6 +180,7 @@ declare class ModelerCreatePage {
|
|
|
180
180
|
fillCorrelationKeyPayloadInput(correlationKeyPayload: string): Promise<void>;
|
|
181
181
|
clickIdInput(): Promise<void>;
|
|
182
182
|
fillIdInput(id: string): Promise<void>;
|
|
183
|
+
setAndVerifyProcessId(processId: string): Promise<void>;
|
|
183
184
|
fillStartFormName(name: string): Promise<void>;
|
|
184
185
|
fillStartFormDate(date: string): Promise<void>;
|
|
185
186
|
checkStartFormCheckbox(): Promise<void>;
|
|
@@ -808,6 +808,25 @@ class ModelerCreatePage {
|
|
|
808
808
|
async fillIdInput(id) {
|
|
809
809
|
await this.processIdInput.fill(id);
|
|
810
810
|
}
|
|
811
|
+
async setAndVerifyProcessId(processId) {
|
|
812
|
+
// The General properties group is already expanded by the caller. Setting
|
|
813
|
+
// the process ID on a freshly uploaded diagram intermittently fails to
|
|
814
|
+
// commit (the value is typed but the modeler does not persist it, leaving
|
|
815
|
+
// the template default id). Anything keyed on the process id — notably the
|
|
816
|
+
// RBA resource authorization auto-provisioned on deploy — then references
|
|
817
|
+
// the wrong id. Fill, blur to force the commit, and re-apply until the
|
|
818
|
+
// input reflects the intended id.
|
|
819
|
+
for (let attempt = 0; attempt < 3; attempt++) {
|
|
820
|
+
await this.processIdInput.click();
|
|
821
|
+
await this.processIdInput.fill('');
|
|
822
|
+
await this.processIdInput.fill(processId);
|
|
823
|
+
await this.processIdInput.blur();
|
|
824
|
+
if ((await this.processIdInput.inputValue()) === processId) {
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
await (0, test_1.expect)(this.processIdInput).toHaveValue(processId, { timeout: 10000 });
|
|
829
|
+
}
|
|
811
830
|
async fillStartFormName(name) {
|
|
812
831
|
await this.payloadNameInput.fill(name);
|
|
813
832
|
}
|
|
@@ -256,8 +256,7 @@ async function modelDiagramFromFile(page, modelerHomePage, modelerCreatePage, pr
|
|
|
256
256
|
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
257
257
|
await modelerCreatePage.clickNameInput();
|
|
258
258
|
await modelerCreatePage.fillNamedInput(processName);
|
|
259
|
-
await modelerCreatePage.
|
|
260
|
-
await modelerCreatePage.fillIdInput(processName);
|
|
259
|
+
await modelerCreatePage.setAndVerifyProcessId(processName);
|
|
261
260
|
if (nrOfRenamedUserTasks > 0) {
|
|
262
261
|
for (let i = 1; i <= nrOfRenamedUserTasks; i++) {
|
|
263
262
|
await modelerCreatePage.clickUserTask('process' + i);
|
|
@@ -58,7 +58,8 @@ const classificationTestCases = [
|
|
|
58
58
|
},
|
|
59
59
|
];
|
|
60
60
|
_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
61
|
-
|
|
61
|
+
// Skipped due to 25713: https://github.com/camunda/camunda-hub/issues/25713
|
|
62
|
+
_8_10_1.test.describe.skip('IDP User Flow Tests', () => {
|
|
62
63
|
const clusterName = 'Test Cluster';
|
|
63
64
|
_8_10_1.test.afterEach(async ({ page }, testInfo) => {
|
|
64
65
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
@@ -51,7 +51,8 @@ const structuredTestCases = [
|
|
|
51
51
|
},
|
|
52
52
|
]; /* For structured documents, the model is empty since is not necessary */
|
|
53
53
|
_8_8_1.test.describe.configure({ mode: 'parallel' });
|
|
54
|
-
|
|
54
|
+
// Skipped due to 25713: https://github.com/camunda/camunda-hub/issues/25713
|
|
55
|
+
_8_8_1.test.describe.skip('IDP User Flow Tests', () => {
|
|
55
56
|
const clusterName = 'Test Cluster';
|
|
56
57
|
_8_8_1.test.afterEach(async ({ page }, testInfo) => {
|
|
57
58
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
@@ -58,7 +58,8 @@ const classificationTestCases = [
|
|
|
58
58
|
},
|
|
59
59
|
];
|
|
60
60
|
_8_9_1.test.describe.configure({ mode: 'parallel' });
|
|
61
|
-
|
|
61
|
+
// Skipped due to 25713: https://github.com/camunda/camunda-hub/issues/25713
|
|
62
|
+
_8_9_1.test.describe.skip('IDP User Flow Tests', () => {
|
|
62
63
|
const clusterName = 'Test Cluster';
|
|
63
64
|
_8_9_1.test.afterEach(async ({ page }, testInfo) => {
|
|
64
65
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|