Commit be7b317
committed
fix: create temporary environment for publish tests instead of skipping
The § 3.4 publish tests were pending because the fresh dynamic stack has
no environments (they're only created by Phase 5 environment tests).
Fix: before() now creates a throw-away environment when none is found,
and after() deletes it. Same self-contained pattern used by AM org stack.
Priority order:
1. Use testData.environments.development.name if Phase 5 already ran
2. Query for any existing environment
3. Create a temporary environment (scan-publish-env-XXXXX)
Verified locally: 32 passing, 0 pending, 0 failing1 parent a9eafb8 commit be7b317
1 file changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
501 | 502 | | |
502 | 503 | | |
503 | 504 | | |
| |||
507 | 508 | | |
508 | 509 | | |
509 | 510 | | |
510 | | - | |
| 511 | + | |
| 512 | + | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| 516 | + | |
| 517 | + | |
514 | 518 | | |
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
518 | 522 | | |
519 | 523 | | |
520 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
521 | 543 | | |
522 | 544 | | |
523 | 545 | | |
| |||
537 | 559 | | |
538 | 560 | | |
539 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
540 | 565 | | |
541 | 566 | | |
542 | 567 | | |
| |||
0 commit comments