Filter and paginate to find a transaction
- Dropdowns
- Pagination
- Scoped locators
- Tables
A retail net-banking portal: captcha-protected login, an accounts dashboard with masked balances, a sortable and paginated transactions table, beneficiary management, OTP-verified fund transfers behind a native confirm, a session-timeout warning and statements that open in a new tab.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Show only debits, move to the second page of results and verify the insurance premium payment of ₹7,850 is listed there.
Your Task
- 1Open TEST_URL (already logged in) and click Transactions (#nav-transactions).
- 2Choose “Debits only” (value debit) in #txn-type-filter.
- 3Go to page 2, with the #page-2 button or Next (#page-next).
- 4Assert #txn-summary reads “Showing 11–20 of 25”.
- 5Find the row for “Insurance premium – SecureLife” (data-txn-id="FBT-1022") and assert its amount is ₹7,850.
Validation Checks
- Only debits are listed.
- Page 2 is the current page and shows rows 11–20 of 25.
- The insurance premium row is visible with ₹7,850.
- The test makes at least two assertions.
Fixtures
- Customer ID
- 11223344
- Password
- Bank@2026
- Customer name
- Neha Sharma
- Captchas
- Rotate through 7KQ2X → M4P9T → R8W3N → H2D6Y → B5V7L → P3J8C (always read the current one from #captcha-text)
- OTP
- 482915
- Savings balance
- ₹2,58,350 (account XXXX XXXX 4821)
- Current balance
- ₹3,42,100 (account XXXX XXXX 7390)
- Beneficiaries
- BEN-101 Rahul Mehta · BEN-102 Priya Nair · BEN-103 Kavya Iyer
- IFSC format
- 4 letters + 0 + 6 letters or digits, e.g. FINB0001234
- First transfer reference
- FB-TXN-90017
- Statement ID
- Shown only on the statement tab
Cloud Execution & Grading Guide
This Medium Playwright Challenges exercise runs inside TargetQA's managed cloud sandbox using Playwright (TypeScript, JavaScript, Python, Java, C#). Every submission runs inside an isolated headless Chromium container with pre-synced drivers, capturing live console logs, DOM assertions, and a 720p step-by-step video replay.
- Supported stacks: TypeScript (@playwright/test) · JavaScript (@playwright/test) · Python (Playwright + pytest) · Java (Playwright for Java + JUnit 5) · C# (Playwright for .NET + NUnit)
- Zero local setup: Use the pre-declared
TEST_URLvariable so your script targets the live FinBank sandbox reliably without hardcoding hosts. - Automated grading: Click Run to inspect step logs and behavior, then click Submit to validate all 4 acceptance checks and earn 50 points.
Playwright · Playwright Challenges Practice Track · FinBank