backport of commit 9290d5f18843f35bbab60c4030faf302f1c7f511 (#21429)

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-06-22 17:17:30 -04:00 committed by GitHub
parent 05abd2c888
commit cdd842289a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { create } from 'ember-cli-page-object';
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import { click, currentURL, fillIn, visit } from '@ember/test-helpers';
import { click, currentURL, fillIn, find, visit, waitUntil } from '@ember/test-helpers';
import authPage from 'vault/tests/pages/auth';
import consoleClass from 'vault/tests/pages/components/console/ui-panel';
@ -17,6 +17,7 @@ module('Acceptance | kv | breadcrumbs', function (hooks) {
await click('[data-test-secret-create]');
await fillIn('[data-test-secret-path]', 'foo/bar');
await click('[data-test-secret-save]');
await waitUntil(() => find('[data-test-secret-metadata-tab]'));
await click('[data-test-secret-metadata-tab]');
await click('[data-test-secret-breadcrumb="foo"]');
assert.strictEqual(