test(segmentation): switch getSegmentCount to expect(rows).toHaveCount in panel specs (#6105)
This commit is contained in:
1 parent
8f6947b75d
commit
95200ec6e8
5 files changed
+24
-28
No files matched your search
@@ -23,7 +23,8 @@ test.beforeEach(
|
||||
);
|
||||
|
||||
test('should list segments in side panel for 3D only view', async ({ rightPanelPageObject }) => {
|
||||
const numberOfSegments =
|
||||
await rightPanelPageObject.labelMapSegmentationPanel.panel.getSegmentCount();
|
||||
expect(numberOfSegments, 'The side panel should list 13 segments for the 3D only view.').toBe(13);
|
||||
await expect(
|
||||
rightPanelPageObject.labelMapSegmentationPanel.panel.rows,
|
||||
'The side panel should list 13 segments for the 3D only view.'
|
||||
).toHaveCount(13);
|
||||
});
|
||||
Reference in new issue
Block a user