This repository contains end-to-end automated UI tests built with Playwright to validate the loan request flow on Bridgefund.
- Page Object Model (POM) structure for maintainability
- Cross-device layout checks (mobile, tablet, desktop)
- Happy flow coverage from loan amount to contact step
- Retry and flakiness handling
- CI/CD ready structure
bridgefund-qa-tests/
├── pages/ # Page Object Models
│ ├── ContactPage.js
│ └── LoanAmountPage.js
│
├── tests/ # Test specifications
│ ├── contact/ # Contact page tests
│ ├── loan/ # Loan amount page tests
│ └── happyFlow/ # End-to-end test
│
├── utils/ # Utility functions
│ └── utils.js
│
├── playwright.config.js # Playwright configuration
└── README.md
git clone https://github.com/helingunderci/bridgefund-qa-tests.git
cd bridgefund-qa-testsnpm installnpx playwright testnpx playwright test tests/contact/contactForm.spec.jsnpx playwright show-report- Playwright Test
- JavaScript
- Node.js
- GitHub Actions
- All tests follow POM pattern for structure and reuse.
- Flaky behavior is handled using
waitForand proper assertions. - CI/CD environments should whitelist test domain (403s may occur otherwise).