mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ix build (#6347)
* create after e2e and before e2e script * permission test exclude * flaky exclude * fix * chmod permission * modify check cs * fix * execute * fix * fix
This commit is contained in:
@@ -5,7 +5,7 @@ const retry = require('protractor-retry').retry;
|
||||
const tsConfig = require('./tsconfig.e2e.json');
|
||||
const testConfig = require('./test.config');
|
||||
const RESOURCES = require('./util/resources');
|
||||
const smartRunner = require('protractor-smartrunner');
|
||||
const SmartRunner = require('protractor-smartrunner');
|
||||
const resolve = require('path').resolve;
|
||||
const fs = require('fs');
|
||||
|
||||
@@ -165,7 +165,7 @@ exports.config = {
|
||||
includeStackTrace: true,
|
||||
print: () => {
|
||||
},
|
||||
...smartRunner.withOptionalExclusions(
|
||||
...SmartRunner.withOptionalExclusions(
|
||||
resolve(__dirname, './protractor.excludes.json')
|
||||
)
|
||||
},
|
||||
@@ -196,11 +196,14 @@ exports.config = {
|
||||
|
||||
async onPrepare() {
|
||||
if (process.env.CI) {
|
||||
smartRunner.apply({repoHash: process.env.GIT_HASH || ''});
|
||||
retry.onPrepare();
|
||||
const repoHash = process.env.GIT_HASH || '';
|
||||
const outputDirectory = process.env.SMART_RUNNER_DIRECTORY;
|
||||
console.log(`SmartRunner's repoHash: "${repoHash}"`);
|
||||
console.log(`SmartRunner's outputDirectory: "${outputDirectory}"`);
|
||||
SmartRunner.apply({ outputDirectory, repoHash });
|
||||
}
|
||||
|
||||
retry.onPrepare();
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = TIMEOUT;
|
||||
|
||||
require('ts-node').register({
|
||||
|
Reference in New Issue
Block a user