E2EAssertion interface exported
Last updated: 2026-03-05T12:26:14.068Z
Metrics
LOC: 9
Complexity: 1
Params: 0
Signature
interface E2EAssertion
Summary
A single assertion to include in the generated test
Source Code
export interface E2EAssertion {
type: AssertionType;
/** Selector for the target element (if applicable) */
selector?: string;
/** Expected value (text, URL fragment, etc.) */
expected?: string;
/** Human-readable comment */
description?: string;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| detectAssertions | uses |
| escapeString | uses |
| escapeString | uses |
| escapeString | uses |