WaitUntil <Actual>
Hierarchy
- Interaction
- WaitUntil
Index
Methods
Constructors
Methods
instantiationLocation
Returns the location where this Activity was instantiated.
Returns FileSystemLocation
toString
Generates a human-friendly description to be used when reporting this Activity.
Note: When this activity is reported, token
#actor
in the description will be replaced with the name of the actor performing this Activity.For example,
#actor clicks on a button
becomesWendy clicks on a button
.Returns string
pollingEvery
Configure how frequently the Actor should check if the answer meets the expectation.
Note that the polling interval defines the delay between subsequent attempts to evaluate the expected value, and doesnโt include the amount of time it take the actor to evaluate the value itself.
Parameters
interval: Duration
Returns Interaction
performAs
Instructs the provided Actor to perform this Interaction.
Learn more
Parameters
actor: UsesAbilities & AnswersQuestions
Returns Promise<void>
Constructors
constructor
Type parameters
- Actual
Parameters
actual: Answerable<Actual>
expectation: Expectation<Actual>
pollingInterval: Duration
optionaltimeout: Duration
Returns WaitUntil<Actual>
Synchronisation statement that instructs the Actor to wait before proceeding until a given Expectation is met.
To instantiate interaction to WaitUntil, use the factory method Wait.until.
Learn more