mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 05:46:12 +02:00
🐛 Fix flakiness of visual workspace test (assets tab)
This commit is contained in:
parent
1ca751bc42
commit
3a34eb1357
2 changed files with 6 additions and 2 deletions
|
@ -91,11 +91,14 @@ test.describe("Assets tab", () => {
|
|||
await workspace.goToWorkspace();
|
||||
await workspace.clickAssets();
|
||||
await workspace.openLibrariesModal();
|
||||
|
||||
await expect(workspace.page).toHaveScreenshot();
|
||||
|
||||
await workspace.clickLibrary("Testing library 1");
|
||||
|
||||
await expect(
|
||||
workspace.librariesModal.getByText(
|
||||
"There are no Shared Libraries available",
|
||||
),
|
||||
).toBeVisible();
|
||||
await expect(workspace.page).toHaveScreenshot();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue