mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
04d42e2535
commit
094e1dab91
@@ -81,7 +81,7 @@ describe('Start Task - Task App', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C274690] Task List attachment - View file', () => {
|
||||
it('[C274690] Should be able to open a file attached to a start form', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
|
@@ -29,6 +29,7 @@ import resources = require('../util/resources');
|
||||
import AlfrescoApi = require('alfresco-js-api-node');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { AppsActions } from '../actions/APS/apps.actions';
|
||||
import { by } from 'protractor';
|
||||
|
||||
describe('Attach Form Component', () => {
|
||||
|
||||
|
@@ -1,91 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process_services/processServicesPage';
|
||||
import ProcessFiltersPage = require('../pages/adf/process_services/processFiltersPage');
|
||||
import FileModel = require('../models/ACS/fileModel');
|
||||
import { AttachmentListPage } from '../pages/adf/process_services/attachmentListPage';
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import resources = require('../util/resources');
|
||||
|
||||
import AlfrescoApi = require('alfresco-js-api-node');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { AppsActions } from '../actions/APS/apps.actions';
|
||||
|
||||
describe('Attachment list', () => {
|
||||
|
||||
let loginPage = new LoginPage();
|
||||
let processServicesPage = new ProcessServicesPage();
|
||||
let attachmentListPage = new AttachmentListPage();
|
||||
let processFiltersPage = new ProcessFiltersPage();
|
||||
|
||||
let processUserModel;
|
||||
let app = resources.Files.APP_WITH_PROCESSES;
|
||||
let pngFile = new FileModel({
|
||||
'location': resources.Files.ADF_DOCUMENTS.PNG.file_location,
|
||||
'name': resources.Files.ADF_DOCUMENTS.PNG.file_name
|
||||
});
|
||||
let pdfFile = new FileModel({ 'name': resources.Files.ADF_DOCUMENTS.PDF.file_name });
|
||||
|
||||
beforeAll(async(done) => {
|
||||
let users = new UsersActions();
|
||||
let apps = new AppsActions();
|
||||
|
||||
this.alfrescoJsApi = new AlfrescoApi({
|
||||
provider: 'BPM',
|
||||
hostBpm: TestConfig.adf.url
|
||||
});
|
||||
|
||||
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
|
||||
|
||||
processUserModel = await users.createTenantAndUser(this.alfrescoJsApi);
|
||||
|
||||
await this.alfrescoJsApi.login(processUserModel.email, processUserModel.password);
|
||||
|
||||
await apps.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
|
||||
loginPage.loginToProcessServicesUsingUserModel(processUserModel);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C277296] Attach a file to task app - process list', function () {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
processFiltersPage.startProcess().selectFromProcessDropdown(app.process_se_name).clickFormStartProcessButton();
|
||||
processFiltersPage.clickRunningFilterButton();
|
||||
processFiltersPage.selectFromProcessList('My Default Name');
|
||||
attachmentListPage.clickAttachFileButton(pngFile.location);
|
||||
attachmentListPage.checkFileIsAttached(pngFile.name);
|
||||
attachmentListPage.clickAttachFileButton(pdfFile.location);
|
||||
attachmentListPage.checkFileIsAttached(pngFile.name);
|
||||
attachmentListPage.checkFileIsAttached(pdfFile.name);
|
||||
});
|
||||
|
||||
it('[C277299] Attach a file to custom app - process list', function () {
|
||||
processServicesPage.goToProcessServices().goToApp(app.title).clickProcessButton();
|
||||
processFiltersPage.startProcess().selectFromProcessDropdown(app.process_se_name).clickFormStartProcessButton();
|
||||
processFiltersPage.clickRunningFilterButton();
|
||||
processFiltersPage.selectFromProcessList('My Default Name');
|
||||
attachmentListPage.clickAttachFileButton(pngFile.location);
|
||||
attachmentListPage.checkFileIsAttached(pngFile.name);
|
||||
attachmentListPage.clickAttachFileButton(pdfFile.location);
|
||||
attachmentListPage.checkFileIsAttached(pngFile.name);
|
||||
attachmentListPage.checkFileIsAttached(pdfFile.name);
|
||||
});
|
||||
});
|
@@ -76,7 +76,7 @@ describe('Form widgets', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C272778] Check text, multiline widgets - label, value and displayed', () => {
|
||||
it('[C272778] Should display text and multi-line in form', () => {
|
||||
loginPage.loginToProcessServicesUsingUserModel(processUserModel);
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name)
|
||||
.clickTasksButton();
|
||||
@@ -112,7 +112,7 @@ describe('Form widgets', () => {
|
||||
|
||||
});
|
||||
|
||||
it('[C272779] Check number, amount widgets - label, value and displayed', () => {
|
||||
it('[C272779] Should display number and amount in form', () => {
|
||||
|
||||
expect(taskPage.formFields().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('[C272780] Check attachfolder, attachfile widgets - label and displayed', () => {
|
||||
it('[C272780] Should display attach file and attach folder in form', () => {
|
||||
|
||||
expect(taskPage.formFields().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('[C272781] Check date, date & time widgets - label, value and displayed', () => {
|
||||
it('[C272781] Should display date and date & time in form', () => {
|
||||
|
||||
expect(taskPage.formFields().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('[C272782] Check people, group widgets - label, value and displayed', () => {
|
||||
it('[C272782] Should display people and group in form', () => {
|
||||
|
||||
expect(taskPage.formFields().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('[C272783] Check displayText, displayValue widgets - value and displayed', () => {
|
||||
it('[C272783] Should display displayText and displayValue in form', () => {
|
||||
|
||||
expect(widget.displayTextWidget().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('[C272784] Check typeahead, header widgets - label, value and displayed', () => {
|
||||
it('[C272784] Should display typeahead and header in form', () => {
|
||||
|
||||
expect(widget.headerWidget().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('[C272785] Check checkbox, radiobuttons widgets - label, value and displayed', () => {
|
||||
it('[C272785] Should display checkbox and radio button in form', () => {
|
||||
let radioOption = 1;
|
||||
|
||||
expect(taskPage.formFields().getFieldLabel(appFields.checkbox_id))
|
||||
@@ -190,7 +190,7 @@ describe('Form widgets', () => {
|
||||
.toContain(formInstance.getWidgetBy('id', appFields.radiobuttons_id).options[radioOption - 1].name);
|
||||
});
|
||||
|
||||
it('[C268149] Check hyperlink, dropdown, dynamictable widgets - label, value and displayed', () => {
|
||||
it('[C268149] Should display hyperlink, dropdown and dynamic table in form', () => {
|
||||
|
||||
expect(widget.hyperlink().getFieldText(appFields.hyperlink_id))
|
||||
.toEqual(formInstance.getWidgetBy('id', appFields.hyperlink_id).hyperlinkUrl || '');
|
||||
|
@@ -27,6 +27,7 @@ import resources = require('../util/resources');
|
||||
import AlfrescoApi = require('alfresco-js-api-node');
|
||||
import { AppsActions } from '../actions/APS/apps.actions';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
describe('Process List - Pagination when adding processes', () => {
|
||||
|
||||
@@ -45,9 +46,11 @@ describe('Process List - Pagination when adding processes', () => {
|
||||
let app = resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
let nrOfProcesses = 25;
|
||||
let page, totalPages;
|
||||
let i;
|
||||
let apps = new AppsActions();
|
||||
let resultApp;
|
||||
|
||||
beforeAll(async (done) => {
|
||||
let apps = new AppsActions();
|
||||
let users = new UsersActions();
|
||||
|
||||
this.alfrescoJsApi = new AlfrescoApi({
|
||||
@@ -61,34 +64,43 @@ describe('Process List - Pagination when adding processes', () => {
|
||||
|
||||
await this.alfrescoJsApi.login(processUserModel.email, processUserModel.password);
|
||||
|
||||
let resultApp = await apps.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
resultApp = await apps.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
|
||||
for (let i = 0; i < nrOfProcesses; i++) {
|
||||
for (i = 0; i < (nrOfProcesses - 5); i++) {
|
||||
await apps.startProcess(this.alfrescoJsApi, resultApp);
|
||||
}
|
||||
|
||||
loginPage.loginToProcessServicesUsingUserModel(processUserModel);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C261046] Items per page set to 15 and adding of processes', () => {
|
||||
totalPages = 2;
|
||||
page = 1;
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
processDetailsPage.checkProcessTitleIsDisplayed();
|
||||
processFiltersPage.waitForTableBody();
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C261046] Should keep Items per page after adding processes', () => {
|
||||
totalPages = 2;
|
||||
page = 1;
|
||||
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
processDetailsPage.checkProcessTitleIsDisplayed();
|
||||
processFiltersPage.waitForTableBody();
|
||||
|
||||
expect(paginationPage.getCurrentPage()).toEqual('Page ' + page);
|
||||
expect(paginationPage.getTotalPages()).toEqual('of ' + totalPages);
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + itemsPerPage.fifteenValue * page + ' of ' + nrOfProcesses);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + itemsPerPage.fifteenValue * page + ' of ' + (nrOfProcesses - 5));
|
||||
expect(processFiltersPage.numberOfProcessRows()).toBe(itemsPerPage.fifteenValue);
|
||||
paginationPage.checkNextPageButtonIsEnabled();
|
||||
paginationPage.checkPreviousPageButtonIsDisabled();
|
||||
|
||||
browser.controlFlow().execute(async () => {
|
||||
for (i; i < nrOfProcesses; i++) {
|
||||
await apps.startProcess(this.alfrescoJsApi, resultApp);
|
||||
}
|
||||
});
|
||||
|
||||
page++;
|
||||
paginationPage.clickOnNextPage();
|
||||
processDetailsPage.checkProcessTitleIsDisplayed();
|
||||
|
@@ -28,6 +28,7 @@ import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import resources = require('../util/resources');
|
||||
import { browser } from 'protractor';
|
||||
|
||||
describe('Items per page set to 15 and adding of tasks', () => {
|
||||
|
||||
@@ -38,7 +39,9 @@ describe('Items per page set to 15 and adding of tasks', () => {
|
||||
|
||||
let processUserModel;
|
||||
let app = resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
let currentPage = 1, nrOfTasks = 25, totalPages = 2;
|
||||
let currentPage = 1, nrOfTasks = 25, totalPages = 2, i, resultApp;
|
||||
|
||||
let apps = new AppsActions();
|
||||
|
||||
let itemsPerPage = {
|
||||
fifteen: '15',
|
||||
@@ -46,7 +49,6 @@ describe('Items per page set to 15 and adding of tasks', () => {
|
||||
};
|
||||
|
||||
beforeAll(async (done) => {
|
||||
let apps = new AppsActions();
|
||||
let users = new UsersActions();
|
||||
|
||||
this.alfrescoJsApi = new AlfrescoApi({
|
||||
@@ -60,9 +62,9 @@ describe('Items per page set to 15 and adding of tasks', () => {
|
||||
|
||||
await this.alfrescoJsApi.login(processUserModel.email, processUserModel.password);
|
||||
|
||||
let resultApp = await apps.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
resultApp = await apps.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
|
||||
for (let i = 0; i < nrOfTasks; i++) {
|
||||
for (i = 0; i < (nrOfTasks - 5); i++) {
|
||||
await apps.startProcess(this.alfrescoJsApi, resultApp);
|
||||
}
|
||||
|
||||
@@ -78,11 +80,17 @@ describe('Items per page set to 15 and adding of tasks', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
expect(paginationPage.getCurrentPage()).toEqual('Page ' + currentPage);
|
||||
expect(paginationPage.getTotalPages()).toEqual('of ' + totalPages);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + itemsPerPage.fifteenValue + ' of ' + nrOfTasks);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + itemsPerPage.fifteenValue + ' of ' + (nrOfTasks - 5));
|
||||
expect(taskPage.getAllDisplayedRows()).toBe(itemsPerPage.fifteenValue);
|
||||
|
||||
browser.controlFlow().execute(async () => {
|
||||
for (i; i < nrOfTasks; i++) {
|
||||
await apps.startProcess(this.alfrescoJsApi, resultApp);
|
||||
}
|
||||
});
|
||||
|
||||
currentPage++;
|
||||
paginationPage.clickOnNextPage();
|
||||
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
expect(paginationPage.getCurrentPage()).toEqual('Page ' + currentPage);
|
||||
expect(paginationPage.getTotalPages()).toEqual('of ' + totalPages);
|
||||
|
@@ -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();
|
||||
|
@@ -79,7 +79,7 @@ describe('Process List - Pagination', function () {
|
||||
|
||||
describe('Empty processes', function () {
|
||||
|
||||
it('[C261042] Should show empty content message an no pagination when no process are present', function () {
|
||||
it('[C280015] Should show empty content message an no pagination when no process are present', function () {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
processFiltersPage.checkNoContentMessage();
|
||||
paginationPage.checkPaginationIsNotDisplayed();
|
||||
@@ -105,7 +105,7 @@ describe('Process List - Pagination', function () {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C261042] Default pagination', function () {
|
||||
it('[C261042] Should display default pagination', function () {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
|
||||
page = 1;
|
||||
@@ -125,7 +125,7 @@ describe('Process List - Pagination', function () {
|
||||
paginationPage.checkPreviousPageButtonIsDisabled();
|
||||
});
|
||||
|
||||
it('[C261043] Items per page set to 15', function () {
|
||||
it('[C261043] Should be possible to Items per page to 15', function () {
|
||||
page = 1;
|
||||
totalPages = 2;
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
@@ -167,7 +167,7 @@ describe('Process List - Pagination', function () {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
});
|
||||
|
||||
it('[C261044] Items per page set to 10', function () {
|
||||
it('[C261044] Should be possible to Items per page to 10', function () {
|
||||
page = 1;
|
||||
totalPages = 2;
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
@@ -209,7 +209,7 @@ describe('Process List - Pagination', function () {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.ten);
|
||||
});
|
||||
|
||||
it('[C261047] Items per page set to 20', function () {
|
||||
it('[C261047] Should be possible to Items per page to 20', function () {
|
||||
page = 1;
|
||||
totalPages = 1;
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
@@ -238,7 +238,7 @@ describe('Process List - Pagination', function () {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.twenty);
|
||||
});
|
||||
|
||||
it('[C261045] 5 Items per page', function () {
|
||||
it('[C261045] Should be possible to Items per page to 5', function () {
|
||||
let showing;
|
||||
page = 1;
|
||||
totalPages = 4;
|
||||
@@ -313,7 +313,7 @@ describe('Process List - Pagination', function () {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.five);
|
||||
});
|
||||
|
||||
it('[C261049] Page number dropdown', function () {
|
||||
it('[C261049] Should be possible to open page number dropdown', function () {
|
||||
let showing;
|
||||
page = 1;
|
||||
totalPages = 2;
|
||||
@@ -367,7 +367,7 @@ describe('Process List - Pagination', function () {
|
||||
paginationPage.checkPreviousPageButtonIsDisabled();
|
||||
});
|
||||
|
||||
it('[C261048] Sorting by Name', function () {
|
||||
it('[C261048] Should be possible to sort processes by name', function () {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
processFiltersPage.clickRunningFilterButton();
|
||||
processFiltersPage.checkFilterIsHighlighted(processFilterRunning);
|
||||
@@ -387,7 +387,7 @@ describe('Process List - Pagination', function () {
|
||||
processFiltersPage.checkProcessesSortedByNameDesc();
|
||||
});
|
||||
|
||||
it('[C286260] Sorting chosen should remain when changing \'Items per page\'', function () {
|
||||
it('[C286260] Should keep sorting when changing \'Items per page\'', function () {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickProcessButton();
|
||||
processFiltersPage.clickRunningFilterButton();
|
||||
processFiltersPage.checkFilterIsHighlighted(processFilterRunning);
|
||||
|
@@ -77,7 +77,7 @@ describe('Task List Pagination - Sorting', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C260308] Sorting by Name', () => {
|
||||
it('[C260308] Should be possible to sort tasks by name', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
taskPage.tasksListPage().waitForTableBody();
|
||||
|
@@ -33,7 +33,6 @@ import AlfrescoApi = require('alfresco-js-api-node');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import fs = require('fs');
|
||||
import path = require('path');
|
||||
import Util = require('..ro/util/util');
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
|
||||
|
@@ -28,6 +28,7 @@ import { AppNavigationBarPage } from '../pages/adf/process_services/appNavigatio
|
||||
import ProcessDetailsPage = require('../pages/adf/process_services/processDetailsPage');
|
||||
import { AttachmentListPage } from '../pages/adf/process_services/attachmentListPage';
|
||||
import { AppsActions } from '../actions/APS/apps.actions';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import User = require('../models/APS/User');
|
||||
import Tenant = require('../models/APS/Tenant');
|
||||
@@ -100,10 +101,6 @@ describe('Start Process Component', () => {
|
||||
|
||||
await this.alfrescoJsApiUserTwo.activiti.modelsApi.deleteModel(simpleAppCreated.id);
|
||||
|
||||
// await this.alfrescoJsApiUserTwo.activiti.modelsApi.deleteModel(secondModelId);
|
||||
//
|
||||
// await this.alfrescoJsApiUserTwo.activiti.modelsApi.deleteModel(modelId);
|
||||
|
||||
await this.alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(tenantId);
|
||||
|
||||
done();
|
||||
@@ -117,7 +114,7 @@ describe('Start Process Component', () => {
|
||||
processServicesPage.checkApsContainer();
|
||||
});
|
||||
|
||||
it('[C260458] Check start a process without a process model included', () => {
|
||||
it('[C260458] Should NOT be able to start a process without process model', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -134,7 +131,7 @@ describe('Start Process Component', () => {
|
||||
processServicesPage.checkApsContainer();
|
||||
});
|
||||
|
||||
it('[C260441] Check Start Process within Task App', () => {
|
||||
it('[C260441] Should display start process form and default name when creating a new process', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -142,7 +139,7 @@ describe('Start Process Component', () => {
|
||||
expect(startProcessPage.getDefaultName()).toEqual('My Default Name');
|
||||
});
|
||||
|
||||
it('[C260445] Process Definition is required and cancel button is clicked', () => {
|
||||
it('[C260445] Should require process definition and be possible to click cancel button', () => {
|
||||
processServicesPage.goToApp('Task App');
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -154,7 +151,7 @@ describe('Start Process Component', () => {
|
||||
processFiltersPage.checkNoContentMessage();
|
||||
});
|
||||
|
||||
it('[C260444] Name of the process is required', () => {
|
||||
it('[C260444] Should require process name', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -164,7 +161,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsDisabled();
|
||||
});
|
||||
|
||||
it('[C260443] Check Start Process within an app without a start event', () => {
|
||||
it('[C260443] Should be possible to start a process without start event', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -174,7 +171,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsEnabled();
|
||||
});
|
||||
|
||||
xit('[C260449] Start a process within an app with a start event', () => {
|
||||
xit('[C260449] Should be possible to start a process with start event', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -201,7 +198,7 @@ describe('Start Process Component', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C286503] No options are displayed when typing a process that does not exist', () => {
|
||||
it('[C286503] Should NOT display any process definition when typing a non-existent one', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -211,7 +208,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsDisabled();
|
||||
});
|
||||
|
||||
it('[C286504] Proper options are displayed when typing a part of existent process definitions', () => {
|
||||
it('[C286504] Should display proper options when typing a part of existent process definitions', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -223,7 +220,7 @@ describe('Start Process Component', () => {
|
||||
startProcessPage.checkStartProcessButtonIsEnabled();
|
||||
});
|
||||
|
||||
it('[C286508] Only one option is displayed when typing an existent process definition', () => {
|
||||
it('[C286508] Should display only one option when typing an existent process definition', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -283,7 +280,7 @@ describe('Start Process Component', () => {
|
||||
expect(startProcessPage.getProcessDefinitionValue()).toBe('');
|
||||
});
|
||||
|
||||
it('[C260453] Add a comment on an active process', () => {
|
||||
it('[C260453] Should be possible to add a comment on an active process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -297,7 +294,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkCommentIsDisplayed('comment1');
|
||||
});
|
||||
|
||||
it('[C260454] Click Audit Log button', () => {
|
||||
it('[C260454] Should be possible to download audit log file', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -312,7 +309,7 @@ describe('Start Process Component', () => {
|
||||
expect(Util.fileExists(auditLogFile, 15)).toBe(true);
|
||||
});
|
||||
|
||||
it('Add a file in the attachment list using the button', () => {
|
||||
it('Should be able to attach a file using the button', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
@@ -331,7 +328,7 @@ describe('Start Process Component', () => {
|
||||
attachmentListPage.checkFileIsAttached(jpgFile.name);
|
||||
});
|
||||
|
||||
it('[C260451] Click Show Diagram', () => {
|
||||
it('[C260451] Should be possible to display process diagram', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
@@ -349,7 +346,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.clickShowDiagram();
|
||||
});
|
||||
|
||||
it('[C260452] Click on an active task', () => {
|
||||
it('[C260452] Should redirect user when clicking on active/completed task', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -363,7 +360,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkActiveTaskTitleIsDisplayed(app.task_name);
|
||||
});
|
||||
|
||||
it('[C260457] Click Cancel process button', () => {
|
||||
it('[C260457] Should display process in Completed when cancelled', () => {
|
||||
loginPage.loginToProcessServicesUsingUserModel(secondProcUserModel);
|
||||
navigationBarPage.clickProcessServicesButton();
|
||||
processServicesPage.checkApsContainer();
|
||||
@@ -382,7 +379,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkShowDiagramIsDisabled();
|
||||
});
|
||||
|
||||
it('[C260461] Add a comment on a complete process', () => {
|
||||
it('[C260461] Should be possible to add a comment on a completed/canceled process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
@@ -399,7 +396,7 @@ describe('Start Process Component', () => {
|
||||
processDetailsPage.checkCommentIsDisplayed('goodbye');
|
||||
});
|
||||
|
||||
it('[C260467] Cannot attach a file on a completed process', () => {
|
||||
it('[C260467] Should NOT be possible to attach a file on a completed process', () => {
|
||||
processServicesPage.goToApp(app.title);
|
||||
appNavigationBarPage.clickProcessButton();
|
||||
processFiltersPage.clickCreateProcessButton();
|
||||
|
@@ -90,7 +90,7 @@ describe('Start Task - Custom App', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C263942] Modifying task', () => {
|
||||
it('[C263942] Should be possible to modify a task', () => {
|
||||
processServicesPage
|
||||
.goToProcessServices()
|
||||
.goToApp(appModel.name)
|
||||
@@ -142,7 +142,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C263946] Information box', () => {
|
||||
it('[C263946] Should display information box for started task', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[1]).addDescription('Description')
|
||||
@@ -178,7 +178,7 @@ describe('Start Task - Custom App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C263947] Start task with no form', () => {
|
||||
it('[C263947] Should be able to start a task without form', () => {
|
||||
processServicesPage
|
||||
.goToProcessServices()
|
||||
.goToApp(appModel.name)
|
||||
@@ -204,7 +204,7 @@ describe('Start Task - Custom App', () => {
|
||||
expect(taskPage.taskDetails().getFormName()).toEqual(CONSTANTS.TASKDETAILS.NO_FORM);
|
||||
});
|
||||
|
||||
it('[C263948] Start task buttons', () => {
|
||||
it('[C263948] Should be possible to cancel a task', () => {
|
||||
processServicesPage.goToProcessServices()
|
||||
.goToApp(appModel.name)
|
||||
.clickTasksButton();
|
||||
@@ -226,7 +226,7 @@ describe('Start Task - Custom App', () => {
|
||||
expect(taskPage.filtersPage().getActiveFilter()).toEqual(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
});
|
||||
|
||||
it('[C263949] Refreshing the form', () => {
|
||||
it('[C263949] Should be possible to save filled form', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage.filtersPage()
|
||||
.goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
@@ -264,7 +264,7 @@ describe('Start Task - Custom App', () => {
|
||||
.checkFieldValue(by.id, formTextField, formFieldValue);
|
||||
});
|
||||
|
||||
it('[C263951] Assign User', () => {
|
||||
it('[C263951] Should be possible to assign a user', () => {
|
||||
processServicesPage.goToProcessServices().goToApp(appModel.name).clickTasksButton();
|
||||
taskPage
|
||||
.filtersPage()
|
||||
|
@@ -94,7 +94,7 @@ describe('Start Task - Task App', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C260383] Modifying task', () => {
|
||||
it('[C260383] Should be possible to modify a task', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[0])
|
||||
@@ -116,7 +116,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C260506] Information box', () => {
|
||||
it('[C260506] Should display information box for started task', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[1]).addDescription('Description')
|
||||
@@ -161,7 +161,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C260422] Start task buttons', () => {
|
||||
it('[C260422] Should be possible to cancel a task', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().checkStartButtonIsDisabled().addName(tasks[3])
|
||||
@@ -172,7 +172,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C260423] Refreshing the form', () => {
|
||||
it('[C260423] Should be possible to save filled form', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask()
|
||||
@@ -189,7 +189,7 @@ describe('Start Task - Task App', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('[C260425] Assign User', () => {
|
||||
it('[C260425] Should be possible to assign a user', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp().clickTasksButton();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.MY_TASKS);
|
||||
taskPage.createNewTask().addName(tasks[5])
|
||||
|
@@ -33,7 +33,7 @@ import { AppsActions } from '../actions/APS/apps.actions';
|
||||
import path = require('path');
|
||||
import Util = require('../util/util');
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
describe('Task Audit', () => {
|
||||
|
||||
let loginPage = new LoginPage();
|
||||
let processServicesPage = new ProcessServicesPage();
|
||||
|
@@ -223,14 +223,10 @@ describe('Task', () => {
|
||||
let loginPage = new LoginPage();
|
||||
let navigationBarPage = new NavigationBarPage();
|
||||
let processServicesPage = new ProcessServicesPage();
|
||||
let tasksPage = new TasksPage();
|
||||
let tasksListPage = new TasksListPage();
|
||||
let taskFiltersPage = new TaskFiltersPage();
|
||||
let taskDetailsPage = new TaskDetailsPage();
|
||||
let appNavigationBarPage = new AppNavigationBarPage();
|
||||
let appSettingsToggles = new AppSettingsToggles();
|
||||
|
||||
let tenantId;
|
||||
let user;
|
||||
let appId;
|
||||
let importedApp;
|
||||
@@ -251,7 +247,6 @@ describe('Task', () => {
|
||||
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
|
||||
|
||||
user = await users.createTenantAndUser(this.alfrescoJsApi);
|
||||
tenantId = user.tenantId;
|
||||
|
||||
await this.alfrescoJsApi.login(user.email, user.password);
|
||||
|
||||
@@ -269,10 +264,6 @@ describe('Task', () => {
|
||||
|
||||
});
|
||||
|
||||
// afterAll(async(done) => {
|
||||
// await this.alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(tenantId);
|
||||
// done();
|
||||
// });
|
||||
beforeEach(async () => {
|
||||
navigationBarPage.clickProcessServicesButton();
|
||||
processServicesPage.checkApsContainer();
|
||||
|
@@ -40,13 +40,10 @@ describe('Task Filters Sorting', () => {
|
||||
let taskFiltersPage = new TaskFiltersPage();
|
||||
let taskDetailsPage = new TaskDetailsPage();
|
||||
|
||||
let tenantId;
|
||||
let user;
|
||||
let appId;
|
||||
let importedApp;
|
||||
|
||||
let taskFilterId;
|
||||
|
||||
let app = resources.Files.APP_WITH_PROCESSES;
|
||||
|
||||
let tasks = [
|
||||
@@ -69,7 +66,6 @@ describe('Task Filters Sorting', () => {
|
||||
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
|
||||
|
||||
user = await users.createTenantAndUser(this.alfrescoJsApi);
|
||||
tenantId = user.tenantId;
|
||||
|
||||
await this.alfrescoJsApi.login(user.email, user.password);
|
||||
|
||||
@@ -118,7 +114,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -142,7 +137,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -165,7 +159,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -188,7 +181,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -211,7 +203,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -234,7 +225,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -257,7 +247,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -280,7 +269,6 @@ describe('Task Filters Sorting', () => {
|
||||
|
||||
let result = await this.alfrescoJsApi.activiti.userFiltersApi.createUserTaskFilter(newFilter);
|
||||
|
||||
taskFilterId = result.id;
|
||||
return result;
|
||||
});
|
||||
|
||||
|
@@ -79,7 +79,7 @@ describe('Task List Pagination', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C260301] Pagination at first 20 started tasks', () => {
|
||||
it('[C260301] Should display default pagination', () => {
|
||||
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('[C260304] Items per page set to 5', () => {
|
||||
it('[C260304] Should be possible to set Items per page to 5', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
||||
@@ -119,7 +119,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.five);
|
||||
});
|
||||
|
||||
it('[C260303] Items per page set to 10', () => {
|
||||
it('[C260303] Should be possible to set Items per page to 10', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.ten);
|
||||
@@ -136,7 +136,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.ten);
|
||||
});
|
||||
|
||||
it('[C260302] Items per page set to 15', () => {
|
||||
it('[C260302] Should be possible to set Items per page to 15', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
@@ -153,7 +153,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
});
|
||||
|
||||
it('[C261006] Page number dropdown', () => {
|
||||
it('[C261006] Should be possible to navigate to a page with page number dropdown', () => {
|
||||
currentPage = 1;
|
||||
totalPages = 2;
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
|
Reference in New Issue
Block a user