socketio/socket.io

View on GitHub
examples/angular-todomvc/e2e/src/app.po.ts

Summary

Maintainability
A
2 hrs
Test Coverage
import { browser, by, element } from 'protractor';

export class AppPage {
  async navigateTo(): Promise<unknown> {
    return browser.get(browser.baseUrl);
  }

  async getTitleText(): Promise<string> {
    return element(by.css('app-root .content span')).getText();
  }
}