TestSessionController
Drives a TestSession state and progress in tests.
Use setState, succeed, fail, or cancel to force transitions directly. Scripted transitions configured via TestSessionScript are applied when the session methods are invoked, including via await() or Session.TerminalStateListener.bind.
Properties
Link copied to clipboard
Number of times Session.cancel has been invoked.
Link copied to clipboard
Number of times Session.commit has been invoked.
Link copied to clipboard
Number of times Session.launch has been invoked.
Functions
Link copied to clipboard
Marks the session as cancelled.
Link copied to clipboard
Resets launch/commit/cancel invocation counters.
Link copied to clipboard
Updates session progress, if supported.
Link copied to clipboard
Sets the current state of the session.
Link copied to clipboard
Marks the session as succeeded.