README.md

Tezos Homebase IO

A cutting-edge blockchain automation testing project built on Tezos, featuring multi-wallet support. It incorporates automated end-to-end testing with Playwright, JavaScript, and Postman API testing, seamlessly integrated with GitHub Actions for CI/CD. Designed to validate decentralized application functionality with robust security and efficiency.

https://tezos-homebase.io

Key Features

  • Automated testing of Tezos smart contracts
  • Multi-wallet integration testing
  • DAO functionality validation
  • End-to-end blockchain transaction testing

🛠 Tech Stack

blockchain: Tezos
testing: Playwright, JavaScript
apiTesting: Postman
ciCd: GitHub Actions

Project Structure

📁TezosHomebase.io
📁.github
📁workflows
📄main.yml
📁tests
📁TC01
📄TC01-01_CreateToken.spec.js
📄TC01-02_TokenValues.spec.js
📄TC01-03_CreateDAO.spec.js
📄TC01-04_DAOValues.spec.js
📁TC02
📄TC02-01_OffChainPoll.spec.js
📄TC02-02_VoteOnOffChainPoll.spec.js
📄TC02-03_CorrectVoteCountOnOffChainPoll.spec.js
📁TC03
📄TC03-01_TokenDeposit.spec.js
📄TC03-02_AcceptDelegation.spec.js
📁TC04
📄TC04-01_TransferToken.spec.js
📄TC04-02_ChangeConfiguration.spec.js
📄TC04-03_EditRegistry.spec.js
📄TC04-04_AddLambda.spec.js
📄TC04-05_RemoveLambda.spec.js
📄TC04-06_ExecuteLambda.spec.js
📄TC04-07_ChangeDelegate.spec.js
📄TC04-08_ChangeGuardian.spec.js
📁TC05
📄TC05-01_ProposalDrop.spec.js
📄TC05-02_VoteOnProposal.spec.js
📁TC06
📄TC06-01_TokenWithdrawal.spec.js
📄TC06-02_TokenStaking.spec.js
📁TC07
📄TC07-01_ProposalExecution.spec.js
📄TC07-02_TokenUnStaking.spec.js
📁common
📄Action.js
📄Locator.js
📄PreAction.js
📄TestData.js
📄Mongo.js
📄sharedValues.js
📄.gitignore
📄README.md
📄package-lock.json
📄package.json
📄playwright.config.js

⚙️ Setup & Installation

# Clone the repository

git clone https://github.com/rahullbyte/TezosHomebase.io.git

# Navigate to the project directory

cd TezosHomebase.io

# Install dependencies

npm install

# Run the test suite

npx playwright test

🌍 Deployment

Report: GitHub Pages

📜 Changelog

Version V1.0.0

Initial release with core token and DAO testing

Version V1.5.0

Added lambda function testing suite

Version V2.0.0

Improved test coverage and reporting

🔥 Challenges & Learnings

Challenge: Simulating blockchain transactions in test environment

Solution: Implemented mock Tezos nodes and testnet integration

Outcome: Reliable end-to-end testing without mainnet costs

Performance Optimizations

  • Parallel test execution with Playwright
  • Cached test fixtures for faster setup
  • Optimized test data generation

🔒 Security Measures

  • Secure test environment isolation
  • Encrypted test configuration files
  • Regular security audits of test scripts

🔮 Future Improvements

  • Add support for additional Tezos wallet types
  • Implement visual regression testing
  • Enhance test reporting dashboard