Backport UI fix auth list test (#24202)

This commit is contained in:
Chelsea Shaw 2023-11-20 13:54:49 -06:00 committed by GitHub
parent a73098c99e
commit 9639a44b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}`);
}); });
}); });