mirror of
https://github.com/tester-army/e2e.git
synced 2026-12-04 04:56:00 +08:00
* feat(e2e): add test.todo skip cause * fix(e2e): flag test.todo's report-1 skip cause as breaking, pin it in tests Mark the changeset minor with a Breaking note for the new todo skip cause, as #2012 did for fixme. Add a Throws table for test.todo, name the fix in its extra-argument error, pin todo in last-run and the Report type, restore main's fixme schema-fixture test, and drop the todo filter fixture, which the cause-agnostic filter rule already covers. * refactor(e2e): register test.todo through registerOne directly * fix(e2e): allow the todo skip cause only on a result with no attempts report-1 took `todo` in the skip definition that results, attempts, and serial members share, so a report with a todo attempt, or a todo result with attempts, validated. `todo` now lives in a result-only `resultSkip` with reason `todo`, and a todo result must be a plain test row with no serial group and no attempts. That rule caught a real case: a failed test turned into a test.todo and rerun with --last-failed inherited its old attempts in report-with-reruns.json. foldLastRun now leaves a todo result as it is. Co-authored-by: Enoch <bferanmi806@gmail.com> --------- Co-authored-by: Enoch <bferanmi806@gmail.com>