Repository navigation
test(playwright): bulk-refresh 202 e2e specs + waitHelpers - #33930
Conversation
Refreshes 200 safe-modified e2e specs from #33088 (main hasn't touched these files since our merge-base, so a wholesale copy from harshach's branch is safe) plus 2 pure-add specs. Also refreshes utils/waitHelpers.ts (safe, main untouched) which adds: - waitForResponseWithStatus (48 of the refreshed specs import this) - waitForAntOverlayToOpen (Ant animation-settle helper) Files where both main and harshach diverged from merge-base need per-file conflict resolution and are deliberately excluded (will land in follow-ups). Cherry-picked from #33088. All original content authored by @harshach. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
✅ SSO Login Nightly — PASSED View workflow run · Commit
Totals: 42 passed · 0 failed · 0 flaky · 0 skipped · duration 4m 33s |
…ight-e2e-specs-bulk # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/ActivityStream.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Glossary/GlossaryMiscOperations.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/MutuallyExclusiveColumnTags.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks/TeamActivity.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Tags.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/VisualRegression/__snapshots__/staticPages.spec.ts-snapshots/glossary.png
…elpers Bot findings (gitar): 1) 40 refreshed specs imported symbols/modules that don't exist on main (taskActivity/taskPermissions fixtures, ingestionExecution, and helpers like chooseSelectOption/getTaskCard/saveBulkImport/…). Bringing the producer files over is out of this PR's split scope. Reset each spec to main so it compiles. 2) visual-regression.setup.ts + .teardown.ts were added but never wired in playwright.config.ts, so their fixed-name glossary fixture was never created — interactiveStates.spec.ts and staticPages.spec.ts depended on it. Both those specs got reset to main in (1), so the setup/teardown are now orphaned; dropping. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ight-e2e-specs-bulk # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks/ActivityFeed.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks/TaskPermissions.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks/TaskResolution.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Tasks/TeamActivity.spec.ts
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
…ight-e2e-specs-bulk # Conflicts: # .github/playwright/impact-map.generated.json # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/DataQuality/AddTestCaseNewFlow.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/TestSuitePipelineRedeploy.spec.ts
… formatting - 43 specs imported helpers/modules not on main (clickFeedReaction, gotoVisualGlossary, taskActivity fixtures, chooseSelectOption, ...). That broke `playwright test --list` (plan-playwright), visual-regression, and the bot-flagged ActivityFeed/ActivityAPI imports. Found by diffing `tsc -p playwright/tsconfig.json` against main; reset each to main. Earlier reset in 9a344f3 was a no-op (zsh word-splitting) — this is the real one. PR-introduced type errors: 0; `--list` load errors: 0. - f82ba08 committed organize-imports output (4-space, no trailing commas) because the bulk prettier call aborted. Re-ran CI's exact organize-imports → eslint --fix → prettier sequence per file; a second pass produces no diff. - Pruned eslint-suppressions and lowered the recorded no-positional-locator count 1155 → 1145 in corpus.test.mjs (10 violations fixed here). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
Same wholesale-copy artifact as #33932: 8 specs had an import after the test bodies. Moved each into the import block, merged via organize-imports, then CI's organize-imports → eslint --fix → prettier sequence (second pass: no diff). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ight-e2e-specs-bulk
ActivityStream, CuratedAssets, DataQualityDashboard, GlossaryMiscOperations, MutuallyExclusiveColumnTags and SSOConfiguration asserted behaviour from the source branch (hidden Client ID/Callback URL, OIDC fields behind the advanced toggle, Knowledge Page curated type, ...) that main's UI does not have, so they failed deterministically. Restore main's versions and their suppression entries. Fixes #33087 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
Code Review ✅ Approved 4 closed / 4 findings🟡 Medium risk · Bulk changes across Playwright specs alter test setup, assertions, and cleanup behavior Bulk refresh of 203 Playwright e2e specs and test helpers from the upstream branch, including 200 safe-modified specs, 2 new visual-regression setup/teardown specs, and the ✅ 4 closed✅ Bug: auth.setup.ts imports a settleAll that doesn't exist on main, so every project fails
✅ Bug: Refreshed specs import helpers and fixture modules not in this PR
✅ Bug: Visual-regression setup/teardown aren't registered in playwright.config
Closed: Bug: clickFeedReaction imported but not exported by utils/activityFeed
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 |
Fixes #33087
Describe your changes:
DRAFT — bulk-refresh 203 files from #33088:
visual-regression.setup.ts,visual-regression.teardown.ts)utils/waitHelpers.ts) that 48 of the refreshed specs import; safe on main (untouched since merge-base)Type of change:
Notes
Marked draft until earlier wave (#33877, #33880, #33881, #33882, #33883) settles — those PRs share the "review budget."
Files where both main and harshach diverged from merge-base need per-file conflict resolution and are deliberately excluded (will land in follow-ups if worth the effort).
Cherry-picked from #33088. All original content authored by @harshach.
🤖 Generated with Claude Code