[ADF-3401] Filter facets are not reseted when updating the search query (#4425)

* C299200 automated

* Test package version

* Save the head of development into a tmp file (this will avoid error in case of rebase meanwhile the pipeline is running)
Remove the -gnu in the wrong position

* Update test-e2e-lib.sh

* Print adf version on each step

* Print adf version on each step

* Add console log and skip install on the unit test demo shell

* Remove the print dependendy
This commit is contained in:
gmandakini
2019-03-13 10:39:55 +00:00
committed by Eugenio Romano
parent 3136580bba
commit fca9e51c16
6 changed files with 103 additions and 32 deletions

View File

@@ -53,64 +53,66 @@ jobs:
- ./scripts/lint.sh || exit 1 - ./scripts/lint.sh || exit 1
- npm run spellcheck || exit 1 - npm run spellcheck || exit 1
- npm run stylelint || exit 1 - npm run stylelint || exit 1
- rm -rf tmp && (./scripts/smart-build.sh -b $TRAVIS_BRANCH || exit 1;); - rm -rf tmp && mkdir tmp
- git merge-base origin/$TRAVIS_BRANCH HEAD > ./tmp/devhead.txt
- (./scripts/smart-build.sh -b $TRAVIS_BRANCH || exit 1;);
- npm run build:dist || exit 1 - npm run build:dist || exit 1
- ./scripts/license-list-generator.sh - ./scripts/license-list-generator.sh
- stage: Unit test - stage: Unit test
name: core name: core
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "core$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "core$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test core --watch=false || exit 1; ng test core --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: extensions name: extensions
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "extensions$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "extensions$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test extensions --watch=false || exit 1; ng test extensions --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: process-services name: process-services
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "process-services$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test process-services --watch=false || exit 1; ng test process-services --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: insights name: insights
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "insights$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "insights$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test insights --watch=false || exit 1; ng test insights --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: content-services name: content-services
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "content-services$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test content-services --watch=false || exit 1; ng test content-services --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: process-services-cloud name: process-services-cloud
script: script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
ng test process-services-cloud --watch=false || exit 1; ng test process-services-cloud --watch=false || exit 1;
fi fi;
- stage: Unit test - stage: Unit test
name: demo-shell name: demo-shell
script: if ([ "$TRAVIS_BRANCH" = "master" ]); then script: if ([ "$TRAVIS_BRANCH" = "master" ]); then
(./scripts/start.sh -t -ss || exit 1;); (./scripts/start.sh -t -ss || exit 1;);
else else
(./scripts/start.sh -dev -t -ss -vjsapi alpha || exit 1;); (./scripts/start.sh -dev -t -ss -si || exit 1;);
fi fi;
- stage: Update children projects dependency #Update generator-ng2-alfresco-app - stage: Update children projects dependency #Update generator-ng2-alfresco-app
name: Update Generator name: Update Generator
if: tag =~ .*beta.* if: tag =~ .*beta.*
@@ -139,7 +141,7 @@ jobs:
if [[ $AFFECTED_LIBS =~ "core$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "core$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder core --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder core --skip-lint --use-dist || exit 1;);
fi fi;
- stage: e2e Test # Test process-services - stage: e2e Test # Test process-services
name: process-services name: process-services
script: script:
@@ -148,7 +150,7 @@ jobs:
if [[ $AFFECTED_LIBS =~ "process-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "process-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services --skip-lint --use-dist || exit 1;);
fi fi;
- stage: e2e Test # Test content-services - stage: e2e Test # Test content-services
name: content-services name: content-services
script: script:
@@ -157,38 +159,40 @@ jobs:
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder content-services --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder content-services --skip-lint --use-dist || exit 1;);
fi fi;
- stage: e2e Test # Test search - stage: e2e Test # Test search
name: search name: search
script: script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")"; AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder search --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder search --skip-lint --use-dist || exit 1;);
fi fi;
- stage: e2e Test # Test process-services-cloud - stage: e2e Test # Test process-services-cloud
name: process-services-cloud name: process-services-cloud
script: script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")"; AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services-cloud --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services-cloud --skip-lint --use-dist || exit 1;);
fi fi;
- stage: e2e Test # Test insights - stage: e2e Test # Test insights
name: insights name: insights
script: script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")"; AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b -gnu $TRAVIS_BRANCH)"; AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]]; if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder insights --skip-lint --use-dist || exit 1;); (./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder insights --skip-lint --use-dist || exit 1;);
fi fi;
- stage: Create Docker PR - stage: Create Docker PR
script: node ./scripts/move-dist-folder.js --base-href $TRAVIS_BUILD_NUMBER && (./scripts/pr-publish.sh -n $TRAVIS_BUILD_NUMBER -r $REPO_DOCKER -u $USERNAME_DOCKER -p $PASSWORD_DOCKER || exit 1) script:
node ./scripts/move-dist-folder.js --base-href $TRAVIS_BUILD_NUMBER && (./scripts/pr-publish.sh -n $TRAVIS_BUILD_NUMBER -r $REPO_DOCKER -u $USERNAME_DOCKER -p $PASSWORD_DOCKER || exit 1);
- stage: Deploy Docker PR - stage: Deploy Docker PR
script: node --no-deprecation ./scripts/pr-deploy.js -n $TRAVIS_BUILD_NUMBER -u $RANCHER_TOKEN -p $RANCHER_SECRET -s $REPO_RANCHER --image "docker:$REPO_DOCKER/adf/demo-shell:$TRAVIS_BUILD_NUMBER" --env $ENVIRONMENT_NAME -r $ENVIRONMENT_URL || exit 1 script:
node --no-deprecation ./scripts/pr-deploy.js -n $TRAVIS_BUILD_NUMBER -u $RANCHER_TOKEN -p $RANCHER_SECRET -s $REPO_RANCHER --image "docker:$REPO_DOCKER/adf/demo-shell:$TRAVIS_BUILD_NUMBER" --env $ENVIRONMENT_NAME -r $ENVIRONMENT_URL || exit 1;
# Send coverage data to codecov # Send coverage data to codecov
after_success: after_success:

View File

@@ -148,6 +148,7 @@ export class SearchFiltersPage {
this.searchCategoriesPage.clickFilterHeader(this.fileSizeFilter); this.searchCategoriesPage.clickFilterHeader(this.fileSizeFilter);
return this; return this;
} }
checkFileSizeFilterIsCollapsed() { checkFileSizeFilterIsCollapsed() {
this.searchCategoriesPage.checkFilterIsCollapsed(this.fileSizeFilter); this.searchCategoriesPage.checkFilterIsCollapsed(this.fileSizeFilter);
return this; return this;
@@ -280,4 +281,15 @@ export class SearchFiltersPage {
this.searchCategoriesPage.clickFilterHeader(this.facetIntervalsByModified); this.searchCategoriesPage.clickFilterHeader(this.facetIntervalsByModified);
return this; return this;
} }
checkFileTypeFacetLabelIsDisplayed(fileType) {
Util.waitUntilElementIsVisible(this.fileTypeFilter.element(by.cssContainingText('.adf-facet-label', fileType)));
return this;
}
checkFileTypeFacetLabelIsNotDisplayed(fileType) {
Util.waitUntilElementIsNotVisible(this.fileTypeFilter.element(by.cssContainingText('.adf-facet-label', fileType)));
return this;
}
} }

View File

@@ -51,6 +51,10 @@ describe('Search Filters', () => {
let acsUser = new AcsUserModel(); let acsUser = new AcsUserModel();
let filename = Util.generateRandomString(16); let filename = Util.generateRandomString(16);
let fileNamePrefix = Util.generateRandomString(5);
let uniqueFileName1 = fileNamePrefix + Util.generateRandomString(5);
let uniqueFileName2 = fileNamePrefix + Util.generateRandomString(5);
let uniqueFileName3 = fileNamePrefix + Util.generateRandomString(5);
let fileModel = new FileModel({ let fileModel = new FileModel({
'name': filename, 'shortName': filename.substring(0, 8) 'name': filename, 'shortName': filename.substring(0, 8)
@@ -61,7 +65,22 @@ describe('Search Filters', () => {
'location': resources.Files.ADF_DOCUMENTS.PNG.file_location 'location': resources.Files.ADF_DOCUMENTS.PNG.file_location
}); });
let fileUploaded, fileTypePng; let txtFileModel1 = new FileModel({
'location': resources.Files.ADF_DOCUMENTS.TXT_0B.file_location,
'name': `${uniqueFileName1}.txt`
});
let jpgFileModel = new FileModel({
'location': resources.Files.ADF_DOCUMENTS.JPG.file_location,
'name': `${uniqueFileName2}.jpg`
});
let txtFileModel2 = new FileModel({
'location': resources.Files.ADF_DOCUMENTS.TXT_0B.file_location,
'name': `${uniqueFileName3}.txt`
});
let fileUploaded, fileTypePng, fileTypeTxt1, fileTypeJpg, fileTypeTxt2;
let filter = { type: 'TYPE-PNG Image' }; let filter = { type: 'TYPE-PNG Image' };
@@ -84,6 +103,12 @@ describe('Search Filters', () => {
fileTypePng = await uploadActions.uploadFile(this.alfrescoJsApi, pngFileModel.location, pngFileModel.name, '-my-'); fileTypePng = await uploadActions.uploadFile(this.alfrescoJsApi, pngFileModel.location, pngFileModel.name, '-my-');
fileTypeTxt1 = await uploadActions.uploadFile(this.alfrescoJsApi, txtFileModel1.location, txtFileModel1.name, '-my-');
fileTypeJpg = await uploadActions.uploadFile(this.alfrescoJsApi, jpgFileModel.location, jpgFileModel.name, '-my-');
fileTypeTxt2 = await uploadActions.uploadFile(this.alfrescoJsApi, txtFileModel2.location, txtFileModel2.name, '-my-');
loginPage.loginToContentServicesUsingUserModel(acsUser); loginPage.loginToContentServicesUsingUserModel(acsUser);
await browser.driver.sleep(30000); // wait search index previous file/folder uploaded await browser.driver.sleep(30000); // wait search index previous file/folder uploaded
@@ -102,6 +127,9 @@ describe('Search Filters', () => {
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileUploaded.entry.id); await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileUploaded.entry.id);
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileTypePng.entry.id); await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileTypePng.entry.id);
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileTypeTxt1.entry.id);
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileTypeTxt2.entry.id);
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, fileTypeJpg.entry.id);
done(); done();
}); });
@@ -225,6 +253,26 @@ describe('Search Filters', () => {
.checkFacetIntervalsByModifiedIsExpanded(); .checkFacetIntervalsByModifiedIsExpanded();
}); });
it('[C299200] Should reset the filters facet with search query', () => {
searchDialog.enterTextAndPressEnter(fileTypeTxt1.entry.name);
searchFiltersPage.checkSearchFiltersIsDisplayed();
searchResults.tableIsLoaded();
searchResults.checkContentIsDisplayed(fileTypeTxt1.entry.name);
searchFiltersPage.checkFileTypeFacetLabelIsDisplayed('Plain Text (1)');
searchFiltersPage.checkFileTypeFacetLabelIsNotDisplayed('JPEG Image');
searchDialog.enterTextAndPressEnter(fileNamePrefix);
searchFiltersPage.checkSearchFiltersIsDisplayed();
searchResults.tableIsLoaded();
searchResults.checkContentIsDisplayed(fileTypeTxt1.entry.name);
searchResults.checkContentIsDisplayed(fileTypeTxt2.entry.name);
searchResults.checkContentIsDisplayed(fileTypeJpg.entry.name);
searchFiltersPage.checkFileTypeFacetLabelIsDisplayed('Plain Text (2)');
searchFiltersPage.checkFileTypeFacetLabelIsDisplayed('JPEG Image (1)');
});
it('[C299124] Should be able to parse escaped empty spaced labels inside facetFields', () => { it('[C299124] Should be able to parse escaped empty spaced labels inside facetFields', () => {
navigationBar.clickConfigEditorButton(); navigationBar.clickConfigEditorButton();
configEditor.clickSearchConfiguration(); configEditor.clickSearchConfiguration();

View File

@@ -3,6 +3,7 @@
eval BRANCH_NAME="" eval BRANCH_NAME=""
eval HEAD_SHA_BRANCH="" eval HEAD_SHA_BRANCH=""
eval SHA_2="HEAD" eval SHA_2="HEAD"
eval DIRECTORY="tmp"
show_help() { show_help() {
echo "Usage: affected-folder.sh" echo "Usage: affected-folder.sh"
@@ -39,6 +40,10 @@ then
exit 0 exit 0
fi fi
if [ ! -f ./$DIRECTORY/devhead.txt ]; then
git merge-base origin/$BRANCH_NAME HEAD > ./$DIRECTORY/devhead.txt
fi
HEAD_SHA_BRANCH="$(git merge-base origin/$BRANCH_NAME HEAD)" HEAD_SHA_BRANCH="$(git merge-base origin/$BRANCH_NAME HEAD)"
#echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH #echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH

View File

@@ -43,8 +43,11 @@ then
exit 0 exit 0
fi fi
#HEAD_SHA_BRANCH=(`git merge-base origin/$BRANCH_NAME HEAD`) if [ ! -f ./$DIRECTORY/devhead.txt ]; then
HEAD_SHA_BRANCH="$(git merge-base origin/$BRANCH_NAME HEAD)" git merge-base origin/$BRANCH_NAME HEAD > ./$DIRECTORY/devhead.txt
fi
HEAD_SHA_BRANCH="$(cat ./$DIRECTORY/devhead.txt)"
echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH
# tmp folder doesn't exist. # tmp folder doesn't exist.

View File

@@ -26,8 +26,7 @@ then
fi fi
#reset the tmp folder #reset the tmp folder
rm -rf tmp affected="$(./scripts/affected-libs.sh -gnu -b "$BRANCH_NAME")"
affected="$(./scripts/affected-libs.sh -b "$BRANCH_NAME")"
echo $affected echo $affected
libs=(`echo $affected | sed 's/^$/\n/g'`) libs=(`echo $affected | sed 's/^$/\n/g'`)
@@ -85,4 +84,4 @@ do
if [ "$i" == "testing$" ] ; then if [ "$i" == "testing$" ] ; then
./scripts/build-testing.sh || exit 1; ./scripts/build-testing.sh || exit 1;
fi fi
done done