Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 1 | import { browser, element, by } from 'protractor'; |
2 | |||||
3 | export class CatalogUiPage { | ||||
4 | navigateTo() { | ||||
5 | return browser.get('/'); | ||||
6 | } | ||||
7 | |||||
8 | getParagraphText() { | ||||
9 | return element(by.css('app-root h1')).getText(); | ||||
10 | } | ||||
11 | } |