summaryrefslogtreecommitdiffstats
path: root/catalog-ui/e2e/app.po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/e2e/app.po.ts')
-rw-r--r--catalog-ui/e2e/app.po.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/catalog-ui/e2e/app.po.ts b/catalog-ui/e2e/app.po.ts
new file mode 100644
index 0000000000..8084cae329
--- /dev/null
+++ b/catalog-ui/e2e/app.po.ts
@@ -0,0 +1,11 @@
+import { browser, element, by } from 'protractor';
+
+export class CatalogUiPage {
+ navigateTo() {
+ return browser.get('/');
+ }
+
+ getParagraphText() {
+ return element(by.css('app-root h1')).getText();
+ }
+}