open-vault/ui/tests/pages/secrets/backends.js
Matthew Irish d509588cd2
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00

16 lines
559 B
JavaScript

import { create, visitable, collection, clickable, text } from 'ember-cli-page-object';
import uiPanel from 'vault/tests/pages/components/console/ui-panel';
export default create({
console: uiPanel,
consoleToggle: clickable('[data-test-console-toggle]'),
visit: visitable('/vault/secrets'),
rows: collection('[data-test-secret-backend-row]', {
path: text('[data-test-secret-path]'),
menu: clickable('[data-test-popup-menu-trigger]'),
}),
configLink: clickable('[data-test-engine-config]', {
testContainer: '#ember-testing',
}),
});