mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 20:17:00 +02:00
* remove expanding behavior from engines list and add a configuration route * use page header component, secret tab component for the template on the secret engine configuration route * move abstraction to secret-list-header and remove secret-tabs * add attrs to secret engine model and adjust mount controller code to support that * fix top level nav so that we can use the back button properly * fix tests
17 lines
492 B
JavaScript
17 lines
492 B
JavaScript
import { create, visitable, collection, clickable, text } from 'ember-cli-page-object';
|
|
|
|
export default create({
|
|
visit: visitable('/vault/secrets'),
|
|
rows: collection({
|
|
itemScope: '[data-test-secret-backend-row]',
|
|
item: {
|
|
path: text('[data-test-secret-path]'),
|
|
menu: clickable('[data-test-popup-menu-trigger]'),
|
|
},
|
|
findByPath(path) {
|
|
return this.toArray().findBy('path', path + '/');
|
|
},
|
|
}),
|
|
configLink: clickable('[data-test-engine-config]'),
|
|
});
|