-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context
Four Playwright E2E transaction test specs are gated by environment variables because the Docker Solana validator binary predates Phases 10-12. The UI tests in each spec run, but the on-chain transaction tests skip.
Gated Tests
| Spec | Gate Variable | Missing Instruction |
|---|---|---|
referral-stake.spec.ts |
REFERRAL_PROGRAM_READY |
create_stake_with_referral (Phase 10) |
badge-claim.spec.ts |
BADGE_MINT_READY |
Bubblegum V2 collection setup (Phase 11) |
free-claim.spec.ts |
CLAIM_PERIOD_READY |
Claim period initialization |
on-time-unstake.spec.ts |
ON_TIME_STAKE_READY |
Requires long-running stake maturity |
What's Needed
- Rebuild the Docker validator image with the latest
anchor buildoutput that includes Phase 10'screate_stake_with_referralinstruction - Update Docker compose setup to include the badge collection initialization script (
scripts/setup-badge-collection.ts) in the startup sequence - Update E2E global setup to handle the new instruction accounts and PDAs
- Remove env var gates once the infrastructure supports the full instruction set
Current Workaround
Tests are properly documented — each test.skip() includes a clear message explaining the prerequisite. UI tests (page structure, element visibility) run unconditionally.
Impact
Enhancement — E2E coverage is structurally complete but transaction tests don't execute. Rebuilding the Docker image would enable full end-to-end validation.
Source
v1.1 Milestone Audit — .planning/v1.1-MILESTONE-AUDIT.md (tech_debt, Phase 13)
Referenced specs: app/web/e2e/transactions/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request