buildSoftKeyboardDiagnosticMessage
Builds the message a failed raise reports.
A bare “the keyboard did not come up” is unreadable — what the reader needs is what the page saw and what the device thought, side by side, because the two disagreeing is the whole diagnosis. The page’s half is the lift and the two tops it came from, since the lift is the verdict; a lift of zero gets a sentence of its own, being the one reading that an already-up keyboard also produces.
Import:
import { buildSoftKeyboardDiagnosticMessage } from 'obsidian-integration-testing';Signature:
function buildSoftKeyboardDiagnosticMessage(params: BuildSoftKeyboardDiagnosticMessageParams): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params | BuildSoftKeyboardDiagnosticMessageParams | The evidence gathered before the first touch and after the last one. |
Returns: string — The message, ready to throw.
Links to this page: