diff --git a/ui/app/components/sidebar/nav/cluster.hbs b/ui/app/components/sidebar/nav/cluster.hbs index 9566215d52..bdf32e2c93 100644 --- a/ui/app/components/sidebar/nav/cluster.hbs +++ b/ui/app/components/sidebar/nav/cluster.hbs @@ -16,7 +16,7 @@ {{#if (has-permission "access")}} diff --git a/ui/lib/sync/addon/components/sync-header.hbs b/ui/lib/sync/addon/components/sync-header.hbs index b24a697e39..763d349899 100644 --- a/ui/lib/sync/addon/components/sync-header.hbs +++ b/ui/lib/sync/addon/components/sync-header.hbs @@ -17,6 +17,9 @@ {{#if this.version.isCommunity}} {{/if}} + {{#if this.version.isEnterprise}} + + {{/if}} diff --git a/ui/tests/integration/components/sync/secrets/page/destinations-test.js b/ui/tests/integration/components/sync/secrets/page/destinations-test.js index 4c1abbc6a3..e9f880af15 100644 --- a/ui/tests/integration/components/sync/secrets/page/destinations-test.js +++ b/ui/tests/integration/components/sync/secrets/page/destinations-test.js @@ -70,7 +70,7 @@ module('Integration | Component | sync | Page::Destinations', function (hooks) { test('it should render header and tabs', async function (assert) { await this.renderComponent(); assert.dom(breadcrumb).includesText('Secrets Sync', 'Breadcrumb renders'); - assert.dom(title).hasText('Secrets Sync', 'Page title renders'); + assert.dom(title).hasText('Secrets Sync Beta', 'Page title renders'); assert.dom(tab('Overview')).exists('Overview tab renders'); assert.dom(tab('Destinations')).exists('Destinations tab renders'); }); diff --git a/ui/tests/integration/components/sync/secrets/page/overview-test.js b/ui/tests/integration/components/sync/secrets/page/overview-test.js index 860a185a1c..819d2679ae 100644 --- a/ui/tests/integration/components/sync/secrets/page/overview-test.js +++ b/ui/tests/integration/components/sync/secrets/page/overview-test.js @@ -60,13 +60,13 @@ module('Integration | Component | sync | Page::Overview', function (hooks) { test('it should render landing cta component for enterprise', async function (assert) { this.set('destinations', []); await settled(); - assert.dom(title).hasText('Secrets Sync', 'Page title renders'); + assert.dom(title).hasText('Secrets Sync Beta', 'Page title renders'); assert.dom(cta.button).hasText('Create first destination', 'CTA action renders'); assert.dom(cta.summary).exists('CTA renders'); }); test('it should render header, tabs and toolbar for overview state', async function (assert) { - assert.dom(title).hasText('Secrets Sync', 'Page title renders'); + assert.dom(title).hasText('Secrets Sync Beta', 'Page title renders'); assert.dom(breadcrumb).exists({ count: 1 }, 'Correct number of breadcrumbs render'); assert.dom(breadcrumb).includesText('Secrets Sync', 'Top level breadcrumb renders'); assert.dom(cta.button).doesNotExist('CTA does not render'); diff --git a/ui/tests/integration/components/sync/sync-header-test.js b/ui/tests/integration/components/sync/sync-header-test.js index c845fec356..263ada0919 100644 --- a/ui/tests/integration/components/sync/sync-header-test.js +++ b/ui/tests/integration/components/sync/sync-header-test.js @@ -41,11 +41,11 @@ module('Integration | Component | sync | SyncHeader', function (hooks) { test('it should just render title for enterprise version', async function (assert) { await this.renderComponent(); - assert.dom(title).hasText('Secrets Sync'); + assert.dom(title).hasText('Secrets Sync Beta'); }); test('it should render title and promotional enterprise badge for community version', async function (assert) { - this.version.type = null; + this.version.type = 'community'; await this.renderComponent(); assert.dom(title).hasText('Secrets Sync Enterprise feature'); });