import {See} from '@serenity-js/core/lib/screenplay/interactions'
public class | source

Static Method Summary

Static Public Methods
public static

if(question: Question, assertion: Assertion): Interaction

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

performAs(actor: AnswersQuestions): Promise<void>

Makes the provided Actor perform this Interaction.

public

toString(): string

Generates a description to be used when reporting this Activity.

Static Public Methods

public static if(question: Question, assertion: Assertion): Interaction source

Params:

NameTypeAttributeDescription
question Question
assertion Assertion

Returns:

Interaction

Public Constructors

public constructor() source

Public Methods

public performAs(actor: AnswersQuestions): Promise<void> source

Makes the provided Actor perform this Interaction.

Params:

NameTypeAttributeDescription
actor AnswersQuestions

Returns:

Promise<void>

public toString(): string source

Generates a description to be used when reporting this Activity.

Returns:

string