TugboatQA
Using Tugboat and Testery is one of the coolest, easiest, and fastest ways to run your E2E Cypress tests on every PR. Follow these four steps and in about 10 minutes, you'll have Cypress tests running
services:
your-service-name:
commands:
init:
apt-get install -y python3
apt-get install -y python3-pipservices:
your-service-name:
build: |
# Install the Testery CLI
pip3 install testery --upgrade
# Register the preview environment with Testery.
testery update-environment --create-if-not-exists --token "$TESTERY_TOKEN" --key "${TUGBOAT_PREVIEW}" --name "${TUGBOAT_PREVIEW}" --variable "TUGBOAT_DEFAULT_SERVICE_URL=${TUGBOAT_DEFAULT_SERVICE_URL}"
# Start a test run.
testery create-test-run --token "$TESTERY_TOKEN" --git-ref "$TUGBOAT_PREVIEW_SHA" --project "testery" --environment "${TUGBOAT_PREVIEW}"
Last updated
Was this helpful?


