# eylulgokce/ti-m architecture

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

- Interactive diagram: https://gitdiagram.com/eylulgokce/ti-m
- Repository: https://github.com/eylulgokce/ti-m

## Overview

This repository is a read-only UI test suite for ti&m’s career page. Its main workflow is running pytest tests that exercise the external site in a Playwright browser and check consent behavior, search results, and job-application links. Configuration supplies the tested URLs, selectors, expected text, and tracker pattern; a pytest fixture blocks matching tracker requests, while a helper rejects optional cookies. The test files are identified by the README, but their source was not excerpted, so their internal call structure is not shown.

Main entry points: [`conftest.py`](https://github.com/eylulgokce/ti-m/blob/main/conftest.py) (Page helpers), [`tests/test_consent.py`](https://github.com/eylulgokce/ti-m/blob/main/tests/test_consent.py) (Consent check), [`tests/test_search.py`](https://github.com/eylulgokce/ti-m/blob/main/tests/test_search.py) (Search check), [`tests/test_apply_link.py`](https://github.com/eylulgokce/ti-m/blob/main/tests/test_apply_link.py) (Apply-link check)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_scenarios["Career-page checks"]
  node_consent["Consent check<br/>[test_consent.py]"]
  node_search["Search check<br/>[test_search.py]"]
  node_apply["Apply-link check<br/>[test_apply_link.py]"]
end

subgraph group_support["Test support"]
  node_config["Test configuration<br/>[config.py]"]
  node_helpers["Page helpers<br/>[conftest.py]"]
end

node_pytest(("Pytest runner"))
node_career{{"ti&amp;m career site"}}
node_trackers{{"Tracker services"}}

node_pytest -->|"runs"| node_consent
node_pytest -->|"runs"| node_search
node_pytest -->|"runs"| node_apply
node_consent -->|"checks consent"| node_career
node_search -->|"checks search"| node_career
node_apply -->|"checks job link"| node_career
node_helpers -->|"reads tracker pattern"| node_config
node_helpers -->|"blocks requests"| node_trackers

click node_consent "https://github.com/eylulgokce/ti-m/blob/main/tests/test_consent.py"
click node_search "https://github.com/eylulgokce/ti-m/blob/main/tests/test_search.py"
click node_apply "https://github.com/eylulgokce/ti-m/blob/main/tests/test_apply_link.py"
click node_config "https://github.com/eylulgokce/ti-m/blob/main/config.py"
click node_helpers "https://github.com/eylulgokce/ti-m/blob/main/conftest.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_consent,node_search,node_apply toneBlue
class node_config,node_helpers toneAmber
class node_pytest,node_career,node_trackers toneIndigo
```

## Components

### Career-page checks

- [Consent check](https://github.com/eylulgokce/ti-m/blob/main/tests/test_consent.py): `tests/test_consent.py`
- [Search check](https://github.com/eylulgokce/ti-m/blob/main/tests/test_search.py): `tests/test_search.py`
- [Apply-link check](https://github.com/eylulgokce/ti-m/blob/main/tests/test_apply_link.py): `tests/test_apply_link.py`

### Test support

- [Test configuration](https://github.com/eylulgokce/ti-m/blob/main/config.py): `config.py`
- [Page helpers](https://github.com/eylulgokce/ti-m/blob/main/conftest.py): `conftest.py`

### Other components

- **Pytest runner**
- **ti&m career site**
- **Tracker services**

## Connections

- Pytest runner → Consent check: runs (evidence: `README.md`)
- Pytest runner → Search check: runs (evidence: `README.md`)
- Pytest runner → Apply-link check: runs (evidence: `README.md`)
- Consent check → ti&m career site: checks consent (evidence: `README.md`)
- Search check → ti&m career site: checks search (evidence: `README.md`)
- Apply-link check → ti&m career site: checks job link (evidence: `README.md`)
- Page helpers → Test configuration: reads tracker pattern (evidence: `conftest.py`)
- Page helpers → Tracker services: blocks requests (evidence: `conftest.py`)
