fix: Broken test after recent organization avatar revamp (#13059)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Alex van Andel 2024-01-05 15:44:59 +00:00 committed by GitHub
parent 8856ba7d70
commit d56d649bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,3 @@
import { expect } from "@playwright/test";
import { test } from "./lib/fixtures";
test.describe.configure({ mode: "parallel" });
@ -19,6 +17,6 @@ test.describe("Teams", () => {
await page.goto("/settings/my-account/profile");
// check if user avatar is loaded
await expect(page.locator('[data-testid="organization-avatar"]')).toBeVisible();
await page.getByTestId("profile-upload-avatar").isVisible();
});
});