feat: expand intelligent investigation workspace
This commit is contained in:
@@ -61,7 +61,6 @@ for (const width of [1440, 375]) for (const reduce of [false, true]) {
|
||||
await ui.getByRole("tab", { name: "数据", exact: true }).click();
|
||||
await expect(ui.getByRole("group", { name: "当前区间摘要" })).toHaveCount(0);
|
||||
await ui.getByRole("textbox", { name: /搜索节点17038/ }).fill("08:30");
|
||||
await ui.getByRole("checkbox", { name: "选择第 7 行", exact: true }).check();
|
||||
const line = ui.getByRole("tab", { name: "折线", exact: true });
|
||||
await line.focus();
|
||||
await page.keyboard.press("Enter");
|
||||
@@ -78,7 +77,6 @@ for (const width of [1440, 375]) for (const reduce of [false, true]) {
|
||||
await expect(plot).toBeFocused();
|
||||
await ui.getByRole("tab", { name: "数据", exact: true }).click();
|
||||
await expect(ui.getByRole("textbox", { name: /搜索节点17038/ })).toHaveValue("08:30");
|
||||
await expect(ui.getByRole("checkbox", { name: "选择第 7 行", exact: true })).toBeChecked();
|
||||
await line.click();
|
||||
await expect(content).toHaveCSS("opacity", "1");
|
||||
expect(await ui.evaluate((el) => el.scrollWidth > el.clientWidth)).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user