Interface TestCase

Index

Construct signatures

Properties

Methods

Construct signatures

constructor(template: Object): TestCase

Parameters

  • template: Object

Returns

TestCase

Properties

public DEFAULT_WAIT: number

Methods

public assert(condition: boolean, message: string)

Parameters

  • condition: boolean
  • message: string

public callback(args?: Array<any>): Function

Parameters

  • args?: Array<any> optional

Returns

Function

public destroy()

public fail(message?: string)

Parameters

  • message?: string optional

public init()

public resume(segment?: Function)

Parameters

  • segment?: Function optional

public setUp()

public tearDown()

public wait(segment?: Function, delay?: number)

Parameters

  • segment?: Function optional
  • delay?: number optional

public waitFor(condition: Function, segment: Function, timeout?: number, increment?: number)

Parameters

  • condition: Function
  • segment: Function
  • timeout?: number optional
  • increment?: number optional