aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/pipeline/run_group1.sh
blob: d60b85312c176c139e067476513f80f6d3bb7a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

. $HOME/.nvm/nvm.sh

set -x

CYPRESS_HOME_DIR=$1
TESTS_GROUP_FILE=cypress/pipeline/group1.txt

cd ${CYPRESS_HOME_DIR}

cat ${TESTS_GROUP_FILE}
npm run cypress:headless -- --spec=$(cat ${TESTS_GROUP_FILE} | tr '\n' ',')