Pauses further test execution for a while. It does not require any particular Abilities.

Hierarchy

  • Action
    • Sleep

Properties

Methods - Factory

Methods - Other

Methods - called internally

Properties

abilityAlias?: string
callStack?: CallStackInfo[]

Methods - Factory

  • Pause the execution of further test steps for a given interval in milliseconds.

    Parameters

    • ms: number

      interval in milliseconds.

    Returns Sleep

    new Sleep instance

    Example

    Sleep.for(5000);
    

Methods - Other

  • Parameters

    • entry: CallStackInfo

    Returns void

  • Parameters

    • calledWith: CallStackCalledWith

    Returns void

  • Set the alias which is used for an underlying ability

    Parameters

    • alias: undefined | string

      with which an ability was initialized

    Returns this

    current action

Methods - called internally

  • Pause the execution of further test steps for a given interval in milliseconds.

    Returns Promise<void>

    void

Generated using TypeDoc