Page object representing a SCM change tree item

Hierarchy (view full)

Constructors

Properties

action$: ChainablePromiseElement<Element>
action$$: ChainablePromiseArray<Element[]>
actionConstructor$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseElement<Element>

actionConstructor$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseArray<Element[]>

changeCount$: ChainablePromiseElement<Element>
changeCount$$: ChainablePromiseArray<Element[]>
changeDesc$: ChainablePromiseElement<Element>
changeDesc$$: ChainablePromiseArray<Element[]>
changeItem$: ChainablePromiseElement<Element>
changeItem$$: ChainablePromiseArray<Element[]>
changeLabel$: ChainablePromiseElement<Element>
changeLabel$$: ChainablePromiseArray<Element[]>
changeName$: ChainablePromiseElement<Element>
changeName$$: ChainablePromiseArray<Element[]>
changes$: ChainablePromiseElement<Element>
changes$$: ChainablePromiseArray<Element[]>
expand$: ChainablePromiseElement<Element>
expand$$: ChainablePromiseArray<Element[]>
initButton$: ChainablePromiseElement<Element>
initButton$$: ChainablePromiseArray<Element[]>
inputField$: ChainablePromiseElement<Element>
inputField$$: ChainablePromiseArray<Element[]>
itemIndex$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseElement<Element>

itemIndex$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseArray<Element[]>

itemLevel$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [level: number]

      Returns ChainablePromiseElement<Element>

itemLevel$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [level: number]

      Returns ChainablePromiseArray<Element[]>

more$: ChainablePromiseElement<Element>
more$$: ChainablePromiseArray<Element[]>
multiMore$: ChainablePromiseElement<Element>
multiMore$$: ChainablePromiseArray<Element[]>
multiProviderItem$: ChainablePromiseElement<Element>
multiProviderItem$$: ChainablePromiseArray<Element[]>
multiScmProvider$: ChainablePromiseElement<Element>
multiScmProvider$$: ChainablePromiseArray<Element[]>
provider: ScmProvider
providerHeader$: ChainablePromiseElement<Element>
providerHeader$$: ChainablePromiseArray<Element[]>
providerRelative$: ChainablePromiseElement<Element>
providerRelative$$: ChainablePromiseArray<Element[]>
providerTitle$: ChainablePromiseElement<Element>
providerTitle$$: ChainablePromiseArray<Element[]>
providerType$: ChainablePromiseElement<Element>
providerType$$: ChainablePromiseArray<Element[]>
resource$: ChainablePromiseElement<Element>
resource$$: ChainablePromiseArray<Element[]>
singleScmProvider$: ChainablePromiseElement<Element>
singleScmProvider$$: ChainablePromiseArray<Element[]>
stagedChanges$: ChainablePromiseElement<Element>
stagedChanges$$: ChainablePromiseArray<Element[]>

Accessors

  • get elem(): ChainablePromiseElement<Element>
  • Base element of given page object

    Returns ChainablePromiseElement<Element>

  • get parent(): ChainablePromiseElement<Element>
  • Parent element of given page object

    Returns ChainablePromiseElement<Element>

Methods

  • Find if the item is expanded

    Returns Promise<boolean>

    promise resolving to true if change is expanded, to false otherwise

  • Find and click an action button available to a given change tree item

    Parameters

    • title: string

      title of the action button (e.g 'Stage Changes')

    Returns Promise<boolean>

    promise resolving to true if the action was performed successfully, false if the given button does not exist

  • Expand or collapse a change item if possible, only works for folders in hierarchical view mode

    Parameters

    • expand: boolean

      true to expand the item, false to collapse

    Returns Promise<boolean>

    promise resolving to true if the item changed state, to false otherwise

Generated using TypeDoc