Skip to content

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, saying what is left once an already-up keyboard has been ruled out.

Import:

import { buildSoftKeyboardDiagnosticMessage } from 'obsidian-integration-testing';

Signature:

function buildSoftKeyboardDiagnosticMessage(params: BuildSoftKeyboardDiagnosticMessageParams): string

Parameters:

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: