11 lines
490 B
Bash
11 lines
490 B
Bash
cypressParallel() {
|
|
TEST_PATHS=(
|
|
'test/cypress/integration/claim/claimAction.spec.js'
|
|
'test/cypress/integration/claim/claimDevelopment.spec.js'
|
|
)
|
|
# find 'test/cypress/integration' -name "*.spec.js"
|
|
printf "%s\n" "${TEST_PATHS[@]}" | xargs -P $1 -I {} sh -c 'xvfb-run -a cypress run --headless --browser chromium --spec {}'
|
|
# cypress run --headless --browser chromium --spec 'test/cypress/integration/shelving/parking/parkingBasicData.spec.js'
|
|
wait
|
|
}
|