16 lines
341 B
Bash
16 lines
341 B
Bash
#!/bin/bash
|
|
|
|
find 'test/cypress/integration/invoiceIn/*Descriptor.spec.js' \
|
|
-mindepth 1 \
|
|
-maxdepth 1 \
|
|
-type d | \
|
|
xargs -P "$1" -I {} sh -c '
|
|
echo "🔷 {}" &&
|
|
xvfb-run -a cypress run \
|
|
--headless \
|
|
--spec "[test/cypress/integration/*Descriptor.spec.js]" \
|
|
--quiet \
|
|
> /dev/null
|
|
'
|
|
wait
|