chore(bridge): add sandbox e2e test suite#388
Open
patoo0x wants to merge 1 commit into
Open
Conversation
ENG-274. Covers KYC, virtual account, external account, deposit, withdrawal, post-cutover state, ETH-USDT LN parity, and ERPNext audit-row verification. Guarded by RUN_BRIDGE_SANDBOX_E2E=true. Includes preflight check for Level 1 service guard and documentation drift cleanup (Level 2->Level 1, Tron->ETH-USDT).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ENG-274. Adds an opt-in sandbox end-to-end test suite for the Bridge integration.
What's Included
Test Suite (
test/flash/bridge-sandbox-e2e/)bridgeInitiateKyc, webhook injection,bridgeCreateVirtualAccountCUTOVER_TESTS=true)LN_PARITY_TESTS=true)Infrastructure
test:bridge-sandbox-e2eandtest:bridge-sandbox-e2e:ciRUN_BRIDGE_SANDBOX_E2E=true+IBEX_ENVIRONMENT=sandboxService-Level Fix
src/services/bridge/index.ts—checkAccountLevel()changed fromlevel < 2tolevel < 1to match the GraphQL resolver gate (PR fix(bridge): lower account level requirement from level 2 to level > 0 #385)Documentation Drift Cleanup
docs/bridge-integration/: Level 2→Level 1, Tron→ETH-USDT referencesHow to Verify
See
test/flash/bridge-sandbox-e2e/README.mdfor setup instructions, ordocs/plans/2026-06-04-eng-274-bridge-sandbox-e2e.mdfor the full plan.Related
ENG-274