mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-10 16:25:37 +00:00
Minor: fix the flaky tag spec playwright failure (#23726)
This commit is contained in:
parent
d45aec1f93
commit
018623cdfc
@ -594,7 +594,12 @@ test('Verify system classification term counts', async ({ page }) => {
|
|||||||
.locator('[data-testid="side-panel-classification"]')
|
.locator('[data-testid="side-panel-classification"]')
|
||||||
.filter({ hasText: 'Tier' });
|
.filter({ hasText: 'Tier' });
|
||||||
|
|
||||||
await expect(tierElement.getByTestId('filter-count')).toContainText('5');
|
const tierCountText = await tierElement
|
||||||
|
.getByTestId('filter-count')
|
||||||
|
.textContent();
|
||||||
|
const tierCount = parseInt(tierCountText?.trim() || '0');
|
||||||
|
|
||||||
|
expect(tierCount).toBeGreaterThanOrEqual(5);
|
||||||
|
|
||||||
const piiElement = page
|
const piiElement = page
|
||||||
.locator('[data-testid="side-panel-classification"]')
|
.locator('[data-testid="side-panel-classification"]')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user