fix(segmentation): Removed LOAD/hydrate button for segmentation overlays (#5214)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2025-07-15 09:02:36 -04:00
1 parent 302705ea4d
commit e0289dc49f
29 files changed
+95 -7

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { Page } from '@playwright/test';
import { expect } from 'playwright-test-coverage';
/**
* Asserts the number of Modality Load Badges present on the page.
*/
export async function assertNumberOfModalityLoadBadges({
page,
expectedCount,
}: {
page: Page;
expectedCount: number;
}) {
await expect(page.locator('css=div[data-cy^="ModalityLoadBadge-"]')).toHaveCount(expectedCount);
}