Commit c5ae304
enhance: Features/cli test result and test run attachments (#44)
* feat(cli): add support for uploading attachments during test result import
- Introduced functionality to upload test result attachments and test run attachments via the CLI.
- Enhanced the import command to include options for specifying attachment directories and skipping uploads.
- Updated the API to handle attachment mappings and responses for better integration with the CLI.
- Added new types and utility functions for managing attachment uploads and summaries.
- Improved documentation to reflect new attachment handling features and usage examples.
* fix(prisma): add workflowType to seedWorkflows function
- Introduced a new property `workflowType` with the value "IN_PROGRESS" in the seedWorkflows function to enhance workflow management.
- Updated the workflow object structure to include the new `workflowType` for better clarity and functionality.
* fix(JunitTableSection): update translation key for cancel action
- Changed the translation key for the cancel button from "common.actions.cancel" to "common.cancel" for improved clarity and consistency in the user interface.
* feat(test-results): add extended data parsing for test cases
- Implemented functionality to parse extended test case data, including raw system-out, system-err, and assertions, which were previously not exposed by the main parser.
- Introduced new types and utility functions for managing extended data, enhancing the detail available in test results.
- Updated the POST request handler to incorporate extended data parsing and handle potential parsing errors gracefully.
* fix(JunitTableSection): replace textarea with Textarea component
- Updated the JunitTableSection to use the new Textarea component for improved styling and consistency.
- Ensured the textarea retains its read-only functionality while enhancing the user interface.
* fix(import): remove JUnitAttachment creation during import
JUnitAttachment records stored text paths from JUnit XML and were linked
to the test case (repositoryCaseId), causing them to appear on the test
case details page. Since actual attachment files are uploaded via CLI
to the Attachments table (linked to junitTestResultId), the JUnitAttachment
records are redundant and confusing.
Attachments now only appear on the test result, not the test case.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore(dependencies): update package versions and add new SDK
- Added '@modelcontextprotocol/sdk' version 1.25.2 to package.json and pnpm-lock.yaml.
- Updated '@aws-sdk/client-s3' and '@aws-sdk/s3-request-presigner' to version 3.964.0.
- Upgraded various '@tiptap' packages to version 3.15.3 for improved functionality and consistency.
- Updated 'ai' package to version 6.0.19 and 'framer-motion' to version 12.24.10.
- Updated 'happy-dom' to version 20.1.0 and 'baseline-browser-mapping' to version 2.9.12.
- Upgraded '@typescript-eslint/eslint-plugin' and '@typescript-eslint/parser' to version 8.52.0 for better linting support.
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5b8e8b3 commit c5ae304
File tree
19 files changed
+3865
-753
lines changed- cli
- dist
- src
- commands
- lib
- docs/docs
- testplanit
- app
- [locale]/projects/runs/[projectId]/[runId]
- api
- junit/attachments/bulk
- test-results/import
- test-runs/attachments
- components/ui
- lib/services
- prisma
19 files changed
+3865
-753
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| |||
65 | 75 | | |
66 | 76 | | |
67 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
68 | 87 | | |
69 | 88 | | |
70 | 89 | | |
| |||
208 | 227 | | |
209 | 228 | | |
210 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
211 | 364 | | |
| 365 | + | |
212 | 366 | | |
213 | 367 | | |
214 | 368 | | |
| |||
0 commit comments