mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* fix protractor conf * remove update env * fix cli error script cs * change screenshot plugin * remove unused param * fix * fix * fix * moment comment nvm * fix * fix * fix * fix * remove adf redirect * fix * fix * save remote report * report fix * improve save result * fix folder save * fix folder save * fix placeholder pointer , they needs refactor later * fix * fix lint * fix * remove test already covered by unit fix the test in core needed exclude the one impossible to make it works without APS basic support * lint * fix some logout missing * fix * Fix the custom-tasks-filters.e2e * fix lint * fix * fix * fix * Fix wait on start process and on process definition options * Fix logout before login again * fix uplaod test * fix * Fix infodrawer with check detail and sleep * lint * increase list of excluded test * fix * fix lint * change wait method datatable * fix * fix * revert check value * fix * fix * change tag test Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
25 lines
927 B
Bash
Executable File
25 lines
927 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "Start insight e2e"
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
export PROVIDER='BPM'
|
|
export AUTH_TYPE='OAUTH'
|
|
|
|
cd $DIR/../../../
|
|
|
|
if [ "${TRAVIS_EVENT_TYPE}" == "pull_request" ]; then
|
|
echo "Calculate affected e2e $BASE_HASH $HEAD_HASH"
|
|
./scripts/git-util/check-branch-updated.sh -b $TRAVIS_BRANCH || exit 1;
|
|
echo "Affected libs ${AFFECTED_LIBS}"
|
|
AFFECTED_LIBS="$(nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain)"
|
|
echo "Affected e2e ${AFFECTED_E2E}"
|
|
fi;
|
|
|
|
if [[ $AFFECTED_LIBS =~ "testing" || $AFFECTED_LIBS =~ "insight" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
|
|
then
|
|
./node_modules/@alfresco/adf-cli/bin/adf-cli check-ps-env --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
|
|
./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" --folder insights --use-dist || exit 1;
|
|
fi;
|