X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fcommon%2Feliot-ui%2Ffrontend-src%2Fe2e%2Fsrc%2Fapp.po.ts;fp=blueprints%2Fcommon%2Feliot-ui%2Ffrontend-src%2Fe2e%2Fsrc%2Fapp.po.ts;h=5776aa9eb80d8e5ad05ed75ec9a04e7ee5060ba9;hb=a45c96e6ef35810d4803bad8d00e76258710eb5b;hp=0000000000000000000000000000000000000000;hpb=fd64df9852e4701aaa074676e35518f9b53d1b74;p=eliot.git diff --git a/blueprints/common/eliot-ui/frontend-src/e2e/src/app.po.ts b/blueprints/common/eliot-ui/frontend-src/e2e/src/app.po.ts new file mode 100644 index 0000000..5776aa9 --- /dev/null +++ b/blueprints/common/eliot-ui/frontend-src/e2e/src/app.po.ts @@ -0,0 +1,11 @@ +import { browser, by, element } from 'protractor'; + +export class AppPage { + navigateTo() { + return browser.get(browser.baseUrl) as Promise; + } + + getTitleText() { + return element(by.css('app-root h1')).getText() as Promise; + } +}