externalTimelineView <NET>
Hierarchy
- InteractionObject<NET>
- TimelineView
Index
Constructors
Properties
Methods
Constructors
externalconstructor
Type parameters
- NET
Parameters
externalrootElement: PageElement<NET> | QuestionAdapter<PageElement<NET>>
externalnavigation: Navigation = ...
externaloptionaloptions: InteractionObjectOptions
Returns TimelineView<NET>
Properties
externalreadonlyfilterBar
Methods
externalisPresent
Checks whether the interaction object's root element is present in the DOM.
Since
InteractionObjectimplementsOptional, you can assert on presence directly:Ensure.that(view, isPresent())Returns Answerable<boolean>
externalkpiCardAt
externalkpiCardCalled
externalactiveFilters
The labels of the currently active (pressed) filter chips.
Example
await actor.attemptsTo(
timelineView.selectFilter('Failed'),
Ensure.that(timelineView.activeFilters(), equals(['Failed'])),
);Returns Question<Promise<string[]>>
externalscenarioCount
The number of timeline rows currently visible.
Example
Ensure.that(timelineView.scenarioCount(), equals(42))Returns Question<Promise<number>>
externalselectFilter
Activates a filter chip by label (e.g.
'Failed','Passed').On mobile viewports, opens the bottom sheet to access filters.
Example
await actor.attemptsTo(
timelineView.selectFilter('Failed'),
Ensure.that(timelineView.scenarioCount(), equals(5)),
);Parameters
externallabel: Answerable<string>
The filter chip label to activate
Returns Task
externalopen
Navigates to the Timeline view via the sidebar navigation.
Example
await actor.attemptsTo(
timelineView.open(),
Ensure.that(timelineView.scenarioCount(), isGreaterThan(0)),
);Returns Task
Interaction object representing the Timeline view in the HTML report.
Visualises execution timing across scenarios, showing when each test started and how long it took. Includes KPI cards summarising timing metrics and filter chips to focus on specific outcome types.
Composes child interaction objects (FilterBar, KpiCard) for individual UI widgets.
On mobile viewports, filter controls live inside a bottom sheet. The same
selectFilter()method works regardless of viewport size when the{ mobile: true }option is set.Instantiation
Usage in an integration test