Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions SPECS/01-base-accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Spec: Base Accounts

## Description
The ability to view a list of accounts and create new ones.

## Acceptance Criteria
- [ ] Users can view existing accounts with their Type, ID, Customer Name, and Balance.
- [ ] Users can create a new Checking or Savings account with an initial deposit.
7 changes: 7 additions & 0 deletions SPECS/advanced-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Spec: Advanced API Automation
## Description
Extend the REST Assured API test suite to validate business logic associated with financial transactions and savings buckets.
## Acceptance Criteria
- [ ] API test verifying successful Deposit logic (201 response, balance increased).
- [ ] API test verifying successful bucket creation (201 response).
- [ ] API test verifying auto-distribution logic (200 response, unallocated funds reduced).
7 changes: 7 additions & 0 deletions SPECS/advanced-ui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Spec: Advanced UI Automation
## Description
Extend the Selenium test suite to validate UI interactions for creating an account, depositing funds, and creating savings buckets.
## Acceptance Criteria
- [ ] Implement POM elements and actions for interacting with the Account, Transaction, and Bucket forms.
- [ ] UI test verifying that filling the new account form and submitting creates a visible account card.
- [ ] UI test verifying that depositing money updates the transaction success state.
7 changes: 7 additions & 0 deletions SPECS/automation-testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Spec: Test Automation Framework
## Description
An automated test suite to validate the banking portal's UI and API functionalities.
## Acceptance Criteria
- [ ] Implement an API test suite to verify Account Creation, Transactions, and Buckets.
- [ ] Implement a UI test suite (Selenium/Playwright) to verify the Accounts Dashboard page.
- [ ] Tests must run successfully against the local server.
9 changes: 9 additions & 0 deletions SPECS/banking-transactions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Spec: Transactions

## Description
The ability to perform financial transactions on existing accounts.

## Acceptance Criteria
- [ ] Users can deposit money into an account, increasing the total balance.
- [ ] Users can withdraw money from an account, decreasing the balance.
- [ ] Withdrawals cannot exceed the total account balance (Insufficient funds prevention).
6 changes: 6 additions & 0 deletions SPECS/savings-buckets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Spec: Savings Buckets
## Description
The ability to allocate savings into goal-oriented buckets and intelligently auto-distribute funds.
## Acceptance Criteria
- [ ] Savings accounts can have multiple named buckets with target amounts.
- [ ] Users can trigger an auto-distribution to allocate free balance into deficient buckets.
7 changes: 7 additions & 0 deletions SPECS/ui-automation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Spec: UI Automation (Selenium)
## Description
An automated Selenium test suite to validate the Accounts Dashboard user interface.
## Acceptance Criteria
- [ ] Implement a Page Object Model (POM) for the Dashboard.
- [ ] Implement a UI test that successfully opens a new browser window, navigates to the portal, and verifies the "Accounts Overview" header is visible.
- [ ] Implement a UI test that verifies the account creation form is present.
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# TODO

-
## Refactor Proposals
-

## New Feature Proposals
- Implement Advanced Selenium UI Tests
-
Empty file added app/login.js
Empty file.
16 changes: 16 additions & 0 deletions app/node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions app/node_modules/.bin/uuid.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions app/node_modules/.bin/uuid.ps1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading