Chore(UI): Fix advanced search playwright flakiness (#23176)

* Fix the flakiness in advanced search spec

* Add applications docs

* Fix the selection confirmation not working in case of custom property

* Fix the DataContract spec failure

* Fix the errors
This commit is contained in:
Aniket Katkar 2025-09-03 13:30:37 +05:30 committed by GitHub
parent e925e14edb
commit 44a39ed475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 8 deletions

View File

@ -323,7 +323,10 @@ export const checkMustPaths = async (
});
const searchRes = page.waitForResponse(
'/api/v1/search/query?*index=dataAsset&from=0&size=15*'
`/api/v1/search/query?*index=dataAsset&from=0&size=15*${getEncodedFqn(
searchData,
true
)}*`
);
await page.getByTestId('apply-btn').click();
@ -366,7 +369,10 @@ export const checkMustNotPaths = async (
});
const searchRes = page.waitForResponse(
'/api/v1/search/query?*index=dataAsset&from=0&size=15*'
`/api/v1/search/query?*index=dataAsset&from=0&size=15*${getEncodedFqn(
searchData,
true
)}*`
);
await page.getByTestId('apply-btn').click();
const res = await searchRes;
@ -406,7 +412,7 @@ export const checkNullPaths = async (
});
const searchRes = page.waitForResponse(
'/api/v1/search/query?*index=dataAsset&from=0&size=15*'
'/api/v1/search/query?*index=dataAsset&from=0&size=15*"exists"*'
);
await page.getByTestId('apply-btn').click();
const res = await searchRes;

View File

@ -17,6 +17,7 @@ import {
toastNotification,
visitOwnProfilePage,
} from './common';
import { waitForAllLoadersToDisappear } from './entity';
import { settingClick } from './sidebar';
export const navigateToCustomizeLandingPage = async (
@ -183,9 +184,7 @@ export const addCuratedAssetPlaceholder = async ({
});
await openAddCustomizeWidgetModal(page);
await page.locator('[data-testid="loader"]').waitFor({
state: 'detached',
});
await waitForAllLoadersToDisappear(page);
await page.locator('[data-testid="KnowledgePanel.CuratedAssets"]').click();

View File

@ -4,7 +4,7 @@ MCP Server app installs an embedded Model Context Protocol(MCP) server within Op
1. SSE : http[s]://openmetadata-host/mcp/sse
- This endpoint can be used by client if SSE transport is used.
- This endpoint can be used by client if Streamable-Http transport is used.
2. Streamable-Http : http[s]://openmetadata-host/mcp
@ -23,4 +23,4 @@ $$section
The allowed origin URI that clients must include in their Origin header when validation is enabled. Only requests from this URI will be accepted.
Example: `https://myapp.example.com`
$$
$$