aboutsummaryrefslogtreecommitdiffstats
path: root/run_e2e_safe.sh
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 16:51:20 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 16:51:20 -0800
commitbe90d1668e1e87e2848952d05dec20db603f667b (patch)
treefe2b2518aeb46af70707cccefb71a6e97f76b1fe /run_e2e_safe.sh
parent5e5ef542bd7166251db961555ca6710f0e889c25 (diff)
downloadneko-be90d1668e1e87e2848952d05dec20db603f667b.tar.gz
neko-be90d1668e1e87e2848952d05dec20db603f667b.tar.bz2
neko-be90d1668e1e87e2848952d05dec20db603f667b.zip
style: update Settings page to match glass sidebar aesthetic
Diffstat (limited to 'run_e2e_safe.sh')
-rwxr-xr-xrun_e2e_safe.sh51
1 files changed, 0 insertions, 51 deletions
diff --git a/run_e2e_safe.sh b/run_e2e_safe.sh
deleted file mode 100755
index 10f8f91..0000000
--- a/run_e2e_safe.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-set -e
-
-# Cleanup first
-./clean_test_env.sh
-
-echo "Building backend..."
-go build -o neko_server main.go
-
-echo "Creating data directory..."
-mkdir -p .data
-
-echo "Starting backend on port 4994..."
-./neko_server --http=4994 --database=.data/test.db > backend.log 2>&1 &
-SERVER_PID=$!
-
-echo "Backend PID: $SERVER_PID"
-
-# Wait for server to be ready
-echo "Waiting for backend to start..."
-for i in {1..30}; do
- if nc -z localhost 4994; then
- echo "Backend is up!"
- break
- fi
- echo "Waiting..."
- sleep 1
-done
-
-if ! nc -z localhost 4994; then
- echo "Backend failed to start. Check backend.log"
- cat backend.log
- kill $SERVER_PID || true
- exit 1
-fi
-
-echo "Running E2E tests..."
-cd frontend
-if npm run test:e2e; then
- echo "Tests passed!"
- EXIT_CODE=0
-else
- echo "Tests failed!"
- EXIT_CODE=1
-fi
-
-echo "Cleaning up..."
-kill $SERVER_PID || true
-./clean_test_env.sh
-
-exit $EXIT_CODE