From: Ittay Stern Date: Tue, 30 Jun 2020 12:52:31 +0000 (+0300) Subject: Add group2 to Cypress test-groups X-Git-Tag: 7.0.0~17 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a205bcdfd37ce8afcabd093a461b14a40a065ba4;hp=4e09eb5de8ba5f963ea374f2773fcd6f84cf36b3;p=vid.git Add group2 to Cypress test-groups Issue-ID: VID-647 Change-Id: Iacad92c927f2f24d2fe22c829a7aa4cb72fad57e Signed-off-by: Ittay Stern --- diff --git a/vid-webpack-master/cypress/pipeline/group1.txt b/vid-webpack-master/cypress/pipeline/group1.txt index a9b5aef46..c69919017 100644 --- a/vid-webpack-master/cypress/pipeline/group1.txt +++ b/vid-webpack-master/cypress/pipeline/group1.txt @@ -1,7 +1,4 @@ -cypress/integration/iFrames/ala-carte.e2e.ts -cypress/integration/iFrames/auditInfo.modal.e2e.ts cypress/integration/iFrames/browse-sdc.e2e.ts -cypress/integration/iFrames/changeManagement.e2e.ts cypress/integration/iFrames/collectionResource.e2e.ts cypress/integration/iFrames/commitDialog.e2e.ts cypress/integration/iFrames/drawingBoard.e2e.ts diff --git a/vid-webpack-master/cypress/pipeline/group2.txt b/vid-webpack-master/cypress/pipeline/group2.txt new file mode 100644 index 000000000..97ffeba69 --- /dev/null +++ b/vid-webpack-master/cypress/pipeline/group2.txt @@ -0,0 +1,9 @@ +cypress/integration/iFrames/pnf.e2e.ts +cypress/integration/iFrames/permission.e2e.ts +cypress/integration/iFrames/auditInfo.modal.e2e.ts +cypress/integration/iFrames/ala-carte.e2e.ts +cypress/integration/iFrames/changeManagement.e2e.ts +cypress/integration/iFrames/vnfGroups.e2e.ts +cypress/integration/iFrames/serviceWithNetwork.e2e.ts +cypress/integration/iFrames/serviceWithVnfNetwork.e2e.ts +cypress/integration/iFrames/viewEdit.e2e.ts diff --git a/vid-webpack-master/cypress/pipeline/run_group2.sh b/vid-webpack-master/cypress/pipeline/run_group2.sh new file mode 100644 index 000000000..edee7efac --- /dev/null +++ b/vid-webpack-master/cypress/pipeline/run_group2.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +. $HOME/.nvm/nvm.sh + +set -x + +CYPRESS_HOME_DIR=$1 +TESTS_GROUP_FILE=cypress/pipeline/group2.txt + +cd ${CYPRESS_HOME_DIR} + +cat ${TESTS_GROUP_FILE} +npm run cypress:headless --max-old-space-size=4096 -- --spec=$(cat ${TESTS_GROUP_FILE} | tr '\n' ',')