Chore(UI): Fix the AUT failures#30400
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
- ServiceBaseClass: assert agent-schedule with toContainText (the merged agent-schedule element holds both schedule parts, so two exact toHaveText assertions could never both pass) - ServiceBaseClass: await ingestionFilterSection.click() in openIngestionFilterSection to avoid a floating promise / flaky ordering - ServiceBaseClass: match the ingestion runner by its visible displayName only (react-aria options carry no data-key and are not labelled by the system name); make RunnerDetails.displayName required so the label is always present - ServiceIngestion: correct the name-field test description — the form no longer does client-side character validation; the test asserts enable/disable gating (required + uniqueness) instead Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Code Review ✅ Approved 3 resolved / 3 findingsRefactors Playwright E2E tests and support utilities to support the updated service ingestion workflow, including selector migrations and unskipping chart tests. Addressed all findings including runner match fallback, contradictory assertions, and missing await calls. ✅ 3 resolved✅ Edge Case: Runner match falls back to name that won't match label
✅ Bug: Two contradictory toHaveText assertions on merged agent-schedule
✅ Bug: Missing await on ingestionFilterSection.click()
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
🔴 Playwright Results — workflow failedValidated commit ✅ 548 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky Pipeline and setup failures (3)
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) 1h 35m 6s ⏱️ Max setup 2m 54s · max shard execution 21m 0s · max shard-job elapsed before upload 24m 47s · reporting 3s 🌐 255.99 requests/attempt · 2.53 app boots/UI scenario · 34.44% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Fixes #30401
This pull request updates Playwright E2E tests and utilities to accommodate UI changes in the service ingestion workflow, specifically around the service name validation and the ingestion runner selection control. The tests and helper functions are refactored to align with the new merged Configure & Connect step and the migration from an Ant Design Select to a react-aria Select for choosing the ingestion runner.
Service Ingestion Flow Updates:
INVALID_NAMESimport fromServiceIngestion.spec.ts.Ingestion Runner Selector Migration:
ServiceBaseClassto interact with the new react-aria Select component, matching options by visible label instead of Ant Design'sdata-key.fillSupersetFormDetailsinserviceFormUtils.tsto select the ingestion runner using the new role-based selector, removing reliance on Ant Design dropdown structure and search input.Summary by Gitar
ServiceBaseClassto match updated test identifiersThis will update automatically on new commits.
Greptile Summary
Updates Playwright coverage for the revised service-ingestion UI.
Confidence Score: 5/5
The PR appears safe to merge with no new blocking failures eligible for this follow-up review.
No blocking failure remains beyond the issue already communicated in the existing inline thread.
Important Files Changed
Reviews (7): Last reviewed commit: "Merge branch 'main' into fix-failing-aut..." | Re-trigger Greptile