Commit 29531af
authored
test: update e2e workflow --sync assertions to match new output shape (#84)
Commit 94f7f9c (fix: label Orkes-only commands; print workflow output by
default with --sync) changed --sync to print only run.Output by default
and added --full for the complete WorkflowRun JSON, but workflow.bats
test 4 still asserted the old envelope fields ("status", "workflowId").
- Test 4 now checks for the workflow output ("result": "CLI TEST") and
asserts "workflowId" is absent (proving we're past the UUID-only path
and not getting the full envelope).
- New test 4b exercises --sync --full to verify the complete-envelope
path still works.
This was the only failing test on main's E2E Tests run.1 parent 94f7f9c commit 29531af
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
60 | 72 | | |
61 | 73 | | |
62 | 74 | | |
| |||
0 commit comments