summaryrefslogtreecommitdiff
path: root/run-test.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-06-22 14:33:55 +0200
committerErich Eckner <git@eckner.net>2024-06-22 14:33:55 +0200
commitef3378ba8385520c0dc75013162ea79196d6d4f5 (patch)
tree187b5211e3949d25af973301dd10374f097e65cd /run-test.sh
parentc973adafe6095fe18ed42315c550c60b030fed2e (diff)
downloadMilchtankstelle-ef3378ba8385520c0dc75013162ea79196d6d4f5.tar.xz
wait for cache to be mounted first
Diffstat (limited to 'run-test.sh')
-rwxr-xr-xrun-test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/run-test.sh b/run-test.sh
index 9fdf259..c982c4c 100755
--- a/run-test.sh
+++ b/run-test.sh
@@ -2,6 +2,11 @@
cd "$(dirname "$(readlink -e "$0")")"
+for i in {1..300}; do
+ [ -d ~erich/.cache/ms-playwright/ ] && break
+ sleep 1
+done
+
if ! cnt=$(su erich -c "npx playwright test"); then
printf '%s\n' \
'To: erich@eckner.net' \