e2e/src/streams/streams.po.ts
E2E Page Object for streams page.
Methods |
getHeaderText |
getHeaderText()
|
Defined in e2e/src/streams/streams.po.ts:23
|
Retrieves text of the title for the page.
Returns :
any
|
navigateTo |
navigateTo()
|
Defined in e2e/src/streams/streams.po.ts:14
|
Navigates to the streams/definitions page.
Returns :
any
|
import { browser, by, element } from 'protractor';
/**
* E2E Page Object for streams page.
*
* @author Glenn Renfro
*/
export class StreamsPage {
/**
* Navigates to the streams/definitions page.
* @returns {wdpromise.Promise<any>}
*/
navigateTo() {
browser.waitForAngularEnabled(false);
return browser.get('#/streams/definitions');
}
/**
* Retrieves text of the title for the page.
* @returns {any}
*/
getHeaderText() {
return element(by.css('≈')).getText();
}
}