Skip to content

Commit

Permalink
tests: remove incorrect dom assertion (#26131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noelle Daley authored Mar 23, 2024
1 parent 49014b2 commit 792eb3b
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 792eb3b

Please sign in to comment.