feat(xce-test-e2e-primitives): expect-job <jobid> assertion (task 5.3)

This commit is contained in:
Rongsong Shen 2026-06-19 16:22:22 +00:00
parent b0734c87c9
commit f3334c0fb6
2 changed files with 52 additions and 1 deletions

View file

@ -53,7 +53,7 @@
- _Requirements: 5.1, 5.2_
- _Boundary: Assertions_
- _Depends: 5.1_
- [ ] 5.3 `expect-job <jobid>` assertion
- [x] 5.3 `expect-job <jobid>` assertion
- Add `cmd_expect_job`: pass when the JobId is present in the job list; otherwise print the missing id and return `<0`. Works with `$jobid` substitution.
- Observable: `expect-job $jobid` passes for a submitted job; `expect-job <absent>` fails the session and prints the missing id.
- _Requirements: 5.3, 5.4_