open-nomad/ui/tests/pages/components/gauge-chart.js

10 lines
233 B
JavaScript
Raw Normal View History

2020-05-11 23:58:17 +00:00
import { isPresent, text } from 'ember-cli-page-object';
export default scope => ({
scope,
svgIsPresent: isPresent('[data-test-gauge-svg]'),
label: text('[data-test-label]'),
percentage: text('[data-test-percentage]'),
});