Skip to content

Split multi-nested domain E2E into parallel tests; tighten glossary nav spacing - #34680

Merged
karanh37 merged 5 commits into
mainfrom
karanh37/domainfilterqueryfilter-split
Oct 5, 2026
Merged

karanh37 merged 5 commits into
mainfrom
karanh37/domainfilterqueryfilter-split

Conversation

@karanh37

@karanh37 karanh37 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

No linked issue — test restructure plus two minor spacing fixes.

Playwright: the Multi-nested domain hierarchy test in DomainFilterQueryFilter.spec.ts walked four domain levels and 16 filter combinations in one serial flow. It is now a data-driven Domain Filter - Multi-nested domain hierarchy describe: beforeAll builds the domain tree and 6 tagged tables (rebuilt per run, safe under fullyParallel), afterAll cleans 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.json 4 → 2, corpus.test.mjs 612 → 610).

UI spacing:

  • nav-item.tsx (core): vertical padding now follows size — sm uses tw:py-1, md keeps tw:py-2. Only the Glossary and Classification left panels use size="sm"; the main sidebar is unchanged.
  • ResizableLeftPanels.tsx: left-panel title ↔ learning (bulb) icon gap gap-2 → gap-1. Shared header, so it applies to Glossary, Classification, Explore, Domains and Data Insights.

Type of change:

  • Improvement

High-level design:

N/A — small change.

Tests:

Use cases covered

  • SubDomain1 / SubSubDomain assets: no filter, Tier5, PersonalData.Personal, PII.Sensitive, Entity Type
  • SubDomain2 (sibling isolation): no filter, Tier5, Entity Type
  • RootDomain: no filter, Tier1, Tier5

Unit tests

  • Existing suites for ResizableLeftPanels, GlossaryLeftPanel, TagsPage: 8 suites / 70 tests pass. Class-only spacing change, no new logic.

Backend integration tests

  • Not applicable (no backend API changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Files updated: playwright/e2e/Features/DomainFilterQueryFilter.spec.ts, eslint-suppressions.json, playwright/eslint-rules/tests/corpus.test.mjs

Manual testing performed

  1. npx playwright test DomainFilterQueryFilter.spec.ts --project=chromium --no-deps -g "Multi-nested" --workers=4 --repeat-each=2 against a local server: 32/32 passed.
  2. 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:

  • I have read the CONTRIBUTING document.
  • For UI changes: I attached a screen recording and/or screenshots above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

🤖 Generated with Claude Code

…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.
Copilot AI balanced review requested due to automatic review settings October 5, 2026 14:40
@karanh37 karanh37 added the skip-pr-checks Bypass PR metadata validation check label Oct 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@karanh37 karanh37 added the skip-pr-checks Bypass PR metadata validation check label Oct 5, 2026
@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Oct 5, 2026
Copilot AI balanced review requested due to automatic review settings October 5, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 5, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 5, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

…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.
Copilot AI balanced review requested due to automatic review settings October 5, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@karanh37 karanh37 changed the title test(playwright): split multi-nested domain hierarchy E2E into parallel tests Split multi-nested domain E2E into parallel tests; tighten glossary nav spacing Oct 5, 2026
@gitar-bot

gitar-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown
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.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@karanh37
karanh37 enabled auto-merge October 5, 2026 15:29
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 75%
75.58% (115277/152505) 61.31% (71038/115856) 62.68% (23656/37737)

@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@karanh37
karanh37 added this pull request to the merge queue Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit a5c58be59f472ae3746df60ab3153f94e4d5749a in Playwright run 37331800700, attempt 1.

✅ 3441 passed · ❌ 0 failed · 🟡 3 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky

Performance

Blocking 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:

  • Common shard skew was 37.46% (convergence target: at most 15%).
  • Browser traffic was 213.46 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 2.02 per UI scenario (7361 boots / 3652 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard advanced-search-01 65 0 0 0 0 0
✅ Shard advanced-search-02 65 0 0 0 0 0
✅ Shard chromium-01 167 0 0 0 0 0
✅ Shard chromium-02 190 0 0 0 0 0
✅ Shard chromium-03 177 0 0 0 0 0
🟡 Shard chromium-04 166 0 1 0 0 0
✅ Shard chromium-05 223 0 0 0 0 0
✅ Shard chromium-06 166 0 0 0 0 0
✅ Shard chromium-07 184 0 0 0 0 0
✅ Shard chromium-08 217 0 0 0 0 0
✅ Shard chromium-09 141 0 0 0 0 0
🟡 Shard chromium-10 194 0 1 0 0 0
✅ Shard chromium-11 196 0 0 1 0 0
✅ Shard chromium-12 160 0 0 0 0 0
✅ Shard chromium-13 177 0 0 0 0 0
🟡 Shard chromium-14 162 0 1 0 0 0
✅ Shard chromium-15 180 0 0 0 0 0
✅ Shard chromium-16 183 0 0 0 0 0
✅ Shard data-asset-rules-01 65 0 0 0 0 0
✅ Shard global-state-01 68 0 0 0 0 0
✅ Shard import-export-01 96 0 0 0 0 0
✅ Shard import-export-02 56 0 0 0 0 0
✅ Shard ingestion-01 28 0 0 0 0 0
✅ Shard ingestion-02 41 0 0 0 0 0
✅ Shard ingestion-03 24 0 0 0 0 0
✅ Shard reindex-01 41 0 0 0 0 0
✅ Shard search-rbac-01 9 0 0 0 0 0
🟡 3 flaky test(s) (passed on retry)
  • Features/ProfileGovernance.spec.ts › header breadcrumb navigates back from glossary form page (shard chromium-04, 1 retry)
  • Features/DataProductDomainMigration.spec.ts › Data product remains visible after moving domains and deleting the original domain (shard chromium-10, 1 retry)
  • Features/RestoreEntityInheritedFields.spec.ts › Validate restore with Inherited domain and data products assigned (shard chromium-14, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

Merged via the queue into main with commit 9d75f0b Oct 5, 2026
129 checks passed
@karanh37
karanh37 deleted the karanh37/domainfilterqueryfilter-split branch October 5, 2026 17:55

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants