{"repo":"Thanasornsawan/end_to_end_testing_dapp_playwright_synpress","free":true,"listed":false,"github":"https://github.com/Thanasornsawan/end_to_end_testing_dapp_playwright_synpress","clone":"git clone https://github.com/Thanasornsawan/end_to_end_testing_dapp_playwright_synpress.git","description":"Implemented Page Object Model (POM) structure for Synpress (Playwright) to conduct end-to-end (E2E) testing on a lending smart contract. Developed a Solidity smart contract for lending ETH to WETH, supporting deposit, withdraw, borrow, and repay flows (with an annual interest rate), Also built a staking contract that allows users to stake WETH","language":"TypeScript","stars":18,"topics":["blockchain","hardhat","mocha-chai","qa-automation","smart-contracts","solidity","testing","dapp","nextjs","reactjs"],"license":null,"category":"blockchain-web3","readme_excerpt":"🏦 End-to-End Testing of a DeFi Lending Protocol with Synpress & Playwright This repository provides a complete end-to-end (E2E) testing setup for a DeFi lending smart contract using Synpress v4, Playwright, and Hardhat . It covers: ✅ Smart contract deployment & interaction (Hardhat) ✅ Using Anvil to simulate different network and gas cost on local network ✅ Automated testing with Synpress + Playwright (MetaMask interaction included!) ✅ Testing across Layer 1 (Ethereum) and Layer 2 (Optimism) networks ✅ Database integration testing with PostgreSQL (Prisma ORM) This project is perfect for QA engineers, blockchain testers, and developers who want to learn end-to-end blockchain testing using real-world tools. 🚀 ⭐ Why Use This Repo? - Hands-on Learning: Learn how to test DeFi smart contracts with real tools. - Complete Setup: Covers both frontend and backend testing, including MetaMask interaction . - Mainnet Forking: Test against real Ethereum mainnet data using Alchemy & Hardhat . - Database Testing: Use PostgreSQL + Prisma for off-chain integration testing. 🔹 If you find this repo useful, please ⭐ star it to support the project! Project Structure Overview The project is organized into three main sections, each with its own dependencies and functionality: 🛠️ How to Setup project 🛠️ 1. Install dependencies: 1.1 Install dependencies for Backend (smart contract): Complie all the smart contract to your local project: 1.2 Install dependencies for Frontend (react + nexjs): 1.3 In","default_branch":null,"files":null,"tree":[],"storefront":"/r/Thanasornsawan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Thanasornsawan/end_to_end_testing_dapp_playwright_synpress/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}