Skip to content

Commit f73970f

Browse files
Siddhantclaude
authored andcommitted
test(glossary): drop broken list-refetch wait around glossary A delete
waitForGlossaryListRefetch expects GET /api/v1/glossaries with status 200. Nothing in the optimistic-success path produces that: handleGlossaryDelete only filters state and navigates, the async DELETE itself returns 202 Accepted, and the mocked WebSocket prevents any backend-driven refetch. The listener sat until the 180s test timeout on shard 6 of PR 27451. Keep the sidebarClick re-anchor from the original fix — it already lands the page back on /glossary before the next selection. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b53dab4 commit f73970f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,9 +1455,7 @@ test.describe('Glossary tests', () => {
14551455

14561456
// Delete A (succeeds - not mocked, real deletion)
14571457
await selectActiveGlossary(page, glossaryA.data.displayName);
1458-
const glossaryARefetch = waitForGlossaryListRefetch(page);
14591458
await initiateDelete(page);
1460-
await glossaryARefetch;
14611459
await sidebarClick(page, SidebarItem.GLOSSARY);
14621460
await expectGlossaryNotVisible(page, glossaryA.data.displayName);
14631461

0 commit comments

Comments
 (0)