# kleyversonnunes/projeto-final-oem architecture

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

- Interactive diagram: https://gitdiagram.com/kleyversonnunes/projeto-final-oem
- Repository: https://github.com/kleyversonnunes/projeto-final-oem

## Overview

QAaaS is an MVP for running client-configured browser regression and security checks, then surfacing results as reports and operational KPIs. The documented workflow runs tests in GitHub Actions against the demo client; the configuration supplies its URL. The README describes login, checkout, integrity, and session-persistence coverage, plus an HTML report. The sampled KPI script separately reads Pytest XML and displays management indicators. Test and workflow internals were not sampled, so links reflect README descriptions rather than verified implementation details.

Main entry points: [`.github/workflows/pipeline_qaaas.yml`](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/.github/workflows/pipeline_qaaas.yml) (CI Pipeline), [`config/cliente_zero.yml`](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/config/cliente_zero.yml) (Client URL Config), [`tests/test_login.py`](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_login.py) (Login Regression), [`tests/test_checkout.py`](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_checkout.py) (Checkout Regression)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_configuration["Client Setup"]
  node_client_config["Client URL Config<br/>[cliente_zero.yml]"]
end

subgraph group_validation["Quality Checks"]
  node_login["Login Regression<br/>[test_login.py]"]
  node_checkout["Checkout Regression<br/>[test_checkout.py]"]
  node_integrity["Integrity Checks"]
  node_persistence["Session Persistence"]
end

subgraph group_execution_reporting["Execution &amp; Reporting"]
  node_pipeline["CI Pipeline<br/>[pipeline_qaaas.yml]"]
  node_html_report["HTML Test Report"]
  node_pytest_xml["Pytest XML Results"]
  node_kpi_reporter["KPI Generator<br/>[gerador_kpis.py]"]
  node_executive_dashboard["KPI Dashboard"]
end

node_onboarding(("Client Onboarding"))
node_demo_site["Demo Client Site"]

node_onboarding -->|"sets URL"| node_client_config
node_pipeline -->|"runs tests"| node_login
node_pipeline -->|"runs tests"| node_checkout
node_pipeline -->|"runs tests"| node_integrity
node_pipeline -->|"runs tests"| node_persistence
node_login -->|"reads URL"| node_client_config
node_checkout -->|"reads URL"| node_client_config
node_integrity -->|"reads URL"| node_client_config
node_persistence -->|"reads URL"| node_client_config
node_login -->|"drives browser"| node_demo_site
node_checkout -->|"drives browser"| node_demo_site
node_integrity -->|"checks site"| node_demo_site
node_persistence -->|"checks session"| node_demo_site
node_pipeline -->|"publishes report"| node_html_report
node_pipeline -->|"produces results"| node_pytest_xml
node_kpi_reporter -->|"reads results"| node_pytest_xml
node_kpi_reporter -->|"renders dashboard"| node_executive_dashboard

click node_client_config "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/config/cliente_zero.yml"
click node_pipeline "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/.github/workflows/pipeline_qaaas.yml"
click node_login "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_login.py"
click node_checkout "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_checkout.py"
click node_integrity "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_integridade.py"
click node_persistence "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_persistencia.py"
click node_kpi_reporter "https://github.com/kleyversonnunes/projeto-final-oem/blob/main/gerador_kpis.py"

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_client_config,node_onboarding,node_demo_site toneBlue
class node_login,node_checkout,node_integrity,node_persistence toneAmber
class node_pipeline,node_html_report,node_pytest_xml,node_kpi_reporter,node_executive_dashboard toneMint
```

## Components

### Client Setup

- [Client URL Config](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/config/cliente_zero.yml): `config/cliente_zero.yml`

### Quality Checks

- [Login Regression](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_login.py): `tests/test_login.py`
- [Checkout Regression](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_checkout.py): `tests/test_checkout.py`
- [Integrity Checks](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_integridade.py): `tests/test_integridade.py`
- [Session Persistence](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/tests/test_persistencia.py): `tests/test_persistencia.py`

### Execution & Reporting

- [CI Pipeline](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/.github/workflows/pipeline_qaaas.yml): `.github/workflows/pipeline_qaaas.yml`
- **HTML Test Report**
- **Pytest XML Results**
- [KPI Generator](https://github.com/kleyversonnunes/projeto-final-oem/blob/main/gerador_kpis.py): `gerador_kpis.py`
- **KPI Dashboard**

### Other components

- **Client Onboarding**
- **Demo Client Site**

## Connections

- Client Onboarding → Client URL Config: sets URL
- CI Pipeline → Login Regression: runs tests
- CI Pipeline → Checkout Regression: runs tests
- CI Pipeline → Integrity Checks: runs tests
- CI Pipeline → Session Persistence: runs tests
- Login Regression → Client URL Config: reads URL
- Checkout Regression → Client URL Config: reads URL
- Integrity Checks → Client URL Config: reads URL
- Session Persistence → Client URL Config: reads URL
- Login Regression → Demo Client Site: drives browser
- Checkout Regression → Demo Client Site: drives browser
- Integrity Checks → Demo Client Site: checks site
- Session Persistence → Demo Client Site: checks session
- CI Pipeline → HTML Test Report: publishes report
- CI Pipeline → Pytest XML Results: produces results
- KPI Generator → Pytest XML Results: reads results
- KPI Generator → KPI Dashboard: renders dashboard
