Class Test

Hierarchy

Index

Properties

Methods

Properties

public static adapter: Object

public testHelpers: {}

Methods

public click(selector: string): Promise

Parameters

  • selector: string

Returns

Promise

public fillin(selector: string, text: string): Promise

Parameters

  • selector: string
  • text: string

Returns

Promise

public find(selector: string): JQuery

Parameters

  • selector: string

Returns

JQuery

public findWithAssert(selector: string): JQuery

Parameters

  • selector: string

Returns

JQuery

public injectTestHelpers()

public keyEvent(selector: string, type: string, keyCode: number): Promise

Parameters

  • selector: string
  • type: string
  • keyCode: number

Returns

Promise

public static oninjectHelpers(callback: Function)

Parameters

  • callback: Function

public static promise(resolver: Function): Promise

Parameters

  • resolver: Function

Returns

Promise

public static registerHelper(name: string, helperMethod: Function)

Parameters

  • name: string
  • helperMethod: Function

public removeTestHelpers()

public setupForTesting()

public static unregisterHelper(name: string)

Parameters

  • name: string

public visit(url: string): Promise

Parameters

  • url: string

Returns

Promise

public wait(value: any): Promise

Parameters

  • value: any

Returns

Promise