🐛 Fix workspace rect drawing test

This commit is contained in:
Belén Albeza 2024-05-13 17:17:16 +02:00
parent 677b28218e
commit 575873eba7
2 changed files with 3 additions and 3 deletions

View file

@ -35,6 +35,6 @@ test.skip("User draws a rect", async ({ page }) => {
await workspacePage.clickWithDragViewportAt(128, 128, 200, 100);
const shape = await workspacePage.rootShape.locator("rect");
expect(shape).toHaveAttribute("width", "200");
expect(shape).toHaveAttribute("height", "100");
await expect(shape).toHaveAttribute("width", "200");
await expect(shape).toHaveAttribute("height", "100");
});