Commit f20a5d4
authored
fix: Handle default values for text long / link result fields (#67)
* tests: Add e2e tests for result fields
* tests: Enhance e2e tests for user updates and add new tests for result fields
* refactor: update component styles for improved responsiveness
- Adjusted max-width and minimum height styles in AddResultFieldModal, EditResultFieldModal, and RenderField components for better layout consistency across different screen sizes.
- Modified width of the DatePickerField button for a more uniform appearance.
* Revert "refactor: update component styles for improved responsiveness"
This reverts commit c34d5ea.
* fix: enhance AddCaseField and AddResultField components with type switching logic
- Added useRef to track previous field type names in AddCaseFieldModal and AddResultFieldModal.
- Implemented logic to clear default values when switching between field types, improving user experience.
- Updated input types dynamically based on selected field type for better validation and usability.
- Integrated TipTapEditor for "Text Long" field type to enhance text editing capabilities.
* Revert "fix: enhance AddCaseField and AddResultField components with type switching logic"
This reverts commit 2e780f4.
* Reapply "fix: enhance AddCaseField and AddResultField components with type switching logic"
This reverts commit 224091e.
* fix: improve folder selection logic in e2e tests
- Updated the folder selection process in the RepositoryPage to include retry logic and ensure the correct folder is selected.
- Enhanced URL verification in tests to check for a node parameter instead of specific folder IDs, improving test robustness.
- Adjusted worker settings in Playwright configuration for better stability during tests.
* fix: set defauilt global notifications to in-app/email for new instances
refactor: enhance test stability and readability with data-testid attributes
- Updated e2e tests to use stable data-testid selectors for user menu and theme submenu interactions, improving test reliability.
- Refactored version history tests to utilize data-testid attributes for diff indicators, ensuring clearer visibility checks.
- Modified project creation logic in seed script to include a unique identifier, enhancing uniqueness across parallel test runs.
- Added notification settings seeding to ensure consistent application configuration.1 parent 19b923c commit f20a5d4
File tree
15 files changed
+1305
-59
lines changed- testplanit
- app/[locale]
- admin/fields
- projects/repository/[projectId]/[caseId]/[version]
- e2e
- page-objects/repository
- tests
- admin/users
- reports
- repository
- Test Repository Management
- case-fields
- result-fields
- prisma
15 files changed
+1305
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
442 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
443 | 457 | | |
444 | 458 | | |
445 | 459 | | |
| |||
454 | 468 | | |
455 | 469 | | |
456 | 470 | | |
457 | | - | |
| 471 | + | |
458 | 472 | | |
459 | 473 | | |
460 | 474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
432 | 435 | | |
433 | 436 | | |
434 | 437 | | |
435 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
436 | 452 | | |
437 | 453 | | |
438 | 454 | | |
| |||
447 | 463 | | |
448 | 464 | | |
449 | 465 | | |
450 | | - | |
| 466 | + | |
451 | 467 | | |
452 | 468 | | |
453 | 469 | | |
| |||
527 | 543 | | |
528 | 544 | | |
529 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
530 | 568 | | |
531 | 569 | | |
532 | 570 | | |
533 | | - | |
| 571 | + | |
534 | 572 | | |
535 | 573 | | |
536 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
476 | 497 | | |
477 | 498 | | |
478 | 499 | | |
479 | | - | |
| 500 | + | |
480 | 501 | | |
481 | 502 | | |
482 | 503 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
Lines changed: 45 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
141 | 182 | | |
142 | | - | |
143 | | - | |
144 | 183 | | |
145 | 184 | | |
146 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
| |||
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
315 | | - | |
316 | 314 | | |
317 | 315 | | |
318 | 316 | | |
| |||
379 | 377 | | |
380 | 378 | | |
381 | 379 | | |
382 | | - | |
383 | 380 | | |
384 | 381 | | |
385 | 382 | | |
| |||
433 | 430 | | |
434 | 431 | | |
435 | 432 | | |
436 | | - | |
437 | 433 | | |
438 | 434 | | |
439 | 435 | | |
| |||
509 | 505 | | |
510 | 506 | | |
511 | 507 | | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
517 | 511 | | |
518 | 512 | | |
519 | | - | |
520 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
521 | 516 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
527 | 521 | | |
528 | | - | |
529 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
530 | 525 | | |
531 | | - | |
532 | | - | |
| 526 | + | |
| 527 | + | |
533 | 528 | | |
534 | 529 | | |
535 | 530 | | |
| |||
554 | 549 | | |
555 | 550 | | |
556 | 551 | | |
557 | | - | |
558 | 552 | | |
559 | 553 | | |
560 | 554 | | |
| |||
586 | 580 | | |
587 | 581 | | |
588 | 582 | | |
589 | | - | |
590 | 583 | | |
591 | 584 | | |
592 | 585 | | |
| |||
620 | 613 | | |
621 | 614 | | |
622 | 615 | | |
623 | | - | |
624 | 616 | | |
625 | 617 | | |
626 | 618 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments