aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/app.po.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-16 19:59:21 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 10:55:50 +0200
commit74af5a8361f4ccb460001706ce249d50c747f361 (patch)
tree4e077f14a6c604799b15fdbea98a2d8c8bdc7576 /client/e2e/src/app.po.ts
parent6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (diff)
downloadPeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.gz
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.zst
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.zip
Client E2E tests first step
Diffstat (limited to 'client/e2e/src/app.po.ts')
-rw-r--r--client/e2e/src/app.po.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/e2e/src/app.po.ts b/client/e2e/src/app.po.ts
new file mode 100644
index 000000000..e3e293d7b
--- /dev/null
+++ b/client/e2e/src/app.po.ts
@@ -0,0 +1,12 @@
1import { browser, by, element } from 'protractor'
2
3export 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}