Backport 1.15.x: Fix failing dashboard tests (#23567)

This commit is contained in:
Kianna
2023-10-10 17:35:12 -07:00
committed by GitHub
parent 301f3a7070
commit 8aacc95bc5

View File

@@ -111,7 +111,7 @@ module('Integration | Component | dashboard/overview', function (hooks) {
assert.dom(SELECTORS.cardName('client-count')).doesNotExist();
});
test('it should show client count and replication card on enterprise w/ license + namespace enabled', async function (assert) {
test('it should show client count on enterprise w/ license', async function (assert) {
this.version = this.owner.lookup('service:version');
this.version.version = '1.13.1+ent';
this.license = {
@@ -137,7 +137,6 @@ module('Integration | Component | dashboard/overview', function (hooks) {
assert.dom(SELECTORS.cardName('learn-more')).exists();
assert.dom(SELECTORS.cardName('quick-actions')).exists();
assert.dom(SELECTORS.cardName('configuration-details')).exists();
assert.dom(SELECTORS.cardName('replication')).exists();
assert.dom(SELECTORS.cardName('client-count')).exists();
});
@@ -164,7 +163,6 @@ module('Integration | Component | dashboard/overview', function (hooks) {
assert.dom(SELECTORS.cardName('learn-more')).exists();
assert.dom(SELECTORS.cardName('quick-actions')).exists();
assert.dom(SELECTORS.cardName('configuration-details')).exists();
assert.dom(SELECTORS.cardName('replication')).exists();
assert.dom(SELECTORS.cardName('client-count')).doesNotExist();
});