mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Update e2e Tests to allow ADW builds to run on them as well (#1242)
* make ECM host flexible
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { AlfrescoApi } from '@alfresco/js-api';
|
||||
import { REPO_API_HOST } from '../../../configs';
|
||||
import { RepoClientAuth } from '../repo-client-models';
|
||||
|
||||
export abstract class RepoApi {
|
||||
@@ -34,10 +34,7 @@ export abstract class RepoApi {
|
||||
private username: string = RepoClientAuth.DEFAULT_USERNAME,
|
||||
private password: string = RepoClientAuth.DEFAULT_PASSWORD
|
||||
) {
|
||||
this.alfrescoJsApi.setConfig({
|
||||
provider: 'ECM',
|
||||
hostEcm: REPO_API_HOST
|
||||
});
|
||||
this.alfrescoJsApi.setConfig(browser.params.config);
|
||||
}
|
||||
|
||||
apiAuth() {
|
||||
|
Reference in New Issue
Block a user