mirror of
https://github.com/nasa/openmct.git
synced 2024-12-25 07:41:06 +00:00
unneeded
This commit is contained in:
parent
567ab8a581
commit
e2aff7b7a1
@ -26,7 +26,6 @@ Testsuite for plot autoscale.
|
|||||||
|
|
||||||
import { createDomainObjectWithDefaults } from '../../../../appActions.js';
|
import { createDomainObjectWithDefaults } from '../../../../appActions.js';
|
||||||
import { expect, test } from '../../../../pluginFixtures.js';
|
import { expect, test } from '../../../../pluginFixtures.js';
|
||||||
import { setUserDefinedMinAndMax, turnOffAutoscale } from './plotActions.js';
|
|
||||||
test.use({
|
test.use({
|
||||||
viewport: {
|
viewport: {
|
||||||
width: 1280,
|
width: 1280,
|
||||||
@ -62,9 +61,11 @@ test.describe('Autoscale', () => {
|
|||||||
await page.getByLabel('Edit Object').click();
|
await page.getByLabel('Edit Object').click();
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Config' }).click();
|
await page.getByRole('tab', { name: 'Config' }).click();
|
||||||
await turnOffAutoscale(page);
|
await page.getByRole('checkbox', { name: 'Auto scale' }).uncheck();
|
||||||
|
|
||||||
await setUserDefinedMinAndMax(page, '-2', '2');
|
await page.getByRole('spinbutton').first().fill(-2);
|
||||||
|
// set maximum value
|
||||||
|
await page.getByRole('spinbutton').nth(1).fill(2);
|
||||||
|
|
||||||
// save
|
// save
|
||||||
await page.click('button[title="Save"]');
|
await page.click('button[title="Save"]');
|
||||||
|
Loading…
Reference in New Issue
Block a user