mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
test(ui): show parameter controls in the narrow viewport capture
This commit is contained in:
1 parent
c9be877f9c
commit
2001df04e2
1 file changed
+6
@@ -148,6 +148,12 @@ try {
|
||||
document.getElementById('left-panel-stack')?.dataset.layoutMode ===
|
||||
'mobile',
|
||||
);
|
||||
await page.evaluate(() => {
|
||||
const slider =
|
||||
window.__godsEyeView.styleManager._sliderContainer.querySelector('input');
|
||||
slider.focus();
|
||||
slider.scrollIntoView({ block: 'center', behavior: 'instant' });
|
||||
});
|
||||
await page.screenshot({ path: 'qa-shots/visual-input/narrow.png' });
|
||||
await page.evaluate(() => {
|
||||
const manager = window.__godsEyeView.styleManager;
|
||||
|
||||
Reference in new issue
Block a user