The fakeIme tests pass IME-like event sequences into the CE Surface and check that it behaves reasonably. Currently the tests are too weak, in that they don't detect certain problematic behaviour:
- Calls to the simulated preventDefault do nothing at all.
- Some tests are disabled because they fail.
- Only plain text in a single blank paragraph is tested.
- In real usage, changing the CE surface content/selection during input will close the candidate window and commits the candidate text. The tests currently do not check for this. The test data does not show which pieces of text are candidates, since there is no way to detect this from Javascript, but we can infer that at least any text which is subsequenctly changed was a candidate.
Version: unspecified
Severity: enhancement