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