refactor: remove pocketbase (#1138)

This commit is contained in:
Jonas Plum
2025-09-02 21:58:08 +02:00
committed by GitHub
parent f28c238135
commit eba2615ec0
435 changed files with 42677 additions and 4730 deletions

25
testing/test_all.sh Executable file
View File

@@ -0,0 +1,25 @@
reset_catalyst_data() {
if [ -d "catalyst_data" ]; then
rm -rf catalyst_data
fi
mkdir -p catalyst_data
}
# function to run playwright tests
run_playwright_tests() {
cd ui
bun test:e2e
cd ..
}
run_upgradetest() {
# iterate over all folders in ./testing/data
for dir in ./testing/data/*/; do
echo "Running tests with data from $dir"
reset_catalyst_data
cp "$dir"/data.db catalyst_data/data.db
run_playwright_tests
done
}
run_upgradetest