mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[AAE-4608] Use smartrunner version 2 (#2009)
* [AAE-4608] Use smartrunner version 2 * Fix wrong path
This commit is contained in:
14
e2e/smartrunner-factory.js
Normal file
14
e2e/smartrunner-factory.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const SmartRunnerFactory = require('protractor-smartrunner').SmartRunnerFactory;
|
||||
const resolve = require('path').resolve;
|
||||
|
||||
const outputDirectory = process.env.SMART_RUNNER_DIRECTORY;
|
||||
const repoHash = process.env.GIT_HASH;
|
||||
|
||||
console.log(`SmartRunner's repoHash: "${repoHash}"`);
|
||||
console.log(`SmartRunner's outputDirectory: "${outputDirectory}"`);
|
||||
|
||||
module.exports = new SmartRunnerFactory({
|
||||
repoHash,
|
||||
...(outputDirectory ? { outputDirectory: resolve(__dirname, '..', outputDirectory) } : {}),
|
||||
exclusionPath: resolve(__dirname, 'protractor.excludes.json')
|
||||
});
|
Reference in New Issue
Block a user