1
0
mirror of synced 2025-12-25 11:03:37 -05:00

Change title for admin product from "GitHub Enterprise" back to "Enterprise administrators" (#20089)

This commit is contained in:
Matt Pollard
2021-06-24 08:15:42 +02:00
committed by GitHub
parent aaf22169a2
commit 4e99bceff3
4 changed files with 5 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ describe('header', () => {
const ghe = $(`#homepages a[href="/en/enterprise-server@${latest}/admin"]`)
expect(ghe.length).toBe(1)
expect(ghe.text().trim()).toBe('GitHub Enterprise')
expect(ghe.text().trim()).toBe('Enterprise administrators')
expect(ghe.attr('class').includes('active')).toBe(false)
})

View File

@@ -16,7 +16,7 @@ describe('sidebar', () => {
test('highlights active product on Enterprise pages', async () => {
expect($enterprisePage('.sidebar-products li.sidebar-product').length).toBe(1)
expect($enterprisePage('.sidebar-products li.sidebar-product > a').text().trim()).toBe('GitHub Enterprise')
expect($enterprisePage('.sidebar-products li.sidebar-product > a').text().trim()).toBe('Enterprise administrators')
})
test('highlights active product on GitHub pages', async () => {