Skip to content

Commit 12bb33e

Browse files
authored
Use sled instead of power shelf for sample fan query (#3426)
Give the people what they want!
1 parent 615ac0f commit 12bb33e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎app/pages/system/MetricsExplorer.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ import { pluralize } from '~/util/str'
7777

7878
const exampleItems: { label: string; value: string }[] = [
7979
{
80-
label: 'Power shelf fan speeds',
80+
label: 'Sled fan speeds',
8181
value: `get hardware_component:fan_speed
82-
| filter chassis_kind == 'power'
82+
| filter chassis_kind == 'sled'
8383
| filter timestamp > @now() - 1m`,
8484
},
8585
{

‎test/e2e/oxql.e2e.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ test('results list is virtualized', async ({ page }) => {
133133
})
134134

135135
test('picking an example populates the query and runs it', async ({ page }) => {
136-
await page.getByRole('button', { name: 'Power shelf fan speeds' }).click()
136+
await page.getByRole('button', { name: 'Sled fan speeds' }).click()
137137
// the editor is a contenteditable, so assert on text rather than value
138138
await expect(page.getByRole('textbox')).toContainText('get hardware_component:fan_speed')
139139

@@ -145,7 +145,7 @@ test('picking an example populates the query and runs it', async ({ page }) => {
145145
})
146146

147147
test('chart title opens timeseries docs', async ({ page }) => {
148-
await page.getByRole('button', { name: 'Power shelf fan speeds' }).click()
148+
await page.getByRole('button', { name: 'Sled fan speeds' }).click()
149149
await page
150150
.getByRole('button', { name: 'hardware_component:fan_speed details' })
151151
.first()

0 commit comments

Comments
 (0)