woocommerce/tests/bin/run-e2e-CI.sh

12 lines
196 B
Bash
Executable File

#!/usr/bin/env bash
if [[ ${RUN_E2E} == 1 ]]; then
WP_SITE_URL="http://localhost:8080"
# Set base url to that of e2e test suite.
export BASE_URL="$WP_SITE_URL"
# Run the tests
npm test
fi