2018-05-23 16:25:52 +00:00
|
|
|
import { create, visitable, collection, clickable, text } from 'ember-cli-page-object';
|
2018-06-01 22:18:31 +00:00
|
|
|
import uiPanel from 'vault/tests/pages/components/console/ui-panel';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
|
|
|
export default create({
|
2018-06-01 22:18:31 +00:00
|
|
|
console: uiPanel,
|
|
|
|
consoleToggle: clickable('[data-test-console-toggle]'),
|
2018-04-03 14:16:57 +00:00
|
|
|
visit: visitable('/vault/secrets'),
|
2018-09-25 16:28:26 +00:00
|
|
|
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',
|
2018-04-03 14:16:57 +00:00
|
|
|
}),
|
2018-11-07 19:25:35 +00:00
|
|
|
disableButton: clickable('[data-test-confirm-action-trigger]', {
|
|
|
|
testContainer: '#ember-testing',
|
|
|
|
}),
|
|
|
|
confirmDisable: clickable('[data-test-confirm-button]', {
|
|
|
|
testContainer: '#ember-testing',
|
|
|
|
}),
|
2018-04-03 14:16:57 +00:00
|
|
|
});
|