{"id":31952377,"url":"https://github.com/tosheto/playwright-portfolio","last_synced_at":"2026-04-09T12:03:45.591Z","repository":{"id":311309216,"uuid":"1043292108","full_name":"tosheto/playwright-portfolio","owner":"tosheto","description":"Playwright end-to-end testing portfolio project using Page Object Model (POM), helpers, and GitHub Actions CI pipeline.","archived":false,"fork":false,"pushed_at":"2025-09-10T13:20:36.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T16:52:25.906Z","etag":null,"topics":["allure-report","automation","ci-cd","continuous-integration","github-actions","jest","nodejs","page-object-model","playwright","playwright-typescript","qa-automation","qa-engineer","reporting","software-testing","test-automation","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tosheto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-23T14:47:44.000Z","updated_at":"2025-09-10T13:20:41.000Z","dependencies_parsed_at":"2025-08-24T06:42:59.874Z","dependency_job_id":"a7600ea9-457f-4168-9129-96706b3ef221","html_url":"https://github.com/tosheto/playwright-portfolio","commit_stats":null,"previous_names":["tosheto/playwright-portfolio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tosheto/playwright-portfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosheto%2Fplaywright-portfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosheto%2Fplaywright-portfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosheto%2Fplaywright-portfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosheto%2Fplaywright-portfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tosheto","download_url":"https://codeload.github.com/tosheto/playwright-portfolio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosheto%2Fplaywright-portfolio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018712,"owners_count":26086605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allure-report","automation","ci-cd","continuous-integration","github-actions","jest","nodejs","page-object-model","playwright","playwright-typescript","qa-automation","qa-engineer","reporting","software-testing","test-automation","testing","typescript"],"created_at":"2025-10-14T13:13:55.477Z","updated_at":"2025-10-14T13:13:56.687Z","avatar_url":"https://github.com/tosheto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎭 Todor Stavrev's Playwright Portfolio Project\n\n[![CI](https://github.com/tosheto/playwright-portfolio/actions/workflows/playwright.yml/badge.svg)](https://github.com/tosheto/playwright-portfolio/actions/workflows/playwright.yml)\n![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue)\n![Playwright](https://img.shields.io/badge/Playwright-1.46+-green)\n[![Reports](https://img.shields.io/badge/📊%20Test%20Reports-Live%20on%20GitHub%20Pages-brightgreen)](https://tosheto.github.io/playwright-portfolio/)\n![Algorithms](https://img.shields.io/badge/Algorithms-Ready-informational)\n![Blockchain%20QA](https://img.shields.io/badge/Blockchain%20QA-Portfolio-blueviolet)\n## Connect with me\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-Profile-blue?logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/todor-stavrev-7843105b/)\n\n\n\n---\n\n## Live Reports\n\n- **Playwright HTML Report** — steps, logs, screenshots, trace links:  \n  https://tosheto.github.io/playwright-portfolio/playwright-report/index.html\n- **Allure Report** — suites, categories, trends \u0026 analytics:  \n  https://tosheto.github.io/playwright-portfolio/allure-report/index.html\n\n\u003e Reports are re-generated on every push/PR via GitHub Actions.\n\n---\n## Tech stack\n\n- **Playwright + @playwright/test** (TypeScript)\n- **POM (Page Object Model)** — `tests/pages/*` encapsulate selectors + actions\n- **Helpers/fixtures** — `tests/helpers/*`, `tests/fixtures/*`\n- **Reporters** — `html` + `allure-playwright`\n- **Artifacts policy** (in `playwright.config.ts`):  \n  `trace: 'on-first-retry'`, `screenshot: 'only-on-failure'`, `video: 'retain-on-failure'`\n---\n## ⚙️ CI pipeline (GitHub Actions)\n\n  -  Workflow: .github/workflows/playwright.yml\n  - On every push/PR it:\n    1. Installs deps \u0026 Playwright browsers\n    2. Runs the full suite (all projects)\n    3. Produces one Allure report report and one Playwright HTML\n    4. Publishes static reports to GitHub Pages:\n       - /playwright-report/index.html\n       - /allure-report/index.html\n---\n## What this project tests\n\n| Area | Spec file | What it verifies | Key assertions / notes |\n|---|---|---|---|\n| **Accessibility (a11y smoke)** | `tests/specs/a11y.smoke.spec.ts` | Presence of core ARIA landmarks on key pages | `banner`, `navigation`, `main`, `footer` on home/docs |\n| **Public API (GET/POST)** | `tests/specs/api.spec.ts` | HTTP status codes and JSON payload shape using `jsonplaceholder` | `GET /posts/1` ⇒ 200 + expected fields; `POST /posts` ⇒ 201 + `id` |\n| **Artifacts demo** | `tests/specs/artifacts-demo.spec.ts` | How traces, videos and screenshots are collected on failure | Intentionally triggers artifacts for demo purposes |\n| **Docs UI** | `tests/specs/docs.spec.ts` | Navigation and headings in the docs section | Page titles, visible sections, basic smoke checks |\n| **Home UI** | `tests/specs/home.spec.ts` | Hero/intro, CTAs and structure | `toHaveTitle`, visible elements, navigation |\n| **Navbar** | `tests/specs/navbar.spec.ts` | Header/menu links | Visibility + navigation |\n| **Footer** | `tests/specs/footer.spec.ts` | Footer links \u0026 copyright | Structure + working links |\n| **Search** | `tests/specs/search.spec.ts` | Search input and results | Typing queries, results shown |\n| **Graph/visuals** | `tests/specs/graph.spec.ts` | Graph/chart rendering | Expected nodes/elements are visible |\n| **Code blocks** | `tests/specs/codeblocks.spec.ts` | Code examples render on key pages | At least one code block per page |\n| **Example** | `tests/specs/example.spec.ts` | Minimal smoke: title + navigation to iana.org | Basic selector usage with Playwright |\n\n\u003e All UI specs run against the `baseURL` from `playwright.config.ts` across **Chromium / Firefox / WebKit**.\n\n---\n## 🚀 Quick start\n\n```bash\nnpm i\nnpm run pw:install\nnpm test\nnpm run report\nnpm test \n```\n## 🧪 What’s inside\n\n- **UI test specs**: all end-to-end tests live under `tests/specs/*.spec.ts`\n- **API tests**: `tests/specs/api.spec.ts` checks GET/POST endpoints and validates JSON responses\n- **Artifacts demo**: `tests/specs/artifacts-demo.spec.ts` is designed to fail on purpose, so you can see how Playwright captures:\n  - trace files  \n  - screenshots  \n  - videos\n- **Global settings**: retries, trace/screenshot/video policies, and reporters are all configured in `playwright.config.ts`\n\n## 📦 Artifacts \u0026 debugging\n\n  - HTML report: step-by-step log, attachments, screenshots.\n  - Trace viewer: open from the HTML report → timeline, console, network.\n  - Video: attached on test failure.\n  - Allure: suites/categories view + trend charts.\n  - \n## 🧑‍💻 Best practices\n\n- **Role-based selectors** for stability (`getByRole`, `getByLabel`, etc.)  \n- **Page Object Model (POM)** for reusable navigation/actions (`tests/pages/*`)  \n- **Artifacts on failure** — trace, screenshot, video available in HTML report  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftosheto%2Fplaywright-portfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftosheto%2Fplaywright-portfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftosheto%2Fplaywright-portfolio/lists"}