* Use forked cypress-rails * Add @KnapsackPro/knapsack-pro-cypress * Update .travis.yml * Fix syntax error * Add KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN * Update to use KNAPSACK_PRO_TEST_FILE_PATTERN * Update .travis.yml * Upgrade custom cypress-rails * Update custom cypress-rails gem again * Update .travis.yml * Create bin/knapsack_pro_cypress * Add another e2e node
9 lines
340 B
Bash
Executable file
9 lines
340 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_knapsack
|
|
else
|
|
E2E=true bin/rails cypress:run_knapsack
|
|
fi
|