Skip to content

Commit

Permalink
replace dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker committed Jan 16, 2025
1 parent b098538 commit 9523300
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test('select value in single value select', async ({ gotoPanelEditPage }) => {
});

test('enter value in slider', async ({ gotoPanelEditPage }) => {
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'eda84f4d-0b3c-4e4d-815d-7fcb9aa702c2' }, id: '1' });
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'be6sir7o1iccgb' }, id: '1' });
const graphOptions = panelEdit.getCustomOptions('Graph styles');
const lineWith = graphOptions.getSliderInput('Line width');

Expand All @@ -98,7 +98,7 @@ test('enter value in slider', async ({ gotoPanelEditPage }) => {
});

test('enter value in number input', async ({ gotoPanelEditPage }) => {
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'eda84f4d-0b3c-4e4d-815d-7fcb9aa702c2' }, id: '1' });
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'be6sir7o1iccgb' }, id: '1' });
const graphOptions = panelEdit.getCustomOptions('Axis');
const lineWith = graphOptions.getNumberInput('Soft min');

Expand All @@ -121,7 +121,7 @@ test('select color in color picker', async ({ gotoPanelEditPage, grafanaVersion,
});

test('select unit in unit picker', async ({ gotoPanelEditPage }) => {
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'eda84f4d-0b3c-4e4d-815d-7fcb9aa702c2' }, id: '1' });
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'be6sir7o1iccgb' }, id: '1' });
const standardOptions = panelEdit.getStandardOptions();
const unitPicker = standardOptions.getUnitPicker('Unit');

Expand All @@ -133,7 +133,7 @@ test('select unit in unit picker', async ({ gotoPanelEditPage }) => {
test('select timezone in timezone picker', async ({ gotoPanelEditPage, grafanaVersion }) => {
test.skip(lte(grafanaVersion, '9.1.0'), 'This feature is only available starting from Grafana 9.1.0');

const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'eda84f4d-0b3c-4e4d-815d-7fcb9aa702c2' }, id: '1' });
const panelEdit = await gotoPanelEditPage({ dashboard: { uid: 'be6sir7o1iccgb' }, id: '1' });
const axisOptions = panelEdit.getCustomOptions('Axis');
const timeZonePicker = axisOptions.getSelect('Time zone');

Expand Down

0 comments on commit 9523300

Please sign in to comment.