diff --git a/frontend/playwright.config.js b/frontend/playwright.config.js index 4c8b68424..f062238f2 100644 --- a/frontend/playwright.config.js +++ b/frontend/playwright.config.js @@ -18,7 +18,7 @@ export default defineConfig({ /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: process.env.CI ? 4 : undefined, + workers: process.env.CI ? 1 : 1, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: "html", /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ diff --git a/frontend/playwright/ui/specs/workspace.spec.js b/frontend/playwright/ui/specs/workspace.spec.js index 3f97aad90..b3b9981e5 100644 --- a/frontend/playwright/ui/specs/workspace.spec.js +++ b/frontend/playwright/ui/specs/workspace.spec.js @@ -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"); });