@camunda/e2e-test-suite 0.0.317 → 0.0.318
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.
|
@@ -60,6 +60,7 @@ class OperateProcessesPage {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
async uncheckCheckbox(checkbox) {
|
|
63
|
+
await (0, test_1.expect)(checkbox).toBeVisible({ timeout: constants_1._1_SECOND_IN_MS * 10 });
|
|
63
64
|
if (await checkbox.isChecked()) {
|
|
64
65
|
await checkbox.click();
|
|
65
66
|
await (0, test_1.expect)(checkbox).toBeChecked({
|
|
@@ -141,7 +141,7 @@ SM_8_9_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
141
141
|
(0, SM_8_9_1.test)('Conditional Events - Deploy, verify in Operate and verify process in Optimize dashboard @tasklistV2', async ({ page, modelerHomePage, modelerCreatePage, navigationPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, optimizeHomePage, optimizeDashboardPage, }) => {
|
|
142
142
|
SM_8_9_1.test.slow();
|
|
143
143
|
const bpmnFileName = 'Conditional_Events_All.bpmn';
|
|
144
|
-
const processName = '
|
|
144
|
+
const processName = 'Conditional_Events' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
145
145
|
await SM_8_9_1.test.step('Open Cross Component Test Project and upload BPMN file', async () => {
|
|
146
146
|
await modelerHomePage.clickCrossComponentProjectFolder();
|
|
147
147
|
await modelerHomePage.clickDiagramTypeDropdown();
|
|
@@ -151,6 +151,15 @@ SM_8_9_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
151
151
|
await SM_8_9_1.test.step('Open uploaded BPMN diagram', async () => {
|
|
152
152
|
await (0, sleep_1.sleep)(5000);
|
|
153
153
|
await modelerHomePage.clickProcessDiagram(bpmnFileName.replace('.bpmn', ''));
|
|
154
|
+
await modelerCreatePage.clickDiagramBreadcrumb();
|
|
155
|
+
await modelerCreatePage.clickEditDiagramNameButton();
|
|
156
|
+
await modelerCreatePage.enterDiagramName(processName);
|
|
157
|
+
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
158
|
+
await modelerCreatePage.clickNameInput();
|
|
159
|
+
await modelerCreatePage.fillNameInput(processName);
|
|
160
|
+
await modelerCreatePage.clickIdInput();
|
|
161
|
+
await modelerCreatePage.fillIdInput(processName);
|
|
162
|
+
await (0, sleep_1.sleep)(10000);
|
|
154
163
|
});
|
|
155
164
|
await SM_8_9_1.test.step('Deploy and run process with variable', async () => {
|
|
156
165
|
const variables = '{"myVar": 8}';
|