mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me * add login component e2e test * add success route test * add change logo check * redirect url after logout e2e * move redirection test in a separate file * login component tslint * cardview e2e * fix login test * add test case number * move version test in a separate file * clean unused elements * metadata part 1 * tslint fix * fix metadata test * remove fit * fix formatting file viewerPage * multi propety test * metadata and login improvements * fix data automation fix * metadata permission e2e * fix tslint problems * improve selector * stabilize search component test * stabilize test step 1 * fix tag test add config timeout * tentative * delay after download * change meatdata test * stabilize metadata * use smaller file for not extension related test * stabilize test step 2 * exclude failing test * timeout fix * split in multiple task e2e * trick travis * trigger build * fix command issue * fix save screenshot * fix run subfolder * test timeout increase
This commit is contained in:
committed by
Eugenio Romano
parent
66f534b32c
commit
b2cb93468d
@@ -26,8 +26,7 @@ exports.getBaseURL = function () {
|
||||
};
|
||||
|
||||
exports.requestHeaders = function (auth) {
|
||||
var headers = {
|
||||
return {
|
||||
'Authorization': new APIUtils().getAuthorization(auth.id, auth.password)
|
||||
};
|
||||
return headers;
|
||||
};
|
||||
|
@@ -17,8 +17,6 @@
|
||||
|
||||
var url = require('url-join');
|
||||
var TestConfig = require('../test.config');
|
||||
var BasicAuthorization = require('../restAPI/httpRequest/BasicAuthorization');
|
||||
var Ajv = require('ajv');
|
||||
|
||||
var APIUtils = function () {
|
||||
/**
|
||||
@@ -53,12 +51,10 @@ var APIUtils = function () {
|
||||
urlComponents.path = TestConfig[application].apiContextRoot;
|
||||
Object.assign(urlComponents, urlComponentsParam);
|
||||
|
||||
var baseUrl = url(urlComponents.protocol
|
||||
return url(urlComponents.protocol
|
||||
+ "://" + urlComponents.hostname
|
||||
+ (urlComponents.port !== "" ? ":" + urlComponents.port : ""),
|
||||
urlComponents.path);
|
||||
|
||||
return baseUrl;
|
||||
};
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user