#!/bin/bash echo "๐Ÿงช Bayer MGA Provider Test Suite" echo "=================================" # Check if .env.local exists if [ ! -f ".env.local" ]; then echo "โŒ Error: .env.local file not found" echo "Please create .env.local with BAYER_MGA_API_KEY and OPEN_ROUTER_API_KEY" exit 1 fi # Check if Docker container is running if ! docker ps | grep -q "buildify-app-prod-1"; then echo "โš ๏ธ Docker container not running. Starting..." docker-compose up -d app-prod sleep 10 fi echo "๐Ÿ”„ Running automated provider tests..." node tests/test-all-providers.cjs echo "" echo "๐Ÿ”„ Running Docker integration tests..." ./tests/test-docker-providers.sh echo "" echo "โœ… Automated tests complete!" echo "" echo "๐Ÿ“– For manual UI testing with authentication:" echo " node tests/test-manual-login-providers.cjs" echo "" echo "๐Ÿ“š See tests/README.md for detailed documentation"