test: wait for resized grid geometry

This commit is contained in:
Thomas Camlong committed 2026-08-02 19:27:09 +02:00
1 parent 8f0c9435ff
commit 5c9fd28ae1
1 file changed
+2
+2
View File
@@ -1893,6 +1893,8 @@ const dragLocatorToImmediateReleaseAsync = async (
};
const resizeLocatorByImmediateReleaseAsync = async (page: Page, handle: Locator, deltaX: number, deltaY: number) => {
const entry = await getGridEntryLocatorAsync(handle);
await expectGridEntryGeometrySettledAsync(entry);
const box = await expectBoundingBoxAsync(handle);
const start = { x: box.x + box.width / 2, y: box.y + box.height / 2 };
await page.mouse.move(start.x, start.y);