# tiendatmgz/practice-expand-testing architecture

> Architecture diagram of the GitHub repository tiendatmgz/practice-expand-testing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tiendatmgz/practice-expand-testing
- Repository: https://github.com/tiendatmgz/practice-expand-testing

## Overview

This repository is a Playwright practice-site automation suite. Its intended workflow is to run UI or API scenarios, use page objects and helpers to exercise the practice site or booking API, and check the resulting behavior. The tree and excerpts show the page-object and helper layer, but not scenario implementations, so their calls into these components are not drawn. The booking helper’s API requests and the pagination page’s data import are directly evidenced.

Main entry points: [`helper/booking.hepler.ts`](https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/booking.hepler.ts) (Booking Requests), [`pages/dynamic-pagination-table.page.ts`](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-pagination-table.page.ts) (Dynamic Pagination), [`data/test-data/booking.test.data.ts`](https://github.com/tiendatmgz/practice-expand-testing/blob/main/data/test-data/booking.test.data.ts) (Booking Test Data), [`interface/interface.ts`](https://github.com/tiendatmgz/practice-expand-testing/blob/main/interface/interface.ts) (Booking Interfaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["UI Page Objects"]
  node_dynamic_loading["Dynamic Loading"]
  node_pagination["Dynamic Pagination"]
  node_dynamic_table["Dynamic Table"]
  node_entry_ad["Entry Ad<br/>[entry-ad.page.ts]"]
  node_exit_intent["Exit Intent"]
  node_file_downloader["File Downloader"]
  node_file_upload["File Upload"]
  node_infinite_scroll["Infinite Scroll"]
  node_dialogs["JavaScript Dialogs"]
  node_key_presses["Key Presses"]
  node_notifications["Notifications"]
  node_shadow_dom["Shadow DOM<br/>[shadow-dom.page.ts]"]
  node_slow_resources["Slow Resources"]
  node_sortable_tables["Sortable Tables"]
  node_registration["Registration Form"]
end

subgraph group_api["Booking API"]
  node_booking_helper["Booking Requests<br/>[booking.hepler.ts]"]
end

subgraph group_shared["Shared Data Types"]
  node_booking_data["Booking Test Data"]
  node_interfaces["Booking Interfaces<br/>[interface.ts]"]
  node_pagination_data["Pagination Types"]
  node_register_validation["Registration Validation"]
  node_sort_helper["Sort Helper<br/>[sort.helper.ts]"]
end

subgraph group_scenarios["Scenario Suites"]
  node_ui_scenarios["UI Scenarios"]
  node_api_scenarios["API Scenarios"]
end

node_booking_api(("Booking API"))

node_pagination -->|"imports types"| node_pagination_data
node_booking_helper -->|"imports data"| node_booking_data
node_booking_helper -->|"uses types"| node_interfaces
node_booking_helper -->|"sends requests"| node_booking_api

click node_ui_scenarios "https://github.com/tiendatmgz/practice-expand-testing/tree/main/tests/ui"
click node_api_scenarios "https://github.com/tiendatmgz/practice-expand-testing/tree/main/tests/apis"
click node_dynamic_loading "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-loading.page.ts"
click node_pagination "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-pagination-table.page.ts"
click node_dynamic_table "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-table.page.ts"
click node_entry_ad "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/entry-ad.page.ts"
click node_exit_intent "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/exit-intent.page.ts"
click node_file_downloader "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/file-downloader.page.ts"
click node_file_upload "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/file-upload.page.ts"
click node_infinite_scroll "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/infinite-scroll.page.ts"
click node_dialogs "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/javaScript-dialogs.page.ts"
click node_key_presses "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/key-presses.page.ts"
click node_notifications "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/notification-message.page.ts"
click node_shadow_dom "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/shadow-dom.page.ts"
click node_slow_resources "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/slow-resources.page.ts"
click node_sortable_tables "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/sortable-data-tables.page.ts"
click node_registration "https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/test-register.page.ts"
click node_booking_helper "https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/booking.hepler.ts"
click node_booking_data "https://github.com/tiendatmgz/practice-expand-testing/blob/main/data/test-data/booking.test.data.ts"
click node_interfaces "https://github.com/tiendatmgz/practice-expand-testing/blob/main/interface/interface.ts"
click node_pagination_data "https://github.com/tiendatmgz/practice-expand-testing/blob/main/data/categorize-data/dynamic-pagination-table.data.ts"
click node_register_validation "https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/test-register.helper.ts"
click node_sort_helper "https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/sort.helper.ts"

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_dynamic_loading,node_pagination,node_dynamic_table,node_entry_ad,node_exit_intent,node_file_downloader,node_file_upload,node_infinite_scroll,node_dialogs,node_key_presses,node_notifications,node_shadow_dom,node_slow_resources,node_sortable_tables,node_registration toneBlue
class node_booking_helper toneAmber
class node_booking_data,node_interfaces,node_pagination_data,node_register_validation,node_sort_helper,node_booking_api toneMint
class node_ui_scenarios,node_api_scenarios toneRose
```

## Components

### UI Page Objects

- [Dynamic Loading](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-loading.page.ts): `pages/dynamic-loading.page.ts`
- [Dynamic Pagination](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-pagination-table.page.ts): `pages/dynamic-pagination-table.page.ts`
- [Dynamic Table](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/dynamic-table.page.ts): `pages/dynamic-table.page.ts`
- [Entry Ad](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/entry-ad.page.ts): `pages/entry-ad.page.ts`
- [Exit Intent](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/exit-intent.page.ts): `pages/exit-intent.page.ts`
- [File Downloader](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/file-downloader.page.ts): `pages/file-downloader.page.ts`
- [File Upload](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/file-upload.page.ts): `pages/file-upload.page.ts`
- [Infinite Scroll](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/infinite-scroll.page.ts): `pages/infinite-scroll.page.ts`
- [JavaScript Dialogs](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/javaScript-dialogs.page.ts): `pages/javaScript-dialogs.page.ts`
- [Key Presses](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/key-presses.page.ts): `pages/key-presses.page.ts`
- [Notifications](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/notification-message.page.ts): `pages/notification-message.page.ts`
- [Shadow DOM](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/shadow-dom.page.ts): `pages/shadow-dom.page.ts`
- [Slow Resources](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/slow-resources.page.ts): `pages/slow-resources.page.ts`
- [Sortable Tables](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/sortable-data-tables.page.ts): `pages/sortable-data-tables.page.ts`
- [Registration Form](https://github.com/tiendatmgz/practice-expand-testing/blob/main/pages/test-register.page.ts): `pages/test-register.page.ts`

### Booking API

- [Booking Requests](https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/booking.hepler.ts): `helper/booking.hepler.ts`

### Shared Data Types

- [Booking Test Data](https://github.com/tiendatmgz/practice-expand-testing/blob/main/data/test-data/booking.test.data.ts): `data/test-data/booking.test.data.ts`
- [Booking Interfaces](https://github.com/tiendatmgz/practice-expand-testing/blob/main/interface/interface.ts): `interface/interface.ts`
- [Pagination Types](https://github.com/tiendatmgz/practice-expand-testing/blob/main/data/categorize-data/dynamic-pagination-table.data.ts): `data/categorize-data/dynamic-pagination-table.data.ts`
- [Registration Validation](https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/test-register.helper.ts): `helper/test-register.helper.ts`
- [Sort Helper](https://github.com/tiendatmgz/practice-expand-testing/blob/main/helper/sort.helper.ts): `helper/sort.helper.ts`

### Scenario Suites

- [UI Scenarios](https://github.com/tiendatmgz/practice-expand-testing/tree/main/tests/ui): `tests/ui`
- [API Scenarios](https://github.com/tiendatmgz/practice-expand-testing/tree/main/tests/apis): `tests/apis`

### Other components

- **Booking API**

## Connections

- Dynamic Pagination → Pagination Types: imports types (evidence: `pages/dynamic-pagination-table.page.ts`)
- Booking Requests → Booking Test Data: imports data (evidence: `helper/booking.hepler.ts`)
- Booking Requests → Booking Interfaces: uses types (evidence: `helper/booking.hepler.ts`)
- Booking Requests → Booking API: sends requests (evidence: `helper/booking.hepler.ts`)
