diff options
Diffstat (limited to 'e2e/src/app.po.ts')
-rw-r--r-- | e2e/src/app.po.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/e2e/src/app.po.ts b/e2e/src/app.po.ts new file mode 100644 index 0000000..82ea75b --- /dev/null +++ b/e2e/src/app.po.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { browser, by, element } from 'protractor'; | ||
2 | |||
3 | export class AppPage { | ||
4 | navigateTo() { | ||
5 | return browser.get('/'); | ||
6 | } | ||
7 | |||
8 | getParagraphText() { | ||
9 | return element(by.css('app-root h1')).getText(); | ||
10 | } | ||
11 | } | ||