2018-01-16 10:09:59 -05:00
|
|
|
import { browser, by, element } from 'protractor';
|
|
|
|
|
|
|
|
export class AppPage {
|
|
|
|
navigateTo() {
|
|
|
|
return browser.get('/');
|
|
|
|
}
|
|
|
|
|
|
|
|
getParagraphText() {
|
|
|
|
return element(by.css('app-root h1')).getText();
|
|
|
|
}
|
2018-04-24 14:30:23 -04:00
|
|
|
|
|
|
|
getPipeContent() {
|
|
|
|
return element(by.css('app-root p')).getText();
|
|
|
|
}
|
2018-01-16 10:09:59 -05:00
|
|
|
}
|