mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
add a tags to breadcrumb test selectors (#24410)
This commit is contained in:
@@ -313,7 +313,7 @@ module('Acceptance | Enterprise | replication', function (hooks) {
|
||||
await settled();
|
||||
|
||||
// navigate using breadcrumbs back to replication.index
|
||||
await click('[data-test-replication-breadcrumb]');
|
||||
await click('[data-test-replication-breadcrumb] a');
|
||||
|
||||
assert
|
||||
.dom('[data-test-replication-summary-card]')
|
||||
|
||||
@@ -147,7 +147,7 @@ module('Acceptance | Enterprise | Transform secrets', function (hooks) {
|
||||
`/vault/secrets/${backend}/show/${transformationName}`,
|
||||
'redirects to show transformation page after submit'
|
||||
);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"]`);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"] a`);
|
||||
assert.strictEqual(
|
||||
currentURL(),
|
||||
`/vault/secrets/${backend}/list`,
|
||||
@@ -160,7 +160,7 @@ module('Acceptance | Enterprise | Transform secrets', function (hooks) {
|
||||
const backend = await mount();
|
||||
// create transformation without role
|
||||
await newTransformation(backend, 'a-transformation', true);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"]`);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"] a`);
|
||||
assert.strictEqual(
|
||||
currentURL(),
|
||||
`/vault/secrets/${backend}/list`,
|
||||
@@ -186,7 +186,7 @@ module('Acceptance | Enterprise | Transform secrets', function (hooks) {
|
||||
`/vault/secrets/${backend}/show/role/${roleName}`,
|
||||
'redirects to show role page after submit'
|
||||
);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"]`);
|
||||
await click(`[data-test-secret-breadcrumb="${backend}"] a`);
|
||||
assert.strictEqual(
|
||||
currentURL(),
|
||||
`/vault/secrets/${backend}/list?tab=role`,
|
||||
|
||||
Reference in New Issue
Block a user