[fix] Repair web acceptance tests and shorten preview CI - #6566
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🤖 The AI agent says: @coderabbitai review. This fixes the diagnosed preview acceptance failures and bounds retries/runtime without removing test coverage. Local formatting, lint, package build, and test discovery passed; live preview validation is pending. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe pull request updates Playwright CI execution, test setup, accessible selectors, selection assertions, and trace-tree targeting. It also changes artifact collection to include successful and interrupted runs. ChangesPlaywright reliability updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: 🟡 Moderate · up to This updates acceptance-test reliability and makes evaluation scenario deletion assertions order-independent, but two acceptance flows may still validate the wrong revision or pass without proving the intended row was selected. Resolve those test assertions before merge to retain reliable coverage. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Railway Preview Environment
Updated at 2026-09-05T09:00:45.107Z |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Team
Run ID: 372efaa9-5a11-408a-bab4-f98527fabf52
📒 Files selected for processing (8)
web/oss/tests/playwright/acceptance/app/test.tsweb/oss/tests/playwright/acceptance/auto-evaluation/tests.tsweb/oss/tests/playwright/acceptance/human-annotation/tests.tsweb/oss/tests/playwright/acceptance/prompts/test.tsweb/oss/tests/playwright/acceptance/testsset/testset-management.tsweb/oss/tests/playwright/acceptance/use-api/index.tsweb/oss/tests/playwright/unit/api-helpers.spec.tsweb/tests/tests/fixtures/base.fixture/apiHelpers/index.ts
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review.
Context
Preview web acceptance tests repeatedly waited for controls that changed during the UI migration. Retries consumed the 45-minute job limit, and cancellation left us without the browser traces needed to diagnose the failures.
Changes
Use accessible control names and checked states instead of old Ant Design classes. Configure the existing mock provider before the attachment test, and make app-creation waits target the actual confirmation dialog.
Do not reuse seed-only agents as completion prompts. Keep the configured-revision requirement and cover the cross-test fixture bug with a regression test. Check evaluation selection summaries after the dialog advances to the next tab.
Compare deleted scenario IDs without assuming database return order. This fixes the API acceptance failure while preserving the ID, count, and repeated-delete checks.
Keep all acceptance tests, with one retry instead of two. Stop after five failures or 20 minutes of browser tests, inside a 30-minute job. Preserve the configured HTML/JUnit reporters and upload raw results even for interrupted runs, excluding browser authentication state.
Tests
e2741843bb: 50 passed, 0 failed, 30 skipped; no retries needed. Browser tests took 12.4 minutes. No tests were removed or newly skipped by this PR.How to review
Start with the acceptance helpers and selectors, then review the Playwright limits and Railway reporting changes. This PR starts from
release/v0.114.8and does not change application behavior.