backport of commit 9290d5f18843f35bbab60c4030faf302f1c7f511 (#21429)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
This commit is contained in:
parent
05abd2c888
commit
cdd842289a
|
@ -1,7 +1,7 @@
|
||||||
import { create } from 'ember-cli-page-object';
|
import { create } from 'ember-cli-page-object';
|
||||||
import { module, test } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import { setupApplicationTest } from 'ember-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 authPage from 'vault/tests/pages/auth';
|
||||||
import consoleClass from 'vault/tests/pages/components/console/ui-panel';
|
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 click('[data-test-secret-create]');
|
||||||
await fillIn('[data-test-secret-path]', 'foo/bar');
|
await fillIn('[data-test-secret-path]', 'foo/bar');
|
||||||
await click('[data-test-secret-save]');
|
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-metadata-tab]');
|
||||||
await click('[data-test-secret-breadcrumb="foo"]');
|
await click('[data-test-secret-breadcrumb="foo"]');
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
|
|
Loading…
Reference in New Issue