PLAYWRIGHT: unskip lineage pending test (#22590)

* unskip lineage pending test

* added networkidle for new node search selector click initially
This commit is contained in:
Ashish Gupta 2025-07-28 11:26:30 +05:30 committed by GitHub
parent 54dcdc7d82
commit 5d658444c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -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(

View File

@ -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&*`
);