From 32bec441564c6bc148165d6b4b955496e11c4c05 Mon Sep 17 00:00:00 2001 From: Daniel Uber Date: Wed, 11 Aug 2021 19:51:18 -0500 Subject: [PATCH] Ensure first argument is interpreted as a string (#14479) --- bin/e2e | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/e2e b/bin/e2e index 72600c45d..add9c1f1b 100755 --- a/bin/e2e +++ b/bin/e2e @@ -30,7 +30,7 @@ printf "Starting the test runner...\n\n" bundle exec rails assets:precompile; -if [ $1 = "--creator-onboarding-seed" ]; then +if [ "$1" = "--creator-onboarding-seed" ]; then echo "Running E2E tests with creator onboarding seed data" CYPRESS_RAILS_CYPRESS_OPTS="--config-file cypress.dev.json" RAILS_ENV=test E2E=true CREATOR_ONBOARDING_SEED_DATA=1 E2E_FOLDER=creatorOnboardingFlows bundle exec rake cypress:open else