ReadyCmd
wait_for_port
ss command to check if a port is open and listening.
Arguments:
port: Port number to wait for
wait_for_url
curl to make HTTP requests and check the response status.
Arguments:
url: URL to check (e.g., ‘http://localhost:3000/health’)status_code: Expected HTTP status code (default: 200)
wait_for_process
pgrep to check if a process exists.
Arguments:
process_name: Name of the process to wait for
wait_for_file
filename: Path to the file to wait for
wait_for_timeout
sleep command to wait for a fixed duration.
Arguments:
timeout: Time to wait in milliseconds (minimum: 1000ms / 1 second)