mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ACA-2951]Add APS1 calls to adf testing package (#5566)
* Add APS1 calls to adf testing package * no message * Change to use AlfrescoApi instead of ApiService * Refactor process-services tests to use API calls implementation from testing package * Fix resource file * no message * Fix widget tests * Fix tests * no message * Unblocking travis
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage, StringUtil, Widget } from '@alfresco/adf-testing';
|
||||
import { LoginPage, StringUtil, Widget, ApplicationService } from '@alfresco/adf-testing';
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
import { browser } from 'protractor';
|
||||
import { AppsActions } from '../actions/APS/apps.actions';
|
||||
@@ -175,7 +175,8 @@ describe('Task Details - Form', () => {
|
||||
beforeAll(async () => {
|
||||
app = browser.params.resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
appActions = new AppsActions();
|
||||
await appActions.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
const applicationsService = new ApplicationService(this.alfrescoJsApi);
|
||||
await applicationsService.importPublishDeployApp(app.file_path);
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
|
Reference in New Issue
Block a user