docbrown/bin/knapsack_pro_cypress

10 lines
323 B
Bash
Executable file

#!/bin/bash
if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS" = "" ]; then
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS=disabled-for-fork \
E2E=true bin/rails cypress:run
else
E2E=true bin/rails cypress:run
fi