Commit ca3f5bc
authored
Add visual testing framework and refactor progress bar analysis (#63)
* feat(visual-testing): Add visual testing framework for azd progress bars
- Introduced a comprehensive visual testing suite to capture terminal outputs at various widths.
- Implemented scripts for capturing outputs, running Playwright tests, and generating reports.
- Created HTML renderer for terminal outputs and integrated ANSI color support.
- Added metadata generation for captured outputs and duplicate detection logic.
- Developed a visual comparison page to facilitate easy inspection of results.
- Included troubleshooting steps and common tasks in documentation for user guidance.
* Remove outdated visual testing documentation and add comprehensive port manager configuration and visual testing architecture details
* docs: Add terminal display information for progress bars in CLI reference
* Refactor visual testing suite into progress bar analysis framework
- Removed visual testing documentation and related files (quick-start.md, architecture.md, server.js, terminal.html).
- Updated metadata.json to reflect new capture filenames and timestamps.
- Renamed package.json to reflect new purpose and updated dependencies.
- Simplified playwright.config.ts by removing unnecessary configurations.
- Modified run-visual-tests.ps1 to focus on analysis rather than visual testing.
- Updated progress-bars.spec.ts to analyze terminal outputs instead of rendering them visually.
- Introduced new helper functions for resource management in service/helpers.go.
- Implemented WebSocket health monitoring in dashboard/websocket.go.
- Enhanced security measures in portmanager and validation files.
- Streamlined logging across the application for consistency and clarity.
- Improved performance by removing browser dependencies and reducing test execution time.
- Added comprehensive refactoring summary in refactoring-depstable.md.1 parent 641db6d commit ca3f5bc
File tree
47 files changed
+1293
-764
lines changed- cli
- docs
- commands
- dev
- src
- cmd/app
- commands
- internal
- dashboard
- executor
- installer
- output
- portmanager
- security
- service
- tests/visual
- output
- tests
- docs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1293
-764
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
370 | 372 | | |
371 | | - | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 375 | + | |
| 376 | + | |
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
101 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| |||
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
117 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| |||
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
149 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
150 | 161 | | |
151 | 162 | | |
152 | 163 | | |
| |||
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
173 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
174 | 187 | | |
This file was deleted.
0 commit comments