test: wait for resized grid geometry

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-14 11:07:07 +02:00
1 parent 65da74858b
commit 498481d539
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);