summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-06-30 15:52:31 +0300
committerIttay Stern <ittay.stern@att.com>2020-07-01 15:42:13 +0300
commita205bcdfd37ce8afcabd093a461b14a40a065ba4 (patch)
treeb2f05d6fb81511613e747904caf3fcad07b97e95
parent4e09eb5de8ba5f963ea374f2773fcd6f84cf36b3 (diff)
Add group2 to Cypress test-groups
Issue-ID: VID-647 Change-Id: Iacad92c927f2f24d2fe22c829a7aa4cb72fad57e Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rw-r--r--vid-webpack-master/cypress/pipeline/group1.txt3
-rw-r--r--vid-webpack-master/cypress/pipeline/group2.txt9
-rw-r--r--vid-webpack-master/cypress/pipeline/run_group2.sh13
3 files changed, 22 insertions, 3 deletions
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' ',')