mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4577] - Should display the processId when Process Definition has process name missing (#4802)
* updated the Test case in TestRail, basically if there is no process name in the process definition, then in the dropdown the processId is displayed and allows the user to start a process using that. * updated the simpleapp to have a few more processes definitions which will enable to add new e2e tests. * linting fixes
This commit is contained in:
committed by
Eugenio Romano
parent
148f9830aa
commit
2b05f72a2f
@@ -32,6 +32,7 @@ describe('Start Process', () => {
|
||||
const startProcessPage = new StartProcessCloudPage();
|
||||
const settingsPage = new SettingsPage();
|
||||
|
||||
const processDefinitionWithoutName = 'process-bc59fd64-d0b1-4eda-8b02-2ef38062cf39';
|
||||
const processName = StringUtil.generateRandomString(10);
|
||||
const processName255Characters = StringUtil.generateRandomString(255);
|
||||
const processNameBiggerThen255Characters = StringUtil.generateRandomString(256);
|
||||
@@ -85,7 +86,6 @@ describe('Start Process', () => {
|
||||
appListCloudComponent.checkAppIsDisplayed(simpleApp);
|
||||
appListCloudComponent.goToApp(simpleApp);
|
||||
processCloudDemoPage.openNewProcessForm();
|
||||
|
||||
startProcessPage.clearField(startProcessPage.processNameInput);
|
||||
startProcessPage.enterProcessName(processName);
|
||||
startProcessPage.checkStartProcessButtonIsEnabled();
|
||||
@@ -97,4 +97,15 @@ describe('Start Process', () => {
|
||||
processCloudDemoPage.processListCloudComponent().checkContentIsDisplayedByName(processName);
|
||||
|
||||
});
|
||||
|
||||
it('[C309875] Should display the processId when Process Definition has process name missing', async () => {
|
||||
appListCloudComponent.checkAppIsDisplayed(simpleApp);
|
||||
appListCloudComponent.goToApp(simpleApp);
|
||||
processCloudDemoPage.openNewProcessForm();
|
||||
startProcessPage.clearField(startProcessPage.processNameInput);
|
||||
startProcessPage.enterProcessName(processName);
|
||||
startProcessPage.selectFromProcessDropdown(processDefinitionWithoutName);
|
||||
startProcessPage.checkStartProcessButtonIsEnabled();
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user