0f55527d6a
Also: Set linting output to "stylish" (more readable error messages in terminal output) Remove 2nd linting output rename "appOsPerms" to just "osPerms" including filename and classname rename all selectors from "app" to "os"
12 lines
223 B
TypeScript
12 lines
223 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class AppPage {
|
|
navigateTo() {
|
|
return browser.get('/');
|
|
}
|
|
|
|
getParagraphText() {
|
|
return element(by.css('os-root h1')).getText();
|
|
}
|
|
}
|