diff --git a/scripts/check-phase18.1.sh b/scripts/check-phase18.1.sh index dabef6c..022d100 100755 --- a/scripts/check-phase18.1.sh +++ b/scripts/check-phase18.1.sh @@ -71,8 +71,8 @@ CABANA_SHORT_TESTS=( PGSUB_MODELS_TESTS=(TestSubscriptionChecks TestPlanPrices TestFeatureList) PGSUB_CONTRACTS_TESTS=(TestRegistry) PGSUB_ROOT_TESTS=(TestLangParity TestAdminLangParity TestAdminCatalog TestRedirectURLs TestFixtureAbsentFromProduction) -PGSTRIPE_ROOT_TESTS=(TestSDKPin) -PGSTRIPE_SUBS_TESTS=() +PGSTRIPE_ROOT_TESTS=(TestSDKPin TestStripeDataHandling TestStripeAuthentication TestFixtureAbsentFromProduction) +PGSTRIPE_SUBS_TESTS=(TestDecodeSubscription TestDecodeInvoice TestJobArgsMinimal) # postgres stage: testcontainers suites, per repository and package. PG_CABANA_TESTS=(TestTaglistFieldSmoke TestReorderFlatSmoke TestReorderPostgres) @@ -84,8 +84,19 @@ PG_PGSUB_TESTS=( TestBaselineSchema TestServiceAPI TestAdminSyncActions TestCustomerAPIAuthz ) -PG_PGSTRIPE_ROOT_TESTS=() -PG_PGSTRIPE_SUBS_TESTS=(TestHostSubscriptionFlow) +PG_PGSTRIPE_ROOT_TESTS=( + TestStripeSettingsSmoke TestStripeImportWinterSmoke + TestStripeSubscriptionSecrets + TestHostStripeFlow +) +PG_PGSTRIPE_SUBS_TESTS=( + TestHostSubscriptionFlow TestSubscriptionWebhookSmoke + TestSubscriptionJob + TestSyncPlan + TestSubscriptionGateway + TestStripeSubscriptionReliability + TestSubscriptionAuthentication +) # admin stage: vitest spec files and full test names (describe + it). ADMIN_FILES=( @@ -589,7 +600,7 @@ run_plugins() { go_named "$PGSUB" ./contracts -short ${PGSUB_CONTRACTS_TESTS[@]+"${PGSUB_CONTRACTS_TESTS[@]}"} go_named "$PGSUB" . -short ${PGSUB_ROOT_TESTS[@]+"${PGSUB_ROOT_TESTS[@]}"} go_named "$PGSTRIPE" . -short ${PGSTRIPE_ROOT_TESTS[@]+"${PGSTRIPE_ROOT_TESTS[@]}"} - go_named "$PGSTRIPE" ./subscriptions -short ${PGSTRIPE_SUBS_TESTS[@]+"${PGSTRIPE_SUBS_TESTS[@]}"} + go_named "$PGSTRIPE" ./subscriptions -short "${PGSTRIPE_SUBS_TESTS[@]}" echo "phase18.1 plugins passed" } @@ -634,7 +645,7 @@ run_postgres() { fi go_named "$ROOT" ./modules/cabana "-timeout 20m" "${PG_CABANA_TESTS[@]}" go_named "$PGSUB" . "-timeout 20m" "${PG_PGSUB_TESTS[@]}" - go_named "$PGSTRIPE" . "-timeout 20m" ${PG_PGSTRIPE_ROOT_TESTS[@]+"${PG_PGSTRIPE_ROOT_TESTS[@]}"} + go_named "$PGSTRIPE" . "-timeout 20m" "${PG_PGSTRIPE_ROOT_TESTS[@]}" go_named "$PGSTRIPE" ./subscriptions "-timeout 20m" "${PG_PGSTRIPE_SUBS_TESTS[@]}" echo "phase18.1 postgres passed" }