mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* [ACS-5343] refactor Playwright framework in ACA * Add the tests for Actions, from the Adam PR [ACS-5328] * Small fixes * Improve logs * [ACS-5343] adding-goThroughPages-and-delete * [ACS-5343] added git changes * [ACS-5343] added git changes for playwright * [ACS-5343] fix for e2e * [ACS-5343] e2e protractor path fix * remove import * [ACS-5343] e2e playwright user fix * [ACS-5343] e2e playwright user ids fix * [ACS-5343] e2e playwright users ids fix * changes for git * fix playwright test run * tsconfig path fix * playwright action yml added * retrigger checks * add test id from testrail * merge conflits * fix gha * fix credentials --------- Co-authored-by: adam.zakrzewski <adam.zakrzewski@hyland.com> Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com> Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
15 lines
562 B
JavaScript
15 lines
562 B
JavaScript
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')
|
|
});
|