fix(agent): improve model selector legibility
This commit is contained in:
@@ -29,6 +29,9 @@ test("assistant chat smoke after opt-in", async ({ page }) => {
|
||||
const modelSelector = page.getByRole("combobox", { name: "Assistant model" });
|
||||
await expect(modelSelector).toBeVisible();
|
||||
await expect.poll(() => modelSelector.evaluate((node) => node.tagName)).toBe("SELECT");
|
||||
await expect
|
||||
.poll(() => modelSelector.evaluate((node) => node.getBoundingClientRect().height))
|
||||
.toBeGreaterThanOrEqual(36);
|
||||
|
||||
await page.getByLabel("Message for Assistant").fill("hello assistant");
|
||||
await page.getByRole("button", { name: "Send" }).click();
|
||||
|
||||
Reference in New Issue
Block a user