angular4-testing/basic-cli/e2e/app.po.ts

12 lines
213 B
TypeScript
Raw Permalink Normal View History

2017-02-28 20:12:40 +01:00
import { browser, element, by } from 'protractor';
export class BasicCliPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}