Skip to content

Commit

Permalink
Usage -> Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Oct 23, 2023
1 parent c39a5c0 commit 728884c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/pages/system/UtilizationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ export function SystemUtilizationPage() {
<Tabs.Root defaultValue="metrics" className="full-width">
<Tabs.List>
<Tabs.Trigger value="metrics">Metrics</Tabs.Trigger>
<Tabs.Trigger value="usage">Usage</Tabs.Trigger>
<Tabs.Trigger value="summary">Summary</Tabs.Trigger>
</Tabs.List>
<Tabs.Content value="metrics">
<MetricsTab capacity={capacity} silos={silos} />
</Tabs.Content>
<Tabs.Content value="usage">
<Tabs.Content value="summary">
<UsageTab silos={silos} />
</Tabs.Content>
</Tabs.Root>
Expand Down
2 changes: 1 addition & 1 deletion app/test/e2e/utilization.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.describe('System utilization', () => {

test('Table view', async ({ page }) => {

Check warning on line 33 in app/test/e2e/utilization.e2e.ts

View workflow job for this annotation

GitHub Actions / ci

Test has no assertions
await page.goto('/system/utilization')
await page.getByRole('tab', { name: 'Usage' }).click()
await page.getByRole('tab', { name: 'Summary' }).click()

const statCells = {
CPU: expect.stringMatching(/^\d+$/),
Expand Down

0 comments on commit 728884c

Please sign in to comment.