Skip to content

Commit e7d7d95

Browse files
authored
Take capacity out of silo utilization page title (#2275)
take capacity out of utilization page title
1 parent e6e3e17 commit e7d7d95

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

app/pages/SiloUtilizationPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function SiloUtilizationPage() {
7373
return (
7474
<>
7575
<PageHeader>
76-
<PageTitle icon={<Metrics24Icon />}>Capacity &amp; Utilization</PageTitle>
76+
<PageTitle icon={<Metrics24Icon />}>Utilization</PageTitle>
7777
<DocsPopover
7878
heading="utilization"
7979
icon={<Metrics16Icon />}

test/e2e/utilization.e2e.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,15 @@ test.describe('System utilization', () => {
9090
test.describe('Silo utilization', () => {
9191
test('works for fleet viewer', async ({ page }) => {
9292
await page.goto('/utilization')
93-
await expect(
94-
page.getByRole('heading', { name: 'Capacity & Utilization' })
95-
).toBeVisible()
93+
await expect(page.getByRole('heading', { name: 'Utilization' })).toBeVisible()
9694
// Capacity bars are showing up
9795
await expect(page.getByText('Provisioned234 GiB')).toBeVisible()
9896
})
9997

10098
test('works for dev user', async ({ browser }) => {
10199
const page = await getPageAsUser(browser, 'Hans Jonas')
102100
await page.goto('/utilization')
103-
await expect(
104-
page.getByRole('heading', { name: 'Capacity & Utilization' })
105-
).toBeVisible()
101+
await expect(page.getByRole('heading', { name: 'Utilization' })).toBeVisible()
106102
// Capacity bars are showing up
107103
await expect(page.getByText('Provisioned234 GiB')).toBeVisible()
108104
})

test/e2e/z-index.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { expectObscured, stopInstance } from './utils'
1212
test('Dropdown content can scroll off page and doesn’t hide TopBar', async ({ page }) => {
1313
// load the page
1414
await page.goto('/utilization')
15-
await expect(page.getByText('Capacity & Utilization')).toBeVisible()
15+
await expect(page.getByRole('heading', { name: 'Utilization' })).toBeVisible()
1616

1717
const button = page.getByRole('button', { name: 'All projects' })
1818

0 commit comments

Comments
 (0)