mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-10 08:21:09 +02:00
* params * fix tests * role-pki to pki-role * role-pki-edit to pki/role-pki-edit * configure-pki-secret component * config-pki and config-pki-ca components * fix tests * pki-cert-show and pki-cert-popup * fix
15 lines
525 B
JavaScript
15 lines
525 B
JavaScript
import { create, visitable, collection } from 'ember-cli-page-object';
|
|
|
|
import { getter } from 'ember-cli-page-object/macros';
|
|
import ConfigPKI from 'vault/tests/pages/components/pki/config-pki';
|
|
|
|
export default create({
|
|
visit: visitable('/vault/settings/secrets/configure/:backend/:section'),
|
|
form: ConfigPKI,
|
|
lastMessage: getter(function () {
|
|
const count = this.flashMessages.length;
|
|
return this.flashMessages.objectAt(count - 1).text;
|
|
}),
|
|
flashMessages: collection('[data-test-flash-message-body]'),
|
|
});
|