дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
test(e2e): wait for the File Structure dialog's settled width
Цей коміт міститься в:
1 джерело
331e5858e3
коміт
c2e2088ebf
1 file changed
+2
-1
@@ -45,7 +45,8 @@ test("File Structure keeps symbol filters readable at desktop and minimum window
|
||||
});
|
||||
expect(clipped).toEqual([]);
|
||||
}
|
||||
expect((await dialog.boundingBox())!.width).toBeCloseTo(540, 0);
|
||||
// The dialog scales in when it opens: wait for its settled width.
|
||||
await expect.poll(async () => Math.round((await dialog.boundingBox())!.width)).toBe(540);
|
||||
const field = dialog.getByRole("treeitem", { name: "orderCount" });
|
||||
await expect(field).toBeVisible();
|
||||
await fields.uncheck();
|
||||
|
||||
Reference in new issue
Заблокувати користувача