[no-issue] Parallel run e2e and e2e common action refactoring (#4702)

This commit is contained in:
Eugenio Romano
2019-05-13 04:44:35 +02:00
committed by GitHub
parent a48bfc3714
commit 898e3b5a80
288 changed files with 8704 additions and 5130 deletions

View File

@@ -19,6 +19,7 @@ import { Injectable } from '@angular/core';
import { AppConfigService } from '../app-config/app-config.service';
import { AlfrescoApiService } from '../services/alfresco-api.service';
import { StorageService } from './storage.service';
import { UserPreferencesService } from './user-preferences.service';
@Injectable({
providedIn: 'root'
@@ -26,6 +27,7 @@ import { StorageService } from './storage.service';
export class CoreAutomationService {
constructor(private appConfigService: AppConfigService,
private alfrescoApiService: AlfrescoApiService,
private userPreferencesService: UserPreferencesService,
private storageService: StorageService) {
}
@@ -40,6 +42,10 @@ export class CoreAutomationService {
this.storageService.setItem(key, data);
};
adfProxy.setUserPreference = (key: string, data: any) => {
this.userPreferencesService.set(key, data);
};
adfProxy.clearStorage = () => {
this.storageService.clear();
};