From 6f4631e83cdfcb5acd153755c59810b3b945fcf0 Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Fri, 22 Mar 2024 18:54:05 -0600 Subject: [PATCH] backport of commit 792eb3b8c314fc82b46883fcf61227687026829d (#26132) Co-authored-by: Noelle Daley --- ui/tests/acceptance/clients/counts/overview-test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/tests/acceptance/clients/counts/overview-test.js b/ui/tests/acceptance/clients/counts/overview-test.js index 17dc5d0a078b..2d136961a972 100644 --- a/ui/tests/acceptance/clients/counts/overview-test.js +++ b/ui/tests/acceptance/clients/counts/overview-test.js @@ -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 @@ -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(); }); }); @@ -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(); }); });