Skip to content

Commit

Permalink
backport of commit 792eb3b (#26132)
Browse files Browse the repository at this point in the history
Co-authored-by: Noelle Daley <[email protected]>
  • Loading branch information
hc-github-team-secure-vault-core and Noelle Daley authored Mar 23, 2024
1 parent 314b34d commit 6f4631e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/tests/acceptance/clients/counts/overview-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ module('Acceptance | clients | overview | sync in license, activated', function
.dom(SELECTORS.charts.statTextValue('Secrets sync clients'))
.exists('shows secret sync data on overview');
await click(SELECTORS.tab('sync'));

assert.dom(SELECTORS.tab('sync')).hasClass('active');
assert.dom(SELECTORS.emptyStateTitle).doesNotExist();
assert
Expand Down Expand Up @@ -307,7 +308,6 @@ module('Acceptance | clients | overview | sync in license, not activated', funct
.dom(SELECTORS.charts.chart('Secrets sync usage'))
.doesNotExist('chart is hidden because feature is not activated');

assert.dom(SELECTORS.usageStats).exists();
assert.dom('[data-test-stat-text="secret-syncs"]').doesNotExist();
});
});
Expand All @@ -332,7 +332,6 @@ module('Acceptance | clients | overview | sync not in license', function (hooks)
test('it should hide secrets sync charts', async function (assert) {
assert.dom(SELECTORS.charts.chart('Secrets sync usage')).doesNotExist();

assert.dom(SELECTORS.usageStats).exists();
assert.dom('[data-test-stat-text="secret-syncs"]').doesNotExist();
});
});

0 comments on commit 6f4631e

Please sign in to comment.