# sharukesh3/testing-automation architecture

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

- Interactive diagram: https://gitdiagram.com/sharukesh3/testing-automation
- Repository: https://github.com/sharukesh3/testing-automation

## Overview

#### Purpose and Current Boundary
OrderFlow Sprint Lab is a baseline prototype for a Jira-first testing-automation workflow in an e-commerce order-management domain. It currently runs as a self-contained browser UI; Jira, MCP connectors, generated tests, and execution reporting are planned integrations rather than present repository components.

#### Entry Point and Runtime
- `index.html` is the sole application entry point and likely contains the prototype UI, client-side behavior, and temporary fixture state.
- `Readme.md` defines the intended Jira-aligned contract and future automation direction.
- The material runtime is a browser; no backend, package manifest, test suite, or infrastructure definition is present.

#### Sprint and Issue Dashboard
The core product surface is a dashboard intended to expose sprint state, Jira-style issue status, and test outcomes. Its domain model should support a two-week sprint cadence and Jira issue flow, while retaining issue keys and stable UI selectors for automation attachment.
- `index.html`
- `Readme.md`

#### Temporary Local Data Boundary
Local fixture data is the current source of truth for sprint, issue, assignee, comment, and test-result views. This is explicitly a replaceable boundary: fixture reads and UI updates should be isolated from the eventual Jira MCP connector contract.
- `index.html`
- `Readme.md`

#### Future Jira/MCP Integration Boundary
The intended authoritative system is the live Jira application accessed through MCP servers. The integration must preserve Jira-compatible fields, comments, sprint metadata, status transitions, and assignee updates, so the prototype’s displayed and editable data should map directly to Jira records.
- `Readme.md`
- `index.html`

#### Test Automation Lifecycle
The planned workflow connects Jira issues to generated unit, integration, and end-to-end tests, then surfaces execution results on the dashboard. Stable issue keys and selectors form the coupling point between the UI and automation tooling; tests should target those durable identifiers rather than presentation-only markup.
- `index.html`
- `Readme.md`

#### Control Flow
The expected flow is: sprint/issue data is loaded from local fixtures today (Jira via MCP later), rendered into the dashboard, updated through Jira-shaped issue interactions, associated with generated tests, and reflected back as execution/reporting status. The key architectural boundary is between the browser prototype in `index.html` and future external Jira/MCP plus test-execution services.

Main entry points: [`index.html`](https://github.com/sharukesh3/testing-automation/blob/main/index.html) (Fixture Data Boundary), [`Readme.md`](https://github.com/sharukesh3/testing-automation/blob/main/Readme.md) (Workflow Contract)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_prototype["Browser Prototype"]
  node_browser(("Browser<br/>runtime"))
  node_app["OrderFlow UI<br/>single-page prototype<br/>[index.html]"]
  node_dashboard["Sprint &amp; Issue Dashboard<br/>product surface<br/>[index.html]"]
  node_issue_interactions["Issue Interactions<br/>UI workflow<br/>[index.html]"]
  node_fixture_boundary[("Fixture Data Boundary<br/>replaceable data access<br/>[index.html]")]
  node_sprint_data["Sprint Metadata<br/>domain data<br/>[index.html]"]
  node_jira_issue_model["Jira-Compatible Issues<br/>domain model<br/>[index.html]"]
  node_automation_identifiers["Issue Keys &amp; Selectors<br/>automation contract<br/>[index.html]"]
  node_readme["Workflow Contract<br/>documentation<br/>[Readme.md]"]
end

subgraph group_future["Planned Integrations"]
  node_jira_mcp{{"Jira via MCP<br/>future connector"}}
  node_jira[("Jira Application<br/>external system")]
  node_test_generation["Generated Tests<br/>future automation"]
  node_test_execution["Test Execution<br/>future service"]
  node_reporting["Execution Reporting<br/>future reporting"]
end

node_browser -->|"loads"| node_app
node_app -->|"renders"| node_dashboard
node_app -->|"reads and updates"| node_fixture_boundary
node_fixture_boundary -->|"supplies"| node_sprint_data
node_fixture_boundary -->|"supplies"| node_jira_issue_model
node_dashboard -->|"exposes"| node_issue_interactions
node_issue_interactions -->|"persists locally"| node_fixture_boundary
node_jira_issue_model -->|"carries"| node_automation_identifiers
node_automation_identifiers -.->|"targets"| node_test_generation
node_test_generation -.->|"produces tests for"| node_test_execution
node_test_execution -.->|"emits results"| node_reporting
node_reporting -.->|"updates outcomes"| node_dashboard
node_fixture_boundary -.->|"future replacement"| node_jira_mcp
node_jira_mcp -.->|"accesses"| node_jira
node_jira_mcp -.->|"maps records to"| node_jira_issue_model
node_readme -.->|"specifies direction"| node_jira_mcp
node_readme -.->|"defines lifecycle"| node_test_generation

click node_app "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_dashboard "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_issue_interactions "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_fixture_boundary "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_sprint_data "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_jira_issue_model "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_automation_identifiers "https://github.com/sharukesh3/testing-automation/blob/main/index.html"
click node_readme "https://github.com/sharukesh3/testing-automation/blob/main/Readme.md"

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_browser,node_app,node_dashboard,node_issue_interactions,node_fixture_boundary,node_sprint_data,node_jira_issue_model,node_automation_identifiers,node_readme toneBlue
class node_jira_mcp,node_jira,node_test_generation,node_test_execution,node_reporting toneAmber
```

## Components

### Browser Prototype

Current self-contained runtime.

- **Browser**: runtime
- [OrderFlow UI](https://github.com/sharukesh3/testing-automation/blob/main/index.html): single-page prototype · Current entry point, UI behavior, and fixture state. · `index.html`
- [Sprint & Issue Dashboard](https://github.com/sharukesh3/testing-automation/blob/main/index.html): product surface · Shows sprint state, Jira-style issues, and test outcomes. · `index.html`
- [Issue Interactions](https://github.com/sharukesh3/testing-automation/blob/main/index.html): UI workflow · Jira-shaped status, assignee, and comment updates. · `index.html`
- [Fixture Data Boundary](https://github.com/sharukesh3/testing-automation/blob/main/index.html): replaceable data access · Current source for sprint, issue, assignee, comment, and result data. · `index.html`
- [Sprint Metadata](https://github.com/sharukesh3/testing-automation/blob/main/index.html): domain data · Two-week sprint cadence and state. · `index.html`
- [Jira-Compatible Issues](https://github.com/sharukesh3/testing-automation/blob/main/index.html): domain model · Issue keys, status, assignee, comments, and transitions. · `index.html`
- [Issue Keys & Selectors](https://github.com/sharukesh3/testing-automation/blob/main/index.html): automation contract · Durable coupling points for automation. · `index.html`
- [Workflow Contract](https://github.com/sharukesh3/testing-automation/blob/main/Readme.md): documentation · Defines the intended Jira-aligned automation direction. · `Readme.md`

### Planned Integrations

External systems not yet present.

- **Jira via MCP**: future connector · Planned authoritative live Jira access.
- **Jira Application**: external system · Authoritative issues, comments, sprints, and assignments.
- **Generated Tests**: future automation · Planned unit, integration, and end-to-end tests.
- **Test Execution**: future service · Runs generated tests and produces outcomes.
- **Execution Reporting**: future reporting · Returns test status to the dashboard.

## Connections

- Browser → OrderFlow UI: loads
- OrderFlow UI → Sprint & Issue Dashboard: renders
- OrderFlow UI → Fixture Data Boundary: reads and updates
- Fixture Data Boundary → Sprint Metadata: supplies
- Fixture Data Boundary → Jira-Compatible Issues: supplies
- Sprint & Issue Dashboard → Issue Interactions: exposes
- Issue Interactions → Fixture Data Boundary: persists locally
- Jira-Compatible Issues → Issue Keys & Selectors: carries
- Issue Keys & Selectors → Generated Tests: targets
- Generated Tests → Test Execution: produces tests for
- Test Execution → Execution Reporting: emits results
- Execution Reporting → Sprint & Issue Dashboard: updates outcomes
- Fixture Data Boundary → Jira via MCP: future replacement
- Jira via MCP → Jira Application: accesses
- Jira via MCP → Jira-Compatible Issues: maps records to
- Workflow Contract → Jira via MCP: specifies direction
- Workflow Contract → Generated Tests: defines lifecycle
