# herit6-hanu/playwrightjs architecture

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

- Interactive diagram: https://gitdiagram.com/herit6-hanu/playwrightjs
- Repository: https://github.com/herit6-hanu/playwrightjs

## Overview

This repository is a Playwright browser-test collection, not an application. The sampled config points Playwright at `tests/` and selects Chrome; test-file names indicate the covered scenarios, but their implementations were not sampled. The README contains no further product description, so links from individual tests to browser behavior are intentionally omitted.

Main entry points: [`playwright.config.js`](https://github.com/herit6-hanu/playwrightjs/blob/main/playwright.config.js) (Playwright runner), [`tests/accessbility.spec.js`](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/accessbility.spec.js) (Accessibility), [`tests/drag_drop.spec.js`](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/drag_drop.spec.js) (Drag and drop), [`tests/frames.spec.js`](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/frames.spec.js) (Frames)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["UI scenarios"]
  node_accessibility["Accessibility"]
  node_dragdrop["Drag and drop<br/>[drag_drop.spec.js]"]
  node_frames["Frames<br/>[frames.spec.js]"]
  node_modifiers["Modifiers<br/>[modifiers.spec.js]"]
  node_cursor["Cursor movement<br/>[movecursor.spec.js]"]
  node_actions["Page actions"]
  node_files["File inputs<br/>[setFiles.spec.js]"]
  node_visual["Visual checks<br/>[visual.spec.js]"]
end

subgraph group_api["API scenarios"]
  node_catapi["Cat API<br/>[cat.api.spec.js]"]
  node_jsonapi["JSON API<br/>[json.api.spec.js]"]
end

subgraph group_other["Other scenarios"]
  node_title["Title check<br/>[describe.spec.js]"]
  node_download["Download check<br/>[download.spec.js]"]
  node_skip["Skipped test<br/>[skiptest.spec.js]"]
  node_seed["Seed scenario<br/>[seed.spec.ts]"]
end

node_runner["Playwright runner"]
node_browser(("Chrome"))
node_document["DOC download asset"]

node_runner -->|"launches"| node_browser
node_runner -->|"runs tests"| node_accessibility
node_runner -->|"runs tests"| node_dragdrop
node_runner -->|"runs tests"| node_frames
node_runner -->|"runs tests"| node_modifiers
node_runner -->|"runs tests"| node_cursor
node_runner -->|"runs tests"| node_actions
node_runner -->|"runs tests"| node_files
node_runner -->|"runs tests"| node_visual
node_runner -->|"runs tests"| node_catapi
node_runner -->|"runs tests"| node_jsonapi
node_runner -->|"runs tests"| node_title
node_runner -->|"runs tests"| node_download
node_runner -->|"runs tests"| node_skip
node_runner -->|"runs tests"| node_seed

click node_runner "https://github.com/herit6-hanu/playwrightjs/blob/main/playwright.config.js"
click node_accessibility "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/accessbility.spec.js"
click node_dragdrop "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/drag_drop.spec.js"
click node_frames "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/frames.spec.js"
click node_modifiers "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/modifiers.spec.js"
click node_cursor "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/movecursor.spec.js"
click node_actions "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/performactions.spec.js"
click node_files "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/setFiles.spec.js"
click node_visual "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/visual.spec.js"
click node_catapi "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/cat.api.spec.js"
click node_jsonapi "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/json.api.spec.js"
click node_title "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/describe.spec.js"
click node_download "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/download.spec.js"
click node_skip "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/skiptest.spec.js"
click node_seed "https://github.com/herit6-hanu/playwrightjs/blob/main/tests/seed.spec.ts"
click node_document "https://github.com/herit6-hanu/playwrightjs/blob/main/downloads/Free_Test_Data_100KB_DOC.doc"

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_accessibility,node_dragdrop,node_frames,node_modifiers,node_cursor,node_actions,node_files,node_visual toneBlue
class node_catapi,node_jsonapi toneAmber
class node_title,node_download,node_skip,node_seed toneMint
class node_runner,node_document toneTeal
class node_browser toneIndigo
```

## Components

### UI scenarios

- [Accessibility](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/accessbility.spec.js): `tests/accessbility.spec.js`
- [Drag and drop](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/drag_drop.spec.js): `tests/drag_drop.spec.js`
- [Frames](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/frames.spec.js): `tests/frames.spec.js`
- [Modifiers](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/modifiers.spec.js): `tests/modifiers.spec.js`
- [Cursor movement](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/movecursor.spec.js): `tests/movecursor.spec.js`
- [Page actions](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/performactions.spec.js): `tests/performactions.spec.js`
- [File inputs](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/setFiles.spec.js): `tests/setFiles.spec.js`
- [Visual checks](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/visual.spec.js): `tests/visual.spec.js`

### API scenarios

- [Cat API](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/cat.api.spec.js): `tests/cat.api.spec.js`
- [JSON API](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/json.api.spec.js): `tests/json.api.spec.js`

### Other scenarios

- [Title check](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/describe.spec.js): `tests/describe.spec.js`
- [Download check](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/download.spec.js): `tests/download.spec.js`
- [Skipped test](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/skiptest.spec.js): `tests/skiptest.spec.js`
- [Seed scenario](https://github.com/herit6-hanu/playwrightjs/blob/main/tests/seed.spec.ts): `tests/seed.spec.ts`

### Other components

- [Playwright runner](https://github.com/herit6-hanu/playwrightjs/blob/main/playwright.config.js): `playwright.config.js`
- **Chrome**
- [DOC download asset](https://github.com/herit6-hanu/playwrightjs/blob/main/downloads/Free_Test_Data_100KB_DOC.doc): `downloads/Free_Test_Data_100KB_DOC.doc`

## Connections

- Playwright runner → Chrome: launches
- Playwright runner → Accessibility: runs tests
- Playwright runner → Drag and drop: runs tests
- Playwright runner → Frames: runs tests
- Playwright runner → Modifiers: runs tests
- Playwright runner → Cursor movement: runs tests
- Playwright runner → Page actions: runs tests
- Playwright runner → File inputs: runs tests
- Playwright runner → Visual checks: runs tests
- Playwright runner → Cat API: runs tests
- Playwright runner → JSON API: runs tests
- Playwright runner → Title check: runs tests
- Playwright runner → Download check: runs tests
- Playwright runner → Skipped test: runs tests
- Playwright runner → Seed scenario: runs tests
