HEL-665: prioritize media inputs and keep short-window result actions visible
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -470,6 +470,16 @@ try {
|
||||
);
|
||||
});
|
||||
ok(`entire video, playback and generate visible at ${width}x${height}`, visible);
|
||||
ok(
|
||||
`result operations remain fully visible at ${width}x${height}`,
|
||||
await page.evaluate(() => {
|
||||
const body = document.querySelector('.inspector.main .body').getBoundingClientRect();
|
||||
return [...document.querySelectorAll('.inspector.main .actions .a-btn')].every((e) => {
|
||||
const r = e.getBoundingClientRect();
|
||||
return r.bottom <= body.bottom + 1 && r.bottom <= innerHeight;
|
||||
});
|
||||
}),
|
||||
);
|
||||
await page.screenshot({ path: SHOTS + `/workspace-${width}x${height}.png` });
|
||||
await page.locator('.model-selector').click();
|
||||
await page.locator('.tool-picker').waitFor();
|
||||
|
||||
Reference in New Issue
Block a user