Repository navigation
Flaky(UI): Customize Detail Page spec - #25650
Conversation
| await expect(adminPage.getByRole('dialog')).toBeVisible(); | ||
|
|
||
| await adminPage | ||
| const dialogTextbox = adminPage.getByRole('dialog').getByRole('textbox'); |
There was a problem hiding this comment.
Can we look for testid here? There can be multiple textboxes.
| await expect(adminPage.getByRole('dialog')).toBeVisible(); | ||
|
|
||
| await adminPage | ||
| const dialogTextbox = adminPage.getByRole('dialog').getByRole('textbox'); |
There was a problem hiding this comment.
Can we look for testid here? There can be multiple textboxes.
🔍 CI failure analysis for 86f3f31: Job 3 failed with 1 unrelated NotificationAlerts test (run attempt 2). Job 2 succeeded for the 5th consecutive time, confirming CustomizeDetailPage fix is stable.IssueCI Run for commit 86f3f31 - Run Attempt 2 (auto-retry) ALL 6 JOBS COMPLETE: 1 job failed with 1 unrelated test failure Root CauseJob 3: NotificationAlerts Test Failure - Unrelated to PRFailed Test: Stats: 1 failed, 12 flaky, 620 passed (99.8% pass rate) Completely unrelated to CustomizeDetailPage PR. Does not modify NotificationAlerts or filtering functionality. Context: This is the second failure in Job 3 for this commit:
Different tests failing across retries indicates pre-existing flakiness, not code regression. BREAKTHROUGH: Fifth Consecutive Job 2 SUCCESS!JOB 2: SUCCESS! ✅✅✅✅✅ FIVE CONSECUTIVE SUCCESSFUL JOB 2 RUNS! Pattern Confirmation:
Historical Context:
DetailsComplete Results (ALL 6 JOBS) - Run Attempt 2:
Success Metrics:
Code Review 👍 Approved with suggestions 2 resolved / 3 findingsGood test stability improvements with proper wait patterns and visibility assertions. One inconsistency remains: the second test block still lacks explicit dialog close waits present in the first block. 💡 Quality: Missing dialog close waits may cause test flakiness📄 openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/CustomizeDetailPage.spec.ts:590-591 The second test block (around line 590) is missing the explicit dialog close waits that are present in the first test block (lines 443-445). In the first block, before getting the await adminPage.getByRole('dialog').waitFor({ state: 'hidden' });
await adminPage.locator('.ant-modal-wrap').waitFor({ state: 'detached' });In the second block, these waits are missing after Suggested fix: Add the same dialog close waits before line 591: // Wait for dialog to close before interacting with grid layout
await adminPage.getByRole('dialog').waitFor({ state: 'hidden' });
await adminPage.locator('.ant-modal-wrap').waitFor({ state: 'detached' });✅ 2 resolved✅ Quality: Hardcoded timeouts may cause flakiness or slow tests
✅ Quality: Force click may mask underlying timing issues
Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Describe your changes:
This one error is timeout since I was running it on 3000 with multiple workers

I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
hiddenanddetachedstatesThis will update automatically on new commits.