mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
fix the tags spec playwright flaky test (#22605)
This commit is contained in:
parent
5d658444c1
commit
4b06ae3560
@ -554,19 +554,19 @@ test('Search tag using classification display name should work', async ({
|
||||
});
|
||||
|
||||
test('Verify system classification term counts', async ({ page }) => {
|
||||
// Navigate to tags page
|
||||
await sidebarClick(page, SidebarItem.TAGS);
|
||||
|
||||
// Wait for classifications to load with termCount field
|
||||
const classificationsResponse = page.waitForResponse(
|
||||
(response) =>
|
||||
response.url().includes('/api/v1/classifications') &&
|
||||
response.url().includes('fields=termCount')
|
||||
);
|
||||
|
||||
await sidebarClick(page, SidebarItem.TAGS);
|
||||
|
||||
await classificationsResponse;
|
||||
|
||||
// Wait a bit for the UI to update
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForSelector('[data-testid="side-panel-classification"]', {
|
||||
state: 'visible',
|
||||
});
|
||||
|
||||
// Get all classification elements
|
||||
const classificationElements = await page
|
||||
|
Loading…
x
Reference in New Issue
Block a user