# artilohar/fabricgroup architecture

> Architecture diagram of the GitHub repository artilohar/fabricgroup, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/artilohar/fabricgroup
- Repository: https://github.com/artilohar/fabricgroup

## Overview

This repository is a Playwright browser-automation layer for exercising ParaBank-style banking workflows. Its visible setup creates a browser page and uses TestHelper to register a user; page objects then expose login, account, payment, transfer, transaction-search, profile, and loan interactions. The graph focuses on runtime helpers rather than test cases or configuration. Some page-object implementations were indexed but not excerpted, so their capabilities are represented without inferred call relationships.

Main entry points: [`Base/TestHelper.js`](https://github.com/artilohar/fabricgroup/blob/master/Base/TestHelper.js) (Test helper), [`pageObjects/RegistrationPage.js`](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/RegistrationPage.js) (Registration), [`Base/TestSetup.js`](https://github.com/artilohar/fabricgroup/blob/master/Base/TestSetup.js) (Page lifecycle), [`pageObjects/LoginPage.js`](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/LoginPage.js) (Login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Browser setup"]
  node_testsetup["Page lifecycle<br/>[TestSetup.js]"]
  node_helper["Test helper<br/>[TestHelper.js]"]
end

subgraph group_access["Access and navigation"]
  node_login["Login<br/>[LoginPage.js]"]
  node_registration["Registration"]
  node_home["Home navigation<br/>[HomePage.js]"]
end

subgraph group_banking["Banking workflows"]
  node_overview["Account overview"]
  node_newaccount["Open account"]
  node_transfer["Funds transfer"]
  node_billpay["Bill payment<br/>[BillPayPage.js]"]
  node_transactions["Transaction search"]
  node_loan["Loan request<br/>[RequestLoanPage.js]"]
end

subgraph group_profile["Customer profile"]
  node_profile["Profile update"]
end

node_user(("Test initiator"))
node_playwright["Playwright page"]
node_parabank["ParaBank application"]

node_user -->|"starts tests"| node_testsetup
node_testsetup -->|"creates page"| node_playwright
node_testsetup -->|"initializes"| node_helper
node_helper -->|"creates"| node_login
node_helper -->|"creates"| node_registration
node_helper -->|"opens registration"| node_parabank
node_helper -->|"fills form"| node_registration
node_login -->|"drives page"| node_playwright
node_login -->|"opens site"| node_parabank
node_registration -->|"drives page"| node_playwright
node_registration -->|"opens registration URL"| node_parabank
node_home -->|"drives page"| node_playwright
node_overview -->|"drives page"| node_playwright
node_newaccount -.->|"drives page"| node_playwright
node_transfer -->|"drives page"| node_playwright
node_billpay -->|"drives page"| node_playwright
node_transactions -->|"drives page"| node_playwright
node_loan -.->|"drives page"| node_playwright
node_profile -->|"drives page"| node_playwright

click node_testsetup "https://github.com/artilohar/fabricgroup/blob/master/Base/TestSetup.js"
click node_helper "https://github.com/artilohar/fabricgroup/blob/master/Base/TestHelper.js"
click node_login "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/LoginPage.js"
click node_registration "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/RegistrationPage.js"
click node_home "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/HomePage.js"
click node_overview "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/AccountsOverviewPage.js"
click node_newaccount "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/OpenNewAccountPage.js"
click node_transfer "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/TransferFundsPage.js"
click node_billpay "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/BillPayPage.js"
click node_transactions "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/FindTransactionsPage.js"
click node_loan "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/RequestLoanPage.js"
click node_profile "https://github.com/artilohar/fabricgroup/blob/master/pageObjects/UpdateProfilePage.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_testsetup,node_helper toneBlue
class node_login,node_registration,node_home toneAmber
class node_overview,node_newaccount,node_transfer,node_billpay,node_transactions,node_loan toneMint
class node_profile toneRose
class node_user,node_playwright,node_parabank toneIndigo
```

## Components

### Browser setup

- [Page lifecycle](https://github.com/artilohar/fabricgroup/blob/master/Base/TestSetup.js): `Base/TestSetup.js`
- [Test helper](https://github.com/artilohar/fabricgroup/blob/master/Base/TestHelper.js): `Base/TestHelper.js`

### Access and navigation

- [Login](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/LoginPage.js): `pageObjects/LoginPage.js`
- [Registration](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/RegistrationPage.js): `pageObjects/RegistrationPage.js`
- [Home navigation](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/HomePage.js): `pageObjects/HomePage.js`

### Banking workflows

- [Account overview](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/AccountsOverviewPage.js): `pageObjects/AccountsOverviewPage.js`
- [Open account](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/OpenNewAccountPage.js): `pageObjects/OpenNewAccountPage.js`
- [Funds transfer](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/TransferFundsPage.js): `pageObjects/TransferFundsPage.js`
- [Bill payment](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/BillPayPage.js): `pageObjects/BillPayPage.js`
- [Transaction search](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/FindTransactionsPage.js): `pageObjects/FindTransactionsPage.js`
- [Loan request](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/RequestLoanPage.js): `pageObjects/RequestLoanPage.js`

### Customer profile

- [Profile update](https://github.com/artilohar/fabricgroup/blob/master/pageObjects/UpdateProfilePage.js): `pageObjects/UpdateProfilePage.js`

### Other components

- **Test initiator**
- **Playwright page**
- **ParaBank application**

## Connections

- Test initiator → Page lifecycle: starts tests
- Page lifecycle → Playwright page: creates page (evidence: `Base/TestSetup.js`)
- Page lifecycle → Test helper: initializes (evidence: `Base/TestSetup.js`)
- Test helper → Login: creates (evidence: `Base/TestHelper.js`)
- Test helper → Registration: creates (evidence: `Base/TestHelper.js`)
- Test helper → ParaBank application: opens registration (evidence: `Base/TestHelper.js`)
- Test helper → Registration: fills form (evidence: `Base/TestHelper.js`)
- Login → Playwright page: drives page (evidence: `pageObjects/LoginPage.js`)
- Login → ParaBank application: opens site (evidence: `pageObjects/LoginPage.js`)
- Registration → Playwright page: drives page (evidence: `pageObjects/RegistrationPage.js`)
- Registration → ParaBank application: opens registration URL (evidence: `pageObjects/RegistrationPage.js`)
- Home navigation → Playwright page: drives page (evidence: `pageObjects/HomePage.js`)
- Account overview → Playwright page: drives page (evidence: `pageObjects/AccountsOverviewPage.js`)
- Open account → Playwright page: drives page
- Funds transfer → Playwright page: drives page (evidence: `pageObjects/TransferFundsPage.js`)
- Bill payment → Playwright page: drives page (evidence: `pageObjects/BillPayPage.js`)
- Transaction search → Playwright page: drives page (evidence: `pageObjects/FindTransactionsPage.js`)
- Loan request → Playwright page: drives page
- Profile update → Playwright page: drives page (evidence: `pageObjects/UpdateProfilePage.js`)
