cloudfoundry-incubator/stratos

View on GitHub
src/test-e2e/application/po/card-app-usage.po.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { by, element, ElementFinder } from 'protractor';

import { MetaCard, MetaCardTitleType } from '../../po/meta-card.po';


export class CardAppUsage extends MetaCard {

  constructor(locator: ElementFinder = element(by.css('app-card-app-usage'))) {
    super(locator, MetaCardTitleType.MAT_CARD);
  }

  getUsageTable(): ElementFinder {
    return this.locator.element(by.css('.instances__detail'));
  }

}