mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4587] Fix e2e tests (#4757)
* Fix user_info test * Removing duplication and hardcoded protocol * Fix linting and update script * Removing hardcoded protocol * Add protocol to scripts * Fix C260117 * Enable screenshots for cloud tests * Update process-services-cloud-e2e.sh
This commit is contained in:
@@ -45,14 +45,12 @@ var APIUtils = function () {
|
||||
*/
|
||||
this.getBaseURL = function (application, urlComponentsParam) {
|
||||
var urlComponents = {};
|
||||
urlComponents.protocol = TestConfig[application].protocol;
|
||||
urlComponents.hostname = TestConfig[application].host;
|
||||
urlComponents.port = TestConfig[application].port;
|
||||
urlComponents.path = TestConfig[application].apiContextRoot;
|
||||
Object.assign(urlComponents, urlComponentsParam);
|
||||
|
||||
return url(urlComponents.protocol
|
||||
+ "://" + urlComponents.hostname
|
||||
return url(urlComponents.hostname
|
||||
+ (urlComponents.port !== "" ? ":" + urlComponents.port : ""),
|
||||
urlComponents.path);
|
||||
};
|
||||
|
Reference in New Issue
Block a user