Repository navigation
Split multi-nested domain E2E into parallel tests; tighten glossary nav spacing - #34680
Conversation
…lel tests The single multi-nested domain hierarchy test walked four domain levels and sixteen filter combinations in one flow. Split it into a data-driven describe with shared beforeAll/afterAll setup so each level/filter pair runs as its own test in parallel, and add the cleanup the old test was missing.
…nel title gap Dense (size sm) nav items use py-1 instead of py-2, which only the glossary and classification left panels use. The resizable left panel title and its learning icon now sit gap-1 apart.
Code Review ✅ Approved🟡 Medium risk · Parallelized E2E fixtures add setup and cleanup; shared navigation spacing also changes. Splits the multi-nested domain hierarchy E2E test into parallel data-driven tests with separate setup/teardown, and tightens spacing in the Glossary and Classification left panels. All tests pass and no issues were found. OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
✅ Playwright Results — workflow succeededValidated commit ✅ 3441 passed · ❌ 0 failed · 🟡 3 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 55m 19s ⏱️ Max setup 4m 47s · max shard execution 20m 12s · max shard-job elapsed before upload 23m 22s · reporting 14s 🌐 213.46 requests/attempt · 2.02 app boots/UI scenario · 37.46% common-shard skew Optimization targets still in progress:
🟡 3 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |



Describe your changes:
No linked issue — test restructure plus two minor spacing fixes.
Playwright: the
Multi-nested domain hierarchytest inDomainFilterQueryFilter.spec.tswalked four domain levels and 16 filter combinations in one serial flow. It is now a data-drivenDomain Filter - Multi-nested domain hierarchydescribe:beforeAllbuilds the domain tree and 6 tagged tables (rebuilt per run, safe underfullyParallel),afterAllcleans up (the old test leaked everything), and each level × filter pair is its own parallel test. Visible assertions run before hidden ones so a hidden check can't pass against an unrendered list. Dropping a.first()lowers the positional-locator baseline (eslint-suppressions.json4 → 2,corpus.test.mjs612 → 610).UI spacing:
nav-item.tsx(core): vertical padding now followssize—smusestw:py-1,mdkeepstw:py-2. Only the Glossary and Classification left panels usesize="sm"; the main sidebar is unchanged.ResizableLeftPanels.tsx: left-panel title ↔ learning (bulb) icon gapgap-2→gap-1. Shared header, so it applies to Glossary, Classification, Explore, Domains and Data Insights.Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
ResizableLeftPanels,GlossaryLeftPanel,TagsPage: 8 suites / 70 tests pass. Class-only spacing change, no new logic.Backend integration tests
Ingestion integration tests
Playwright (UI) tests
playwright/e2e/Features/DomainFilterQueryFilter.spec.ts,eslint-suppressions.json,playwright/eslint-rules/tests/corpus.test.mjsManual testing performed
npx playwright test DomainFilterQueryFilter.spec.ts --project=chromium --no-deps -g "Multi-nested" --workers=4 --repeat-each=2against a local server: 32/32 passed.yarn lint:playwright(0 errors),yarn test:eslint-rules(161/161),generate-playwright-rule-table.mjs --check, and UI checkstyle on changed files: clean.UI screen recording / screenshots:
TODO: attach before/after of the Glossary and Classification left panels.
Checklist:
🤖 Generated with Claude Code