#!/usr/bin/env bash
set -euo pipefail

# Helper script to stop the Playwright Chrome container
# Usage: ./bin/e2e-stop.sh

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"

cd "$PROJECT_DIR"

echo "Stopping Chrome container..."

docker compose -f docker-compose.chrome.yml down

echo "Chrome container stopped."