import { element, by, ElementFinder } from 'protractor';
import { P } from '../../common/world';

/**
 * Created by jludvice on 13.3.17.
 */
export class ConnectionDetailPage {
  connectionDetailElem(): ElementFinder {
    return element(by.css('syndesis-connection-view'));
  }

  connectionName(): P<string> {
    return this.connectionDetailElem().element(by.css('div.name > h2')).getText();
  }
}

import { element, by, ElementFinder } from 'protractor';
import { P } from '../../common/world';

/**
 * Created by jludvice on 13.3.17.
 */
export class ConnectionDetailPage {
  connectionDetailElem(): ElementFinder {
    return element(by.css('syndesis-connection-detail-info'));
  }

  connectionName(): P<string> {
    return this.connectionDetailElem().$('syndesis-editable-text').getText();
  }
}

Fix elements on Connection Detail page
fix: Fix elements on Connection Detail page
