Repository navigation
Commit 19c8aab
committed
efftriage: rule T14 for a checked-state assertion on the wrong node (A46, MTE-5827)
The never-translate conversion's real failure — mozVerifyElementIsChecked against a node that carries
no state — came back as "no rule matched". It now names gotcha A46 and both halves of the fix: assert
`selected` rather than `checked`, and match on the MERGED tree. This is the shape behind every legacy
test that asserts checked state via positional UiSelector().index(n), so it will come up again.
The first draft over-matched. Keying on "' is (not )?checked" also hit the `[CMD] Verifying ... is
checked...` and `[OK] ... is checked` lines of runs that PASSED that assertion and failed for unrelated
reasons, and it silently stole the diagnosis from two labelled gap cases (a keyboard-close
PerformException and the ads-client NoHandle crash). The corpus tripwire caught it immediately — the
second time in this batch that a new rule's blast radius was wider than the case that motivated it, so
the matcher now requires the [ERR] marker.
Fixture keeps the run as labelled evidence, including the detail that it predates the ScreenDump those
verbs now emit, which is what made it opaque in the first place.1 parent cb8b83b commit 19c8aab
5 files changed
Lines changed: 929 additions & 0 deletions
File tree
- tae-conversion
- tests/fixtures/corpus
- T14-checked-wrong-node
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments