open-vault/ui/tests/pages/metrics.js

13 lines
503 B
JavaScript
Raw Normal View History

2020-11-09 15:41:19 +00:00
import { create, visitable, fillable, clickable } from 'ember-cli-page-object';
export default create({
metrics: visitable('/vault/metrics'),
config: visitable('/vault/metrics/config'),
configEdit: visitable('/vault/metrics/edit'),
startInput: fillable('[data-test-start-input]'),
endInput: fillable('[data-test-end-input]'),
queryButton: clickable('[data-test-metrics-query]'),
configTab: clickable('[data-test-configuration-tab]'),
metricsTab: clickable('[data-test-usage-tab]'),
});