mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 08:50:18 +00:00
PLAYWRIGHT: unskip lineage pending test (#22590)
* unskip lineage pending test * added networkidle for new node search selector click initially
This commit is contained in:
parent
54dcdc7d82
commit
5d658444c1
@ -84,7 +84,7 @@ test.afterAll('Cleanup', async ({ browser }) => {
|
||||
for (const EntityClass of entities) {
|
||||
const defaultEntity = new EntityClass();
|
||||
|
||||
test.skip(`Lineage creation from ${defaultEntity.getType()} entity`, async ({
|
||||
test(`Lineage creation from ${defaultEntity.getType()} entity`, async ({
|
||||
browser,
|
||||
}) => {
|
||||
// 5 minutes to avoid test timeout happening some times in AUTs
|
||||
@ -102,6 +102,8 @@ for (const EntityClass of entities) {
|
||||
await currentEntity.visitEntityPageWithCustomSearchBox(page);
|
||||
await visitLineageTab(page);
|
||||
await verifyColumnLayerInactive(page);
|
||||
// enable fullscreen
|
||||
await page.getByTestId('full-screen').click();
|
||||
await editLineage(page);
|
||||
await performZoomOut(page);
|
||||
for (const entity of entities) {
|
||||
@ -121,7 +123,6 @@ for (const EntityClass of entities) {
|
||||
|
||||
// Check the Entity Drawer
|
||||
await performZoomOut(page);
|
||||
await page.getByTestId('full-screen').click();
|
||||
|
||||
for (const entity of entities) {
|
||||
const toNodeFqn = get(
|
||||
|
@ -198,6 +198,8 @@ export const connectEdgeBetweenNodes = async (
|
||||
|
||||
await page.locator('[data-testid="suggestion-node"]').dispatchEvent('click');
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
const waitForSearchResponse = page.waitForResponse(
|
||||
`/api/v1/search/query?q=*&from=0&size=10&*`
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user