|
5 | 5 | </p> |
6 | 6 |
|
7 | 7 |
|
8 | | -# K11TechLab Playwright Automation |
| 8 | + |
| 9 | +# K11TechLab Playwright Automation (JavaScript) |
9 | 10 |
|
10 | 11 | A robust, real-world Playwright automation framework for **K11 Software Solutions**. This project demonstrates best practices in UI automation, advanced reporting, artifact management, and introduces cutting-edge AI-powered test generation for modern web applications. |
11 | 12 |
|
@@ -41,6 +42,71 @@ Explore the `README-ai.md` for details on AI test generation and advanced featur |
41 | 42 | - CI/CD friendly, scalable structure |
42 | 43 | - Documentation articles in /doc (component testing, Playwright JS/TS/Python comparison) |
43 | 44 |
|
| 45 | + |
| 46 | +## 📁 Project Structure |
| 47 | + |
| 48 | +``` |
| 49 | +.env |
| 50 | +.env.example |
| 51 | +.gitignore |
| 52 | +ai/ |
| 53 | +allure-results/ |
| 54 | +apiresponse/ |
| 55 | +artifacts/ |
| 56 | +components/ |
| 57 | +config/ |
| 58 | +doc/ |
| 59 | +hooks/ |
| 60 | +learning-path.md |
| 61 | +node_modules/ |
| 62 | +pages/ |
| 63 | +playwright-ct.config.js |
| 64 | +playwright-fixtures.js |
| 65 | +playwright-report/ |
| 66 | +playwright.config.js |
| 67 | +prompts/ |
| 68 | +README-ai.md |
| 69 | +README.md |
| 70 | +reports/ |
| 71 | +screenshots/ |
| 72 | +test-results/ |
| 73 | +testdata/ |
| 74 | +tests/ |
| 75 | +uitestengine/ |
| 76 | +utils/ |
| 77 | +``` |
| 78 | + |
| 79 | +### Key Test Categories |
| 80 | +- `tests/smoke/` – Smoke tests |
| 81 | +- `tests/e2e/` – End-to-end flows |
| 82 | +- `tests/components/` – Component-level tests |
| 83 | +- `tests/api/` – API tests |
| 84 | +- `tests/mcp/` – Model Context Protocol (MCP) tests |
| 85 | +- `tests/advanced/` – Advanced scenarios |
| 86 | +- `tests/device/` – Device-specific tests |
| 87 | + |
| 88 | +### Documentation |
| 89 | +- `doc/` – Articles and guides (component testing, XState, Playwright comparison, etc.) |
| 90 | +- `learning-path.md` – Step-by-step learning path and test categories |
| 91 | +- `README-ai.md` – AI-powered test generation details |
| 92 | + |
| 93 | +### Prompts & AI |
| 94 | +- `prompts/` – Prompt templates for AI test generation |
| 95 | +- `ai/generate_generic_tests_ai.js` – AI test generator script |
| 96 | + |
| 97 | +### Artifacts & Reports |
| 98 | +- `artifacts/` – Screenshots, visual regression, logos |
| 99 | +- `reports/` – Test run reports, MCP artifacts |
| 100 | + |
| 101 | +### Utilities |
| 102 | +- `utils/` – Element actions, Excel utilities, reusable helpers |
| 103 | + |
| 104 | +### Config |
| 105 | +- `config/` – Centralized app configuration |
| 106 | + |
| 107 | +### Test Data |
| 108 | +- `testdata/` – CSV files for data-driven tests |
| 109 | + |
44 | 110 | --- |
45 | 111 |
|
46 | 112 |
|
|
0 commit comments