externalResultCount <NET>
Index
Constructors
Methods
Constructors
externalconstructor
Type parameters
- NET
Parameters
externalrootElement: PageElement<NET> | QuestionAdapter<PageElement<NET>>
Returns ResultCount<NET>
Methods
externaltext
The displayed result count text (e.g.
'7 of 23 scenarios','3 results').Reflects the current filter and search state of the parent view.
Example
await actor.attemptsTo(
Ensure.that(resultCount.text(), includes('7 of 23')),
);Returns QuestionAdapter<string>
Simple interaction object representing the displayed result count (e.g.
'7 of 23 scenarios').Unlike most interaction objects in the HTML reporter,
ResultCountdoes not extend InteractionObject — it takes a root element directly and provides a single Question for reading the count text.A
ResultCountis composed into views like ScenariosView and is typically accessed via the parent view'sresultCountfield orresultCountText()method.Instantiation (within a parent interaction object)
Usage in a test