Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,7 @@ test.describe(
// DOMAIN TESTS
// ===================================================================

// eslint-disable-next-line playwright/no-skipped-test -- domain rename consolidation not yet stable
test.skip('Domain - rename then update description should work', async ({
test('Domain - rename then update description should work', async ({
page,
browser,
}) => {
Expand Down Expand Up @@ -699,8 +698,7 @@ test.describe(
}
});

// eslint-disable-next-line playwright/no-skipped-test -- domain rename consolidation not yet stable
test.skip('Domain - multiple rename + update cycles should work', async ({
test('Domain - multiple rename + update cycles should work', async ({
page,
browser,
}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ test.describe('Glossary Navigation', () => {
});

// UI-01: Empty glossary state (no terms)
// Skip: Test isolation issue - selectActiveGlossary not selecting the correct glossary
// eslint-disable-next-line playwright/no-skipped-test -- test isolation issue with selectActiveGlossary
test.skip('should show empty state when glossary has no terms', async ({
test('should show empty state when glossary has no terms', async ({
page,
}) => {
const { apiContext, afterAction } = await getApiContext(page);
Expand All @@ -243,8 +241,11 @@ test.describe('Glossary Navigation', () => {
await sidebarClick(page, SidebarItem.GLOSSARY);
await selectActiveGlossary(page, emptyGlossary.data.displayName);

// Verify empty state is shown (with default status filter active)
await expect(page.getByText('No Glossary Term found')).toBeVisible();
// A glossary with zero terms renders the empty-glossary placeholder, not
// the "No Glossary Term found" row that a non-matching status filter shows.
// GlossaryTermTab picks NO_DATA over CREATE here because glossaryTermStatus
// is null for a glossary (it only resolves to a status for a term).
await expect(page.getByTestId('no-data-placeholder')).toBeVisible();

// Verify add term button is available
await expect(page.getByTestId('add-new-tag-button-header')).toBeVisible();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,20 +329,6 @@ test.describe('Glossary Status Filter - Nested Terms', () => {
await verifyTermVisible(page, basicChild.data.displayName);
});

// Skip: Requires backend to return nested terms as flat results when filtered
// eslint-disable-next-line playwright/no-skipped-test -- requires backend flat result support
test.skip('filter by child status shows child as flat result even if parent does not match', async ({
page,
}) => {
await applyStatusFilter(page, ['Draft']);

// Parent has Approved status, should NOT be visible
await verifyTermNotVisible(page, basicParent.data.displayName);

// Child is Draft - it should appear as a flat result in the filtered view
await verifyTermVisible(page, basicChild.data.displayName);
});

test('filter shows parent when status matches and all children on expand', async ({
page,
}) => {
Expand Down Expand Up @@ -397,40 +383,6 @@ test.describe('Glossary Status Filter - Nested Terms', () => {
// Parent should be visible even though it's Draft (children loaded without filter)
await verifyTermVisible(page, multiParent.data.displayName);
});

// Skip: Requires backend to return nested terms as flat results when filtered
// eslint-disable-next-line playwright/no-skipped-test -- requires backend flat result support
test.skip('filter by middle level status shows nested term as flat result', async ({
page,
}) => {
await applyStatusFilter(page, ['Draft']);

// Parent has Draft status - should appear as flat result
await verifyTermVisible(page, multiParent.data.displayName);

// Grandparent is Approved, should NOT be visible with Draft filter
await verifyTermNotVisible(page, multiGrandparent.data.displayName);

// Child is In Review, should NOT be visible with Draft filter
await verifyTermNotVisible(page, multiChild.data.displayName);
});

// Skip: Requires backend to return nested terms as flat results when filtered
// eslint-disable-next-line playwright/no-skipped-test -- requires backend flat result support
test.skip('filter by leaf level status shows nested term as flat result', async ({
page,
}) => {
await applyStatusFilter(page, ['In Review']);

// Child has In Review status - should appear as flat result
await verifyTermVisible(page, multiChild.data.displayName);

// Grandparent is Approved, should NOT be visible
await verifyTermNotVisible(page, multiGrandparent.data.displayName);

// Parent is Draft, should NOT be visible
await verifyTermNotVisible(page, multiParent.data.displayName);
});
});

// ==================== SEARCH + STATUS FILTER TESTS ====================
Expand Down Expand Up @@ -512,8 +464,7 @@ test.describe('Glossary Status Filter - Nested Terms', () => {
});

// Skip: Requires re-filtering expanded state which isn't fully implemented

@gitar-bot gitar-bot Bot Aug 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Quality: Stale "Skip:" comment left above re-enabled test

The comment // Skip: Requires re-filtering expanded state which isn't fully implemented still sits directly above the now-enabled change filter while expanded updates visible root terms test. It is now misleading — a reader would think the test is skipped/broken. Remove the stale comment along with the marker it described.

Delete the stale Skip comment on line 466.:

test('change filter while expanded updates visible root terms', async ({
  page,
}) => {

Was this helpful? React with 👍 / 👎

// eslint-disable-next-line playwright/no-skipped-test -- requires re-filtering expanded state support
test.skip('change filter while expanded updates visible root terms', async ({
test('change filter while expanded updates visible root terms', async ({
page,
}) => {
// Expand parent first with All filter
Expand Down Expand Up @@ -549,24 +500,6 @@ test.describe('Glossary Status Filter - Nested Terms', () => {
// ==================== EDGE CASES ====================

test.describe('Edge Cases', () => {
// Skip: Requires backend to return nested terms as flat results when filtered
// eslint-disable-next-line playwright/no-skipped-test -- requires backend flat result support
test.skip('deeply nested term (5 levels) - filter shows matching terms as flat results', async ({
page,
}) => {
// Filter by Draft status
await applyStatusFilter(page, ['Draft']);

// Level 1 (Draft) should appear as flat result regardless of nesting
await verifyTermVisible(page, deepTerms[1].data.displayName);

// Other levels should NOT be visible (different statuses)
await verifyTermNotVisible(page, deepTerms[0].data.displayName); // Approved
await verifyTermNotVisible(page, deepTerms[2].data.displayName); // In Review
await verifyTermNotVisible(page, deepTerms[3].data.displayName); // Rejected
await verifyTermNotVisible(page, deepTerms[4].data.displayName); // Deprecated
});

test('all children have same status different from parent', async ({
page,
}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ headerPermTest.describe(
}
);

headerPermTest(
headerPermTest(
'EditTier, EditOwners, EditCertification allowed but EditAll denied – edit buttons not visible',
async ({ specificEditsPage }) => {
await headerPermTable.visitEntityPage(specificEditsPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ test.describe('Glossary tests', () => {
await test.step('Approve Glossary Term from Glossary Listing for reviewer user', async () => {
await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary1.data.name);
await selectActiveGlossary(page1, glossary1.data.displayName);
await verifyTaskCreated(
page1,
glossary1.data.fullyQualifiedName,
Expand All @@ -179,7 +179,7 @@ test.describe('Glossary tests', () => {
await approveGlossaryTermTask(page1, glossary1.data.terms[0].data);
await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary1.data.name);
await selectActiveGlossary(page1, glossary1.data.displayName);
await validateGlossaryTerm(
page1,
glossary1.data.terms[0].data,
Expand Down Expand Up @@ -222,7 +222,7 @@ test.describe('Glossary tests', () => {
await test.step('Approve Glossary Term from Glossary Listing for reviewer team', async () => {
await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary2.data.name);
await selectActiveGlossary(page1, glossary2.data.displayName);

await verifyTaskCreated(
page1,
Expand All @@ -234,7 +234,7 @@ test.describe('Glossary tests', () => {

await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary2.data.name);
await selectActiveGlossary(page1, glossary2.data.displayName);
await validateGlossaryTerm(
page1,
glossary2.data.terms[0].data,
Expand Down Expand Up @@ -441,7 +441,7 @@ test.describe('Glossary tests', () => {
await test.step('Approve and Reject Glossary Term', async () => {
await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary1.data.name);
await selectActiveGlossary(page1, glossary1.data.displayName);
await verifyTaskCreated(
page1,
glossary1.data.fullyQualifiedName,
Expand All @@ -454,7 +454,7 @@ test.describe('Glossary tests', () => {
);
await redirectToHomePage(page1);
await sidebarClick(page1, SidebarItem.GLOSSARY);
await selectActiveGlossary(page1, glossary1.data.name);
await selectActiveGlossary(page1, glossary1.data.displayName);

const taskResolve = page1.waitForResponse('/api/v1/feed/tasks/*/resolve');
await page1
Expand Down Expand Up @@ -1904,8 +1904,7 @@ test.describe('Glossary tests', () => {
});

// Need to fix the workflow from BE end, as it constantly failing in the AUT's

@gitar-bot gitar-bot Bot Aug 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Quality: Stale skip-reason comment left above re-enabled approval test

The comment // Need to fix the workflow from BE end, as it constantly failing in the AUT's remains above the re-enabled Term should stay approved when changes made by reviewer test. Since the test.skip was removed, this comment now falsely implies the test is disabled/failing. Remove or update it; note the PR summary itself flags that the BE fix (#29931) is NOT on 1.13, so a brief note about the load-dependent flake risk would be more useful than the stale text.

Delete the stale backend-workflow skip comment on line 1906.:

test('Term should stay approved when changes made by reviewer', async ({
  browser,
}) => {

Was this helpful? React with 👍 / 👎

// eslint-disable-next-line playwright/no-skipped-test -- skipped: backend workflow issue
test.skip('Term should stay approved when changes made by reviewer', async ({
test('Term should stay approved when changes made by reviewer', async ({
browser,
}) => {
test.slow(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,18 @@ export const checkName = async (page: Page, name: string) => {

export const selectActiveGlossary = async (
page: Page,
glossaryName: string,
glossaryLabel: string,
bWaitForResponse = true
) => {
const menuItem = page.getByRole('menuitem', { name: glossaryName }).first();
const sidebar = page.getByTestId('glossary-left-panel');
await sidebar.locator('[role="menuitem"]').first().waitFor();

const menuItem = sidebar.getByRole('menuitem', {
name: glossaryLabel,
exact: true,
});
await menuItem.waitFor({ state: 'visible' });

const isSelected = await menuItem.evaluate((element) => {
return element.classList.contains('ant-menu-item-selected');
});
Expand Down Expand Up @@ -259,6 +267,8 @@ export const createGlossary = async (

await page.fill('[data-testid="name"]', glossaryData.name);

await page.fill('[data-testid="display-name"]', glossaryData.displayName);

await page.locator(descriptionBox).fill(glossaryData.description);

await expect(
Expand Down Expand Up @@ -322,7 +332,7 @@ export const verifyGlossaryDetails = async (
glossaryDetails: GlossaryData
) => {
await page
.getByRole('menuitem', { name: glossaryDetails.name })
.getByRole('menuitem', { name: glossaryDetails.displayName, exact: true })
.locator('span')
.click();

Expand Down Expand Up @@ -761,7 +771,7 @@ export const createGlossaryTerms = async (
page: Page,
glossary: GlossaryData
) => {
await selectActiveGlossary(page, glossary.name);
await selectActiveGlossary(page, glossary.displayName ?? glossary.name);

const termStatus = glossary.reviewers.length > 0 ? 'Draft' : 'Approved';

Expand Down
Loading