mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-10 22:46:07 +00:00
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:
parent
e925e14edb
commit
44a39ed475
@ -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;
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
@ -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`
|
||||
|
||||
$$
|
||||
$$
|
||||
Loading…
x
Reference in New Issue
Block a user