mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
Backport UI fix auth list test (#24202)
This commit is contained in:
@@ -127,7 +127,7 @@ module('Acceptance | auth backend list', function (hooks) {
|
|||||||
|
|
||||||
test('enterprise: token config within namespace', async function (assert) {
|
test('enterprise: token config within namespace', async function (assert) {
|
||||||
const ns = 'ns-wxyz';
|
const ns = 'ns-wxyz';
|
||||||
await runCmd(`write sys/namespaces/${ns} -f`);
|
await consoleComponent.runCommands(`write sys/namespaces/${ns} -f`);
|
||||||
await authPage.loginNs(ns);
|
await authPage.loginNs(ns);
|
||||||
// go directly to token configure route
|
// go directly to token configure route
|
||||||
await visit('/vault/settings/auth/configure/token/options');
|
await visit('/vault/settings/auth/configure/token/options');
|
||||||
@@ -138,6 +138,6 @@ module('Acceptance | auth backend list', function (hooks) {
|
|||||||
assert
|
assert
|
||||||
.dom('[data-test-row-value="Description"]')
|
.dom('[data-test-row-value="Description"]')
|
||||||
.hasText('My custom description', 'description was saved');
|
.hasText('My custom description', 'description was saved');
|
||||||
await runCmd(`delete sys/namespaces/${ns}`);
|
await consoleComponent.runCommands(`delete sys/namespaces/${ns}`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user