arranbartish/angular-cli-widgets

View on GitHub
e2e/src/buttons.po.ts

Summary

Maintainability
A
0 mins
Test Coverage
import {browser, element, By} from 'protractor';

export class ButtonsPage {

  navigateTo() {
    return browser.get('/buttons');
  }

  primaryButtonElement() {
    const selector = 'primary-panel';
    return element(By.id(selector));
  }
}