mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-30 09:36:17 +00:00
fix(test): Failing testcase filters test in DataQualityAndProfiler.spec.ts (#24478)
This commit is contained in:
parent
c7d910a8f5
commit
848d30824f
@ -1230,6 +1230,25 @@ test('TestCase filters', PLAYWRIGHT_INGESTION_TAG_OBJ, async ({ page }) => {
|
|||||||
// Apply domain globally
|
// Apply domain globally
|
||||||
await page.getByTestId('domain-dropdown').click();
|
await page.getByTestId('domain-dropdown').click();
|
||||||
|
|
||||||
|
// Wait for the domain select dropdown to be visible
|
||||||
|
await page.waitForSelector('[data-testid="domain-selectable-tree"]', {
|
||||||
|
state: 'visible',
|
||||||
|
});
|
||||||
|
|
||||||
|
// Search for the domain and wait for API response
|
||||||
|
const domainSearchResponse = page.waitForResponse(
|
||||||
|
`/api/v1/search/query?q=*${encodeURIComponent(
|
||||||
|
domain.responseData.name
|
||||||
|
)}*&index=domain_search_index*`
|
||||||
|
);
|
||||||
|
|
||||||
|
await page
|
||||||
|
.getByTestId('domain-selectable-tree')
|
||||||
|
.getByTestId('searchbar')
|
||||||
|
.fill(domain.responseData.name);
|
||||||
|
|
||||||
|
await domainSearchResponse;
|
||||||
|
|
||||||
await page
|
await page
|
||||||
.getByTestId(`tag-${domain.responseData.fullyQualifiedName}`)
|
.getByTestId(`tag-${domain.responseData.fullyQualifiedName}`)
|
||||||
.click();
|
.click();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user