mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3417]Fixing test rail ID's (#3651)
This commit is contained in:
committed by
Eugenio Romano
parent
94463a7505
commit
70605c8982
@@ -107,26 +107,26 @@ describe('Search component - Search Bar', () => {
|
||||
// });
|
||||
// });
|
||||
|
||||
it('1. Search bar is visible', () => {
|
||||
it('[C272798] Search bar is visible', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().checkSearchIconIsVisible();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
});
|
||||
|
||||
it('2. Add input and close', () => {
|
||||
it('[C272799] Add input and close', () => {
|
||||
searchDialog.checkSearchIconIsVisible().clickOnSearchIcon().enterText(firstFolderModel.shortName);
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
contentServicesPage.checkAcsContainer();
|
||||
});
|
||||
|
||||
it('3. Search for content that doesn\'t exist', () => {
|
||||
it('[C260255] Search for content that does not exist', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible().clickOnSearchIcon().checkNoResultMessageIsNotDisplayed()
|
||||
.enterText(search.inactive.name).checkNoResultMessageIsDisplayed();
|
||||
searchDialog.clearText();
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('4. Existing folder and file are displayed in search suggestion when typing only the first 4 letters', () => {
|
||||
it('[C260256] Existing folder and file are displayed in search suggestion when typing the first 4 letters', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().enterText(firstFolderModel.shortName);
|
||||
|
||||
@@ -151,7 +151,7 @@ describe('Search component - Search Bar', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('5. Existing folder and file are displayed in search suggestion', () => {
|
||||
it('[C272800] Existing folder and file are displayed in search suggestion', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().enterText(firstFolderModel.name);
|
||||
searchDialog.resultTableContainsRow(firstFolderModel.name);
|
||||
@@ -174,7 +174,7 @@ describe('Search component - Search Bar', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('6. Folder content is displayed when clicking on existing folder', () => {
|
||||
it('[C260257] Folder content is displayed when clicking on existing folder', () => {
|
||||
searchDialog.clickOnSearchIcon().enterText(firstFolderModel.shortName);
|
||||
searchDialog.resultTableContainsRow(firstFolderModel.name);
|
||||
searchDialog.clickOnSpecificRow(firstFolderModel.name);
|
||||
@@ -192,27 +192,27 @@ describe('Search component - Search Bar', () => {
|
||||
filePreviewPage.closePreviewWithButton();
|
||||
});
|
||||
|
||||
it('7. Non-existent folder is not displayed in search page', () => {
|
||||
it('[C272801] Non-existent folder is not displayed in search page', () => {
|
||||
searchDialog.checkSearchIconIsVisible().clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(search.inactive.name);
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
contentServicesPage.goToDocumentList();
|
||||
});
|
||||
|
||||
it('8. Existing folder is displayed in search page', () => {
|
||||
it('[C272802] Existing folder is displayed in search page', () => {
|
||||
searchDialog.clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(firstFolderModel.name);
|
||||
searchResultPage.checkContentIsDisplayed(firstFolderModel.name);
|
||||
});
|
||||
|
||||
it('9. Existing file is displayed in search page', () => {
|
||||
it('[C260258] Existing file is displayed in search page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(firstFileModel.name);
|
||||
searchResultPage.checkContentIsDisplayed(firstFileModel.name);
|
||||
});
|
||||
|
||||
xit('10. A folder is selected from search bar using arrows', () => {
|
||||
xit('[C91321] Should be able to use down arrow key when navigating throw suggestions', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -224,7 +224,7 @@ describe('Search component - Search Bar', () => {
|
||||
expect(contentServicesPage.currentFolderName()).toEqual(secondFolder.name);
|
||||
});
|
||||
|
||||
xit('11. The search bar gets closed when clicking on another browser tab', () => {
|
||||
xit('[C260254] The search bar gets closed when clicking on another browser tab', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
|
@@ -96,7 +96,7 @@ describe('Search component - Search Page', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('1. \'No results found searching for\' message is displayed on Search Page', () => {
|
||||
it('[C260264] \'No results found searching for\' message is displayed on Search Page', () => {
|
||||
let notExistentFileName = Util.generateRandomString();
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
@@ -104,7 +104,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
it('2. File previewer is displayed', () => {
|
||||
it('[C260265] File previewer is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -121,7 +121,7 @@ describe('Search component - Search Page', () => {
|
||||
filePreviewPage.closePreviewWithButton();
|
||||
});
|
||||
|
||||
it('3. Only the searched file is displayed', () => {
|
||||
it('[C272810] Only the searched file is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -134,7 +134,7 @@ describe('Search component - Search Page', () => {
|
||||
expect(searchResultPage.numberOfResultsDisplayed()).toBe(1);
|
||||
});
|
||||
|
||||
it('4. Folder content is displayed', () => {
|
||||
it('[C260267] Folder content is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
@@ -150,7 +150,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('5. Delete a file from the Search Results Page', () => {
|
||||
it('[C260261] Delete a file from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -172,7 +172,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
it('6. Delete a folder from the Search Results Page', () => {
|
||||
it('[C272809] Delete a folder from the Search Results Page', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
.checkSearchIconIsVisible()
|
||||
.clickOnSearchIcon()
|
||||
@@ -189,7 +189,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
xit('8. Sort content ascending by name.', () => {
|
||||
xit('[C272803] Sort content ascending by name.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -204,7 +204,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('9. Sort content descending by name.', () => {
|
||||
xit('[C272804] Sort content descending by name.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
@@ -218,7 +218,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('10. Sort content ascending by author.', () => {
|
||||
xit('[C272805] Sort content ascending by author.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -228,7 +228,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('11. Sort content descending by author.', () => {
|
||||
xit('[C272806] Sort content descending by author.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -238,7 +238,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('12. Sort content ascending by created date.', () => {
|
||||
xit('[C272807] Sort content ascending by created date.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -248,7 +248,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('13. Sort content descending by created date.', () => {
|
||||
xit('[C260260] Sort content descending by created date.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -258,7 +258,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('14. Try to delete a file without rights from the Search Results Page', () => {
|
||||
xit('[C260262] Try to delete a file without rights from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.no_permission.noPermFile);
|
||||
@@ -271,7 +271,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkContentIsDisplayed(search.no_permission.noPermFile);
|
||||
});
|
||||
|
||||
it('15. Try to delete a folder without rights from the Search Results Page', () => {
|
||||
it('[C272808] Try to delete a folder without rights from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.no_permission.noPermFolder);
|
||||
|
@@ -270,7 +270,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
});
|
||||
|
||||
it('[C268899] Should be possible use a custom preset' , () => {
|
||||
it('[C279968] Should be possible use a custom preset' , () => {
|
||||
navigationBarPage.clickConfigEditorButton();
|
||||
|
||||
configEditorPage.clickClearMetadataButton();
|
||||
|
@@ -65,7 +65,7 @@ describe('CardView Component', () => {
|
||||
|
||||
describe('key-value pair ', () => {
|
||||
|
||||
it('[C279937] Should the label be present', () => {
|
||||
it('[C279938] Should the label be present', () => {
|
||||
let label = element(by.xpath('div[data-automation-id="card-key-value-pairs-label-key-value-pairs"]'));
|
||||
|
||||
Util.waitUntilElementIsPresent(label);
|
||||
|
@@ -81,7 +81,7 @@ describe('Login component', () => {
|
||||
loginPage.waitForElements();
|
||||
});
|
||||
|
||||
it('[C260085] Should after login in BOTH not be redirect to Login page when try to access to CS or PS', () => {
|
||||
it('[C260081] Should after login in BOTH not be redirect to Login page when try to access to CS or PS', () => {
|
||||
adfSettingsPage.setProviderEcmBpm();
|
||||
|
||||
loginPage.login(adminUserModel.id, adminUserModel.password);
|
||||
|
@@ -31,7 +31,7 @@ describe('Login component - Remember Me', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C260036] Should Remember me checkbox not be present in the login if the property showRememberMe is false', () => {
|
||||
it('[C260501] Should Remember me checkbox not be present in the login if the property showRememberMe is false', () => {
|
||||
loginPage.checkRememberIsDisplayed();
|
||||
loginPage.disableRememberMe();
|
||||
loginPage.checkRememberIsNotDisplayed();
|
||||
|
@@ -76,7 +76,7 @@ describe('Form widgets', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Check text, multiline widgets - label, value and displayed', () => {
|
||||
it('[C272778] Check text, multiline widgets - label, value and displayed', () => {
|
||||
loginPage.loginToProcessServicesUsingUserModel(processUserModel);
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name)
|
||||
.clickTasksButton();
|
||||
@@ -112,7 +112,7 @@ describe('Form widgets', () => {
|
||||
|
||||
});
|
||||
|
||||
it('Check number, amount widgets - label, value and displayed', () => {
|
||||
it('[C272779] Check number, amount widgets - label, value and displayed', () => {
|
||||
|
||||
expect(taskPage.usingFormFields().getFieldValue(appFields.number_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.number_id).value || '');
|
||||
@@ -125,7 +125,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.amount_id).name);
|
||||
});
|
||||
|
||||
it('Check attachfolder, attachfile widgets - label and displayed', () => {
|
||||
it('[C272780] Check attachfolder, attachfile widgets - label and displayed', () => {
|
||||
|
||||
expect(taskPage.usingFormFields().getFieldLabel(appFields.attachfolder_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.attachfolder_id).name);
|
||||
@@ -133,7 +133,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.attachfile_id).name);
|
||||
});
|
||||
|
||||
it('Check date, date & time widgets - label, value and displayed', () => {
|
||||
it('[C272781] Check date, date & time widgets - label, value and displayed', () => {
|
||||
|
||||
expect(taskPage.usingFormFields().getFieldLabel(appFields.date_id))
|
||||
.toContain(formInstance.getWidgetBy('id', appFields.date_id).name);
|
||||
@@ -146,7 +146,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.dateTime_id).value || '');
|
||||
});
|
||||
|
||||
it('Check people, group widgets - label, value and displayed', () => {
|
||||
it('[C272782] Check people, group widgets - label, value and displayed', () => {
|
||||
|
||||
expect(taskPage.usingFormFields().getFieldValue(appFields.people_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.people_id).value || '');
|
||||
@@ -159,7 +159,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.group_id).name);
|
||||
});
|
||||
|
||||
it('Check displayText, displayValue widgets - value and displayed', () => {
|
||||
it('[C272783] Check displayText, displayValue widgets - value and displayed', () => {
|
||||
|
||||
expect(usingWidget.usingDisplayTextWidget().getFieldLabel(appFields.displaytext_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.displaytext_id).value);
|
||||
@@ -167,7 +167,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.displayvalue_id).value || 'Unknown type: readonly');
|
||||
});
|
||||
|
||||
it('Check typeahead, header widgets - label, value and displayed', () => {
|
||||
it('[C272784] Check typeahead, header widgets - label, value and displayed', () => {
|
||||
|
||||
expect(usingWidget.usingHeaderWidget().getFieldLabel(appFields.header_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.header_id).name);
|
||||
@@ -178,7 +178,7 @@ describe('Form widgets', () => {
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.typeahead_id).name);
|
||||
});
|
||||
|
||||
it('Check checkbox, radiobuttons widgets - label, value and displayed', () => {
|
||||
it('[C272785] Check checkbox, radiobuttons widgets - label, value and displayed', () => {
|
||||
let radioOption = 1;
|
||||
|
||||
expect(taskPage.usingFormFields().getFieldLabel(appFields.checkbox_id))
|
||||
@@ -190,7 +190,7 @@ describe('Form widgets', () => {
|
||||
.toContain(formInstance.getWidgetBy('id', appFields.radiobuttons_id).options[radioOption - 1].name);
|
||||
});
|
||||
|
||||
it('Check hyperlink, dropdown, dynamictable widgets - label, value and displayed', () => {
|
||||
it('[C268149] Check hyperlink, dropdown, dynamictable widgets - label, value and displayed', () => {
|
||||
|
||||
expect(usingWidget.usingHyperlink().getFieldText(appFields.hyperlink_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.hyperlink_id).hyperlinkUrl || '');
|
||||
|
@@ -71,7 +71,7 @@ describe('Items per page set to 15 and adding of tasks', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Items per page set to 15 and adding of tasks', () => {
|
||||
it('[C260306] Items per page set to 15 and adding of tasks', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
|
@@ -83,7 +83,7 @@ describe('Process Filters Test', () => {
|
||||
processServicesPage.checkProcessListIsDisplayed();
|
||||
});
|
||||
|
||||
it('Navigate to Running filter', () => {
|
||||
it('[C260387] Should the running process be displayed when clicking on Running filter', () => {
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
processFiltersPage.clickNewProcessDropdown();
|
||||
|
||||
@@ -111,7 +111,7 @@ describe('Process Filters Test', () => {
|
||||
processDetailsPage.checkProcessDetailsCard();
|
||||
});
|
||||
|
||||
it('Navigate to All filter', () => {
|
||||
it('[C280063] Should both the new created process and a completed one to be displayed when clicking on All filter', () => {
|
||||
processFiltersPage.clickAllFilterButton();
|
||||
processFiltersPage.checkFilterIsHighlighted(processFilter.all);
|
||||
processFiltersPage.selectFromProcessList(processTitle.running);
|
||||
@@ -119,7 +119,7 @@ describe('Process Filters Test', () => {
|
||||
processDetailsPage.checkProcessDetailsCard();
|
||||
});
|
||||
|
||||
it('Navigate to Completed filter', () => {
|
||||
it('[C280064] Should the completed process be displayed when clicking on Completed filter', () => {
|
||||
processFiltersPage.clickCompletedFilterButton();
|
||||
processFiltersPage.checkFilterIsHighlighted(processFilter.completed);
|
||||
processFiltersPage.selectFromProcessList(processTitle.completed);
|
||||
|
@@ -118,7 +118,7 @@ describe('Start Process Component', () => {
|
||||
processServicesPage.checkApsContainer();
|
||||
});
|
||||
|
||||
it('Check start a process without a process model included', () => {
|
||||
it('[C260458] Check start a process without a process model included', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -135,7 +135,7 @@ describe('Start Process Component', () => {
|
||||
processServicesPage.checkApsContainer();
|
||||
});
|
||||
|
||||
it('Check Start Process within Task App', () => {
|
||||
it('[C260441] Check Start Process within Task App', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -143,7 +143,7 @@ describe('Start Process Component', () => {
|
||||
expect(startProcessPage.getDefaultName()).toEqual('My Default Name');
|
||||
});
|
||||
|
||||
it('Process Definition is required and cancel button is clicked', () => {
|
||||
it('[C260445] Process Definition is required and cancel button is clicked', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -154,7 +154,7 @@ describe('Start Process Component', () => {
|
||||
processFiltersPage.checkNoContentMessage();
|
||||
});
|
||||
|
||||
it('Name of the process is required', () => {
|
||||
it('[C260444] Name of the process is required', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -164,7 +164,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsDisabled();
|
||||
});
|
||||
|
||||
it('Check Start Process within an app without a start event', () => {
|
||||
it('[C260443] Check Start Process within an app without a start event', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -174,7 +174,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsEnabled();
|
||||
});
|
||||
|
||||
xit('Start a process within an app with a start event', () => {
|
||||
xit('[C260449] Start a process within an app with a start event', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -201,7 +201,7 @@ describe('Start Process Component', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Add a comment on an active process', () => {
|
||||
it('[C260453] Add a comment on an active process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -215,7 +215,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkCommentIsDisplayed('comment1');
|
||||
});
|
||||
|
||||
it('Click Audit Log button', () => {
|
||||
it('[C260454] Click Audit Log button', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -249,7 +249,7 @@ describe('Start Process Component', () => {
|
||||
attachmentListPage.checkFileIsAttached(jpgFile.name);
|
||||
});
|
||||
|
||||
it('Click Show Diagram', () => {
|
||||
it('[C260451] Click Show Diagram', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
@@ -267,7 +267,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.clickShowDiagram();
|
||||
});
|
||||
|
||||
it('Click on an active task', () => {
|
||||
it('[C260452] Click on an active task', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -281,7 +281,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkActiveTaskTitleIsDisplayed(app.task_name);
|
||||
});
|
||||
|
||||
it('Click Cancel process button', () => {
|
||||
it('[C260457] Click Cancel process button', () => {
|
||||
loginPage.loginToProcessServicesUsingUserModel(secondProcUserModel);
|
||||
navigationBarPage.clickProcessServicesButton();
|
||||
processServicesPage.checkApsContainer();
|
||||
@@ -300,7 +300,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkShowDiagramIsDisabled();
|
||||
});
|
||||
|
||||
it('Add a comment on a complete process', () => {
|
||||
it('[C260461] Add a comment on a complete process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -317,7 +317,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkCommentIsDisplayed('goodbye');
|
||||
});
|
||||
|
||||
it('Cannot attach a file on a completed process', () => {
|
||||
it('[C260467] Cannot attach a file on a completed process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
|
@@ -85,7 +85,7 @@ describe('Start Task - Custom App', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Modifying task', () => {
|
||||
it('[C263942] Modifying task', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[0])
|
||||
@@ -107,7 +107,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Information box', () => {
|
||||
it('[C263946] Information box', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[1]).addDescription('Description')
|
||||
@@ -143,7 +143,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Start task with no form', () => {
|
||||
it('[C263947] Start task with no form', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[2]).clickStartButton()
|
||||
@@ -154,7 +154,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Start task buttons', () => {
|
||||
it('[C263948] Start task buttons', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().checkStartButtonIsDisabled().addName(tasks[3])
|
||||
@@ -165,7 +165,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Refreshing the form', () => {
|
||||
it('[C263949] Refreshing the form', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask()
|
||||
@@ -182,7 +182,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Assign User', () => {
|
||||
it('[C263951] Assign User', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[5]).addAssignee(assigneeUserModel.firstName).clickStartButton()
|
||||
|
@@ -88,7 +88,7 @@ describe('Start Task - Task App', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Modifying task', () => {
|
||||
it('[C260383] Modifying task', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[0])
|
||||
@@ -110,7 +110,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Information box', () => {
|
||||
it('[C260506] Information box', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[1]).addDescription('Description')
|
||||
@@ -155,7 +155,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Start task buttons', () => {
|
||||
it('[C260422] Start task buttons', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().checkStartButtonIsDisabled().addName(tasks[3])
|
||||
@@ -166,7 +166,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Refreshing the form', () => {
|
||||
it('[C260423] Refreshing the form', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask()
|
||||
@@ -183,7 +183,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Assign User', () => {
|
||||
it('[C260425] Assign User', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[5])
|
||||
|
@@ -79,7 +79,7 @@ describe('Task List Pagination', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Pagination at first 20 started tasks', () => {
|
||||
it('[C260301] Pagination at first 20 started tasks', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.default);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + nrOfTasks + ' of ' + nrOfTasks);
|
||||
@@ -91,7 +91,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + nrOfTasks + ' of ' + nrOfTasks);
|
||||
});
|
||||
|
||||
it('Items per page set to 5', () => {
|
||||
it('[C260304] Items per page set to 5', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
||||
@@ -119,7 +119,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.five);
|
||||
});
|
||||
|
||||
it('Items per page set to 10', () => {
|
||||
it('[C260303] Items per page set to 10', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.ten);
|
||||
@@ -136,7 +136,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.ten);
|
||||
});
|
||||
|
||||
it('Items per page set to 15', () => {
|
||||
it('[C260302] Items per page set to 15', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.usingFiltersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
|
Reference in New Issue
Block a user