mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic make merge in share adapter a real merge * missing semi column * type problem * fix pagination infinite test * tentative file detector * add other remote files for webdriver * parallel execution test * fix refresh browser e2e * missing driver remote in util
This commit is contained in:
committed by
Eugenio Romano
parent
2602879cba
commit
83b2857097
@@ -22,6 +22,7 @@ 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);
|
||||
/**
|
||||
@@ -34,6 +35,8 @@ 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