mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
test(control-ui): skip responsive browser layout without chromium
This commit is contained in:
@@ -13,6 +13,7 @@ const VIEWPORTS = [
|
||||
[1440, 900],
|
||||
] as const;
|
||||
const TOUCH_TARGET_MIN_PX = 43.5;
|
||||
const describeBrowserLayout = existsSync(chromium.executablePath()) ? describe : describe.skip;
|
||||
|
||||
let browser: Browser;
|
||||
|
||||
@@ -228,7 +229,7 @@ afterAll(async () => {
|
||||
await browser.close();
|
||||
});
|
||||
|
||||
describe("chat responsive browser layout", () => {
|
||||
describeBrowserLayout("chat responsive browser layout", () => {
|
||||
it.each([
|
||||
[1120, 740],
|
||||
[1366, 900],
|
||||
|
||||
Reference in New Issue
Block a user