mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3040]Refactor/and move to testing package POs and API calls (#5607)
* Refactor/and move to testing package POs and API calls * Remove method * Add task list PO * Use adf testing package APS1 calls * Fix some tests * Update new test * Fix some process-services tests * no message * Fix 2 tests * Create StartProcess page in ADF testing package; refactor process-services tests * no message
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage, Widget, DatePickerCalendarPage, DateUtil, ApplicationService } from '@alfresco/adf-testing';
|
||||
import { LoginPage, Widget, DatePickerCalendarPage, DateUtil, ApplicationsUtil } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
@@ -66,7 +66,7 @@ describe('Dynamic Table', () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
await alfrescoJsApi.login(user.email, user.password);
|
||||
const applicationsService = new ApplicationService(alfrescoJsApi);
|
||||
const applicationsService = new ApplicationsUtil(alfrescoJsApi);
|
||||
const importedApp = await applicationsService.importPublishDeployApp(app.file_path);
|
||||
appId = importedApp.id;
|
||||
await loginPage.loginToProcessServicesUsingUserModel(user);
|
||||
@@ -127,7 +127,7 @@ describe('Dynamic Table', () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
await alfrescoJsApi.login(user.email, user.password);
|
||||
const applicationsService = new ApplicationService(alfrescoJsApi);
|
||||
const applicationsService = new ApplicationsUtil(alfrescoJsApi);
|
||||
|
||||
const importedApp = await applicationsService.importPublishDeployApp(app.file_path);
|
||||
appId = importedApp.id;
|
||||
|
Reference in New Issue
Block a user