You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chmod +x run-tests.sh
./run-tests.sh -s api # API tests only
./run-tests.sh -s ui -H # UI tests, headless
./run-tests.sh -s smoke # Smoke suite
./run-tests.sh -s full -b firefox # All tests in Firefox
Run with Maven directly
# API tests
mvn clean test -Papi-tests
# UI tests (headless chrome)
mvn clean test -Pui-tests -Dbrowser=chrome -Dheadless=true
# Full suite parallel
mvn clean test -Pfull-suite -Dheadless=true
# Specific TestNG suite
mvn clean test -DsuiteFile=testng-ui.xml -Dbrowser=chrome
🐳 Docker
Run API tests (no browser needed)
docker-compose --profile api-only up --build api-test-runner
Run full suite with Selenium Grid
# Start Grid + Chrome nodes + run tests
docker-compose up --build
# Watch tests live via VNC
open http://localhost:7900 # noVNC browser UI# View Selenium Grid status
open http://localhost:4444
Build Docker image only
docker build -t hybrid-automation:latest .
docker run -e SUITE=testng-api.xml hybrid-automation:latest
// Each thread gets its own driver — safe for parallel executionDriverManager.initDriver();
DriverManager.getDriver(); // returns ThreadLocal driverDriverManager.quitDriver();