mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Multiple option env file (#4788)
* multi configuration file enabling * improve ignore * update i18n tool dep * update webbpack bundle analyzer version * fix ps cloud test wait setting * fix script content * remove use of testconfig for browser options * convert protractor to ts * download browser util fix
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
import path = require('path');
|
||||
import remote = require('selenium-webdriver/remote');
|
||||
import { browser, by, element } from 'protractor';
|
||||
@@ -50,7 +49,7 @@ export class VersionManagePage {
|
||||
uploadNewVersionFile(fileLocation) {
|
||||
browser.setFileDetector(new remote.FileDetector());
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.uploadNewVersionButton);
|
||||
this.uploadNewVersionButton.sendKeys(path.resolve(path.join(TestConfig.main.rootPath, fileLocation)));
|
||||
this.uploadNewVersionButton.sendKeys(path.resolve(path.join(browser.params.testConfig.main.rootPath, fileLocation)));
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.showNewVersionButton);
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user