externalAboutView <NET>
Hierarchy
- InteractionObject<NET>
- AboutView
Index
Constructors
Methods
Constructors
externalconstructor
Type parameters
- NET
Parameters
externalrootElement: PageElement<NET> | QuestionAdapter<PageElement<NET>>
externalnavigation: Navigation = ...
Returns AboutView<NET>
Methods
externalbodyText
The full body text of the about view.
Example
Ensure.that(aboutView.bodyText(), includes('Serenity/JS'))Returns QuestionAdapter<string>
externalhasLinkTo
Whether the about view contains a link with the given URL.
Example
Ensure.that(aboutView.hasLinkTo('https://serenity-js.org'), equals(true))Parameters
externalurl: string
The exact
hrefvalue to check for
Returns Question<Promise<boolean>>
externalopen
Navigates to the About view via the sidebar navigation.
Example
await actor.attemptsTo(
aboutView.open(),
);Returns Task
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>
Interaction object representing the About view in the HTML report.
Shows project information, links to documentation, and version details.
Instantiation
Usage in an integration test