mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
* first round, there shall be more * fix secret test * more clean up * maybe last round of clean up? * this is going to take a while * all the things or more of them at least * this is the song that never ends... * ... it goes on and on my friend. * clean up clean up everybody lets clean up * rename mount helper to mountBackend * clean up 🧹 * address pr comments --------- Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { create, visitable } from 'ember-cli-page-object';
|
|
import flashMessages from '../../components/flash-message';
|
|
import { mountBackend } from 'vault/tests/helpers/components/mount-backend-form-helpers';
|
|
|
|
export default create({
|
|
visit: visitable('/vault/settings/auth/enable'),
|
|
flash: flashMessages,
|
|
enable: async function (type, path) {
|
|
await this.visit();
|
|
await mountBackend(type, path);
|
|
},
|
|
});
|