aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/pipeline/run_group2.sh
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-01-06 11:31:20 +0200
committerEylon Malin <eylon.malin@intl.att.com>2020-01-08 11:00:18 +0200
commit8cda702e958381eca1c016e6359bcec641b02d63 (patch)
treec7401a419cb02a810901ea71eb461350a51b6d22 /vid-webpack-master/cypress/pipeline/run_group2.sh
parent16ef9772c84d9110b451a1a28f0fe76e40f8bd53 (diff)
cypress test - split cypress test to 3 groups
Issue-ID: VID-740 Change-Id: I772e26cc71339027d8a273acbb256ea1a8d81a11 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-webpack-master/cypress/pipeline/run_group2.sh')
-rw-r--r--vid-webpack-master/cypress/pipeline/run_group2.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/vid-webpack-master/cypress/pipeline/run_group2.sh b/vid-webpack-master/cypress/pipeline/run_group2.sh
index 43cfbc63f..edee7efac 100644
--- a/vid-webpack-master/cypress/pipeline/run_group2.sh
+++ b/vid-webpack-master/cypress/pipeline/run_group2.sh
@@ -5,13 +5,9 @@
set -x
CYPRESS_HOME_DIR=$1
-TESTS_GROUP_FILE_1=cypress/pipeline/group1.txt
-TESTS_GROUP_FILE=cypress/pipeline/group2.generated.txt
+TESTS_GROUP_FILE=cypress/pipeline/group2.txt
cd ${CYPRESS_HOME_DIR}
-# make group2 by "negating" group1.txt
-ls -1 cypress/integration/*/*.e2e.ts | comm -3 - ${TESTS_GROUP_FILE_1} > ${TESTS_GROUP_FILE}
-
cat ${TESTS_GROUP_FILE}
npm run cypress:headless --max-old-space-size=4096 -- --spec=$(cat ${TESTS_GROUP_FILE} | tr '\n' ',')