test(18-07): the phase 18 gate requires the payment gateway suites per package (task 3)

- plugins stage: money, fsm, orders, payments, cart, operators, support,
  currency, models, events, console, api and root suites by name (-short)
- postgres stage: every Postgres suite of sm-paymentgateway-plugin,
  the plan 02 to 06 smokes and the new service, bridge, event, migration,
  command and converter suites
This commit is contained in:
2026-10-13 17:24:08 +02:00
parent 0f35c9a0ca
commit be853996c7

View File

@@ -58,13 +58,27 @@ PG_LAYER="${PG_LAYER:-$ROOT/../vue-paymentgateway-layer}"
CABANA_SHORT_TESTS=(TestMoneyFieldCompile TestMoneyFieldColumnGate TestMoneyFieldValidate TestMoneyListCompile TestMoneyListColumn TestSettingsSecretCompile TestSettingsSecretProjection TestSettingsSecretPut TestSettingsTabs TestSettingsRichEditor TestSettingsDropdownMethod TestRecordActionDanger TestPhase10ConformanceInventory)
# plugins stage: Docker-free suites (-short), per repository and package.
PG_MONEY_TESTS=(TestMoneyVectorsSmoke TestAmount4ScanValue)
PG_ROOT_TESTS=(TestNotificationRoute)
PG_MONEY_TESTS=(TestMoneyVectorsSmoke TestAmount4ScanValue TestMoneyVectors TestMoneyAllocate TestMoneyRounding TestAmount4)
PG_FSM_TESTS=(TestFSMSmoke TestFSM)
PG_ORDERS_TESTS=(TestOrderMatrix)
PG_PAYMENTS_TESTS=(TestPaymentMatrix)
PG_CART_TESTS=(TestLegacyCartGoldens TestCart TestCartTotals TestItem TestDetails TestLegacyFixtures TestCartRegistry)
PG_OPERATORS_TESTS=(TestOperatorRegistry)
PG_SUPPORT_TESTS=(TestHashids TestGuestToken TestRedactor TestFormatAmount)
PG_CURRENCY_TESTS=(TestCurrencyProviders TestConverter)
PG_MODELS_TESTS=(TestFillable)
PG_EVENTS_TESTS=(TestEvents TestMailers TestBankDetailsSanitized)
PG_CONSOLE_TESTS=(TestImportWinter TestPGCommandsDeadline)
PG_API_TESTS=(TestCustomerAPIAuthz)
PG_ROOT_TESTS=(TestNotificationRoute TestNotificationSecurity TestHashidsBoot TestAdminPermissions TestAdminCatalogSmoke TestAdminFormatSmoke TestMailCatalog)
PGSTRIPE_ROOT_TESTS=(TestStripeWebhook TestFixtureAbsentFromProduction)
# postgres stage: testcontainers suites.
PG_CABANA_TESTS=(TestMoneyFieldSmoke TestMoneyListSmoke TestRecordActionDangerSmoke TestSettingsSecretSmoke TestSettingsRichEditorSmoke TestMoneyFieldSave TestSettingsSecretPostgres TestRichEditor TestPhase10OpenAPIConformance)
PG_PG_TESTS=(TestPaymentGatewayTracer)
PG_PG_TESTS=(TestPaymentGatewayTracer TestRefundBridgeSmoke TestNotificationRouteSmoke TestPGCommandsSmoke TestImportWinterSmoke
TestOrdersAdminSmoke TestPaymentsAdminSmoke TestShippingsAdminSmoke TestQuoteablesAdminSmoke TestQuotesAdminSmoke
TestPGSettingsSmoke TestMailerSettingsSmoke TestMailTracer TestMailersMatrixSmoke TestCustomerAPITracer TestCustomerAPI
TestPaymentsService TestRefundBridge TestOrderAndPaymentEvents TestMigrations TestPGCommands TestCurrencyConverterPostgres)
PG_PGSTRIPE_TESTS=(TestHostStripeFlow)
# admin stage: vitest spec files and full test names (describe + it).
@@ -524,6 +538,17 @@ run_plugins() {
echo "short: $repo"
done
go_named "$PG" ./money -short "${PG_MONEY_TESTS[@]}"
go_named "$PG" ./fsm -short "${PG_FSM_TESTS[@]}"
go_named "$PG" ./orders -short "${PG_ORDERS_TESTS[@]}"
go_named "$PG" ./payments -short "${PG_PAYMENTS_TESTS[@]}"
go_named "$PG" ./cart -short "${PG_CART_TESTS[@]}"
go_named "$PG" ./operators -short "${PG_OPERATORS_TESTS[@]}"
go_named "$PG" ./support -short "${PG_SUPPORT_TESTS[@]}"
go_named "$PG" ./currency -short "${PG_CURRENCY_TESTS[@]}"
go_named "$PG" ./models -short "${PG_MODELS_TESTS[@]}"
go_named "$PG" ./events -short "${PG_EVENTS_TESTS[@]}"
go_named "$PG" ./console -short "${PG_CONSOLE_TESTS[@]}"
go_named "$PG" ./api -short "${PG_API_TESTS[@]}"
go_named "$PG" . -short "${PG_ROOT_TESTS[@]}"
go_named "$PGSTRIPE" . -short "${PGSTRIPE_ROOT_TESTS[@]}"
echo "phase18 plugins passed"