mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] refactor failing e2e (#3865)
* fix ps test * fix import * fix import * fix ps * fix hyperlink * fix radio hiperlynk * autorename for clashes * notification fix * convert userdialog to ts * fix travis configuration * fix download in folder * convert contentservice page to ts * convert setting and login to ts * remove unused import * fix login import * fix login page * fix chips * fix import speed up viewer test * fix contentlist * change id * fix cs e2e * fix search lint * fix name issue
This commit is contained in:
@@ -22,7 +22,6 @@ var path = require('path');
|
||||
var until = protractor.ExpectedConditions;
|
||||
var TestConfig = require('../test.config');
|
||||
var moment = require('moment');
|
||||
var remote = require('selenium-webdriver/remote');
|
||||
|
||||
var DEFAULT_TIMEOUT = parseInt(TestConfig.main.timeout);
|
||||
/**
|
||||
@@ -35,8 +34,6 @@ var DEFAULT_TIMEOUT = parseInt(TestConfig.main.timeout);
|
||||
* creates an absolute path string if multiple file uploads are required
|
||||
*/
|
||||
exports.uploadParentFolder = function (filePath) {
|
||||
browser.setFileDetector(new remote.FileDetector());
|
||||
|
||||
var parentFolder = path.resolve(path.join(__dirname, 'test'));
|
||||
return path.resolve(path.join(parentFolder, filePath));
|
||||
};
|
||||
|
Reference in New Issue
Block a user