CortexaAI
CortexaAI copied to clipboard
An open-source Test Automation framework with Docker and Kubernetes integration.
CortexaAI
An open-source Test Automation framework with Docker and Kubernetes integration.
Step 1: Install Docker Desktop
Docker Desktop Instructions
Step 2: Install Helm
Helm Instructions
Step 3a: Setup Local Environment MAC/LINUX [OPTION 1]
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Step 3b: Setup Local Environment Windows [OPTION 2]
python3 -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
Step 4: Deploy & Run App to Kubernetes via Helm
cd app
helm install website .
kubectl -n default get service website-cortexaai
Step 5: Run Selenium Grid
docker compose up --scale chrome=2
Step 6: Observe Selenium Grid
http://localhost:4444/ui
Run Front-End Tests MAC/LINUX [OPTION 1]
export BROWSER=chrome
URL=http://localhost:<PORT>
python -m unittest discover
Run Front-End Tests Windows [OPTION 2]
$env:BROWSER="chrome"
$env:URL="http://host.docker.internal:<PORT>"
python -m unittest discover
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.