[ADF-3658][ADF-3660][ADF-3661] Revisiting automated tests and test cases (#3869)

* [ADF-3658] Revisiting Content Services automated tests and test cases

* [ADF-3661] Revisiting automated tests and test cases for Core and Insights folders

* [ADF-3660] Revisiting automated tests and test cases for Process Services

* Fixing lint errors
This commit is contained in:
Marouan Bentaleb
2018-10-13 11:19:15 +01:00
committed by Eugenio Romano
parent 04d42e2535
commit 094e1dab91
45 changed files with 267 additions and 387 deletions

View File

@@ -32,7 +32,7 @@ import AlfrescoApi = require('alfresco-js-api-node');
import { UsersActions } from '../actions/users.actions';
import { AppsActions } from '../actions/APS/apps.actions';
import FileModel = require('../models/ACS/fileModel');
import { browser } from '../../node_modules/protractor';
import { browser } from 'protractor';
describe('Attachment list action menu for processes', () => {
@@ -96,7 +96,7 @@ describe('Attachment list action menu for processes', () => {
done();
});
it('[C260228] Option menu functionality - Active Process', () => {
it('[C260228] Should be able to access options of a file attached to an active process', () => {
processServicesPage.goToProcessServices().goToApp(app.title).clickProcessButton();
processFiltersPage.selectFromProcessList(processName.active);
@@ -130,7 +130,7 @@ describe('Attachment list action menu for processes', () => {
attachmentListPage.checkFileIsRemoved(pngFile.name);
});
it('[C279886] Option menu functionality - Completed Process', () => {
it('[C279886] Should be able to access options of a file attached to a completed process', () => {
processServicesPage.goToProcessServices().goToApp(app.title).clickProcessButton();
processFiltersPage.clickRunningFilterButton();
@@ -164,7 +164,7 @@ describe('Attachment list action menu for processes', () => {
attachmentListPage.checkFileIsRemoved(pngFile.name);
});
it('[C277296] Upload file - ProcessList - Task APP', () => {
it('[C277296] Should allow upload file when clicking on \'add\' icon', () => {
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
processFiltersPage.clickRunningFilterButton();
@@ -176,7 +176,7 @@ describe('Attachment list action menu for processes', () => {
attachmentListPage.checkFileIsAttached(pngFile.name);
});
it('[C260235] Empty list component', () => {
it('[C260235] Should empty list component be displayed when no file is attached', () => {
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
processFiltersPage.clickRunningFilterButton();