fix(segmentation): Removed LOAD/hydrate button for segmentation overlays (#5214)
This commit is contained in:
1 parent
302705ea4d
commit
e0289dc49f
29 files changed
+95
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user