1
0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-08-16 04:56:44 +02:00

🐛 Fix flakiness of playwright test for bug 10090 ()

This commit is contained in:
Belén Albeza 2025-02-06 12:12:29 +01:00 committed by GitHub
commit e78100a776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,8 +60,8 @@ test("BUG 10090 - Local library should be expanded by default", async ({
await workspacePage.clickAssets();
expect(workspacePage.sidebar.getByText("Local library")).toBeVisible();
expect(workspacePage.sidebar.getByText("Components")).toBeVisible();
expect(workspacePage.sidebar.getByText("Colors")).toBeVisible();
expect(workspacePage.sidebar.getByText("Typographies")).toBeVisible();
await expect(workspacePage.sidebar.getByText("Local library")).toBeVisible();
await expect(workspacePage.sidebar.getByText("Components")).toBeVisible();
await expect(workspacePage.sidebar.getByText("Colors")).toBeVisible();
await expect(workspacePage.sidebar.getByText("Typographies")).toBeVisible();
});