externalActivityItem <NET>
Hierarchy
- InteractionObject<NET>
- ActivityItem
Index
Constructors
Methods
Constructors
externalconstructor
Type parameters
- NET
Parameters
externalrootElement: PageElement<NET> | QuestionAdapter<PageElement<NET>>
externaloptionaloptions: InteractionObjectOptions
Returns ActivityItem<NET>
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>
externalname
The activity's display name (e.g.
'Alice clicks on the submit button').Example
Ensure.that(activity.name(), includes('clicks on the submit button'))Returns QuestionAdapter<string>
externaloutcome
The activity's execution outcome (e.g.
'SUCCESS','FAILURE','ERROR').Reads the
data-outcomeattribute from the activity icon element.Example
Ensure.that(activity.outcome(), equals('FAILURE'))Returns QuestionAdapter<string>
Interaction object representing a single activity row in the scenario detail activity tree.
An
ActivityItemis not instantiated directly — it is obtained via ScenarioDetailView.activityCalled, which locates the matching row by activity name:Usage in a test