susper.com/e2e/app.po.ts
Nikhil Rayaprolu a9d7fb4223 initialising the angular project (#50)
* initialised angular2 project

* Deleting old files

* deploying to travis

* fixing the travis errors

* fixing the travis errors

* fixing the travis errors

* fixing the travis errors

* upgrading to newer version of angular-cli

* resolving travis errors

* resolving test errors in travis
2017-01-18 00:14:42 +01:00

11 lines
211 B
TypeScript
Executable file

import { browser, element, by } from 'protractor';
export class SusperPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}