Expect the Visual panel's name and its new order in the markup tests

The panel is headed VISUAL, and Clean UI now sits with the overlay
controls, above the Effects group.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-14 15:31:33 -08:00
1 parent 1003a3c79d
commit 81a18d327a
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -530,12 +530,12 @@ test('Cockpit owns a focused shared Display portal and compact Radio controls',
); );
}); });
test('Display orders 3D above Celestial, Clean UI below it, and Parameters below Detection', () => { test('Visual orders Parameters below Detection, 3D below them, and Clean UI above the Effects', () => {
const display = html.match(/id="pp-toggles"[\s\S]*?id="clean-view-exit"/); const display = html.match(/id="pp-toggles"[\s\S]*?id="clean-view-exit"/);
assert.ok(display, 'Display markup is missing'); assert.ok(display, 'Display markup is missing');
assert.match( assert.match(
display[0], display[0],
/id="detection-toggle"[\s\S]*?id="param-slider-panel"[\s\S]*?id="models3d-toggle"[\s\S]*?id="celestial-toggle"[\s\S]*?id="clean-view-toggle"/, /id="detection-toggle"[\s\S]*?id="param-slider-panel"[\s\S]*?id="models3d-toggle"[\s\S]*?id="scope-toggle"[\s\S]*?id="clean-view-toggle"[\s\S]*?class="pp-section-heading">Effects<[\s\S]*?id="celestial-toggle"/,
); );
assert.equal( assert.equal(
(html.match(/id="param-slider-panel"/g) || []).length, (html.match(/id="param-slider-panel"/g) || []).length,
+1 -1
View File
@@ -286,7 +286,7 @@ test('expanded right panels highlight the title divider without changing collaps
assert.match( assert.match(
html, html,
/class="compact pp-header-row"[\s\S]*?class="pp-header-label">DISPLAY<\/span>[\s\S]*?class="panel-divider"/, /class="compact pp-header-row"[\s\S]*?class="pp-header-label">VISUAL<\/span>[\s\S]*?class="panel-divider"/,
); );
assert.match( assert.match(
css, css,