mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-28 02:53:11 +00:00
15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class FusePage
|
|
{
|
|
navigateTo(): Promise<any>
|
|
{
|
|
return browser.get('/') as Promise<any>;
|
|
}
|
|
|
|
getParagraphText(): Promise<string>
|
|
{
|
|
return element(by.css('app #main')).getText() as Promise<string>;
|
|
}
|
|
}
|