mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 12:03:21 +00:00
fixing issue with non creatable objects previously showing styles tab in stacked plots, may be changed later?
This commit is contained in:
parent
199c7e0676
commit
6e1a511fea
@ -127,17 +127,30 @@ test.describe('Stacked Plot styling @a11y', () => {
|
||||
name: 'StackedPlot1'
|
||||
});
|
||||
|
||||
// Create two SWGs and attach them to the Stacked Plot
|
||||
// Create an overlay plots to hold the SWGs
|
||||
const overlayPlot1 = await createDomainObjectWithDefaults(page, {
|
||||
type: 'Overlay Plot',
|
||||
name: 'Overlay Plot 1',
|
||||
parent: stackedPlot.uuid
|
||||
});
|
||||
|
||||
const overlayPlot2 = await createDomainObjectWithDefaults(page, {
|
||||
type: 'Overlay Plot',
|
||||
name: 'Overlay Plot 2',
|
||||
parent: stackedPlot.uuid
|
||||
});
|
||||
|
||||
// Create two SWGs and attach them to the overlay plots
|
||||
await createDomainObjectWithDefaults(page, {
|
||||
type: 'Sine Wave Generator',
|
||||
name: 'Sine Wave Generator 1',
|
||||
parent: stackedPlot.uuid
|
||||
parent: overlayPlot1.uuid
|
||||
});
|
||||
|
||||
await createDomainObjectWithDefaults(page, {
|
||||
type: 'Sine Wave Generator',
|
||||
name: 'Sine Wave Generator 2',
|
||||
parent: stackedPlot.uuid
|
||||
parent: overlayPlot2.uuid
|
||||
});
|
||||
});
|
||||
|
||||
@ -180,7 +193,7 @@ test.describe('Stacked Plot styling @a11y', () => {
|
||||
setBorderColor,
|
||||
setBackgroundColor,
|
||||
setTextColor,
|
||||
page.getByLabel('Stacked Plot Item Sine Wave Generator 1')
|
||||
page.getByLabel('Stacked Plot Item Overlay Plot 1')
|
||||
);
|
||||
|
||||
await percySnapshot(page, `Edit Mode StackedPlot with Styled SWG (theme: '${theme}')`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user