Skip to content

chore: reorganize e2e tests + support preview#689

Merged
linconvidal merged 4 commits intodevelopfrom
chore/reorganize-e2e-tests
Feb 16, 2026
Merged

chore: reorganize e2e tests + support preview#689
linconvidal merged 4 commits intodevelopfrom
chore/reorganize-e2e-tests

Conversation

@linconvidal
Copy link
Member

@linconvidal linconvidal commented Feb 13, 2026

  • Relocate e2e_tests/ into tests/e2e/ to align with the existing test directory structure
  • Add preview network support with a prepare_wallet.py tool for on-chain wallet setup and validation (stake registration, pool retirement, DRep status, proposal checks)
  • Modernize Python packaging: replace requirements.txt with pyproject.toml + uv.lock, document .env.example
  • Fix ruff lint warnings (bare excepts, unused imports/variables)

Align e2e test suite with the existing tests/ directory structure.

- Rename Python package: e2e_tests -> e2e (all imports updated)
- Remove redundant example.env (superseded by .env.example)
- Remove requirements.txt (superseded by pyproject.toml + uv.lock)
- Update README quick start to use uv sync
- Fix pytest.ini inline comment breaking pytest-asyncio config
- Update docs GitHub link to new path
- Add pyproject.toml with uv dependency management
- Add .env.example with all configuration options documented
- Add prepare_wallet.py for wallet setup and on-chain lookups
- Gitignore private .*.env files
- Replace bare except with except Exception
- Remove unused imports (auto-fixed by ruff --fix)
- Remove unused local variables
- Add rich to pyproject.toml dependencies
@github-actions
Copy link
Contributor

✅ Preprod Tests: PASSED

📊 View Detailed Test Report

🔗 Action Run #197

Tests run against preprod network with live blockchain data

- Fix blockfrost_get() missing /v0 in URL path (was redirecting to HTML)
- Fix DRep lookup to use bech32 encoding (Blockfrost rejects hex format)
- Add on-chain checks: stake key registration state, pool retirement epoch, DRep active/expired status, proposal open/closed status
- Merge status + validate into single 'check' command with UTXO table
- Add pool retirement epoch awareness (retiring vs actually retired)
- Add help command, lookup finds fresh active DReps and open proposals
@github-actions
Copy link
Contributor

✅ Preprod Tests: PASSED

📊 View Detailed Test Report

🔗 Action Run #198

Tests run against preprod network with live blockchain data

@linconvidal linconvidal moved this from Backlog to In progress in Rosetta Java Kanban Feb 13, 2026
@linconvidal linconvidal added this to the 2.1.0 milestone Feb 13, 2026
@linconvidal linconvidal marked this pull request as ready for review February 13, 2026 18:42
@linconvidal linconvidal moved this from In progress to In review in Rosetta Java Kanban Feb 13, 2026
@linconvidal linconvidal merged commit 44914c3 into develop Feb 16, 2026
3 checks passed
@linconvidal linconvidal deleted the chore/reorganize-e2e-tests branch February 16, 2026 20:21
@github-project-automation github-project-automation bot moved this from In review to QA (next release) in Rosetta Java Kanban Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: QA (next release)

Development

Successfully merging this pull request may close these issues.

1 participant