Repository navigation
Fixes #38295, #38296 follow-up: unpin the fixed pagination bugs and re-tag their Playwright tests - #38651
Conversation
… tests #38309 and #38308 fixed the Data Models / Stored Procedures page reset and the duplicate fetch on page change, so the browser tests no longer need the knownIssues escape hatch: the single-fetch assertion in paginationContract is now unconditional, the option is removed, the four Playwright tests for those tabs are tagged @migrated-browser again, and PAGINATION_MIGRATION.md reflects 35 tagged / 4 untagged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code Review ✅ Approved 🟢 Low riskOnly pagination test harnesses, tags, and migration notes change; the unconditional assertion strengthens validation without altering production behavior. Removes the VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
UI browser testsRan: all test files (no impact map from main yet) Result: ✅ 1071 passed · 154 skipped |
Fixes #38650
Describe your changes:
The two pagination bugs the browser tests pinned are fixed on main: #38295 (Data Models / Stored Procedures tabs reset to page 1 after Next) in #38309, and #38296 (six list pages fetch twice per page change) in #38308. This removes what was left of the pins:
knownIssues: { duplicateFetchOnPageChange }from the Bots, Notification alerts, Policies, Roles, Service version and Classification tags browser tests.knownIssuesoption frompaginationContract.ts(thefailingmap, theitwrapper aroundtest.fails, and theContractTesttype only they used). The "requests per page change" single-fetch assertion is now unconditional for every list page.playwright/e2e/Features/Pagination.spec.tswithmigratedTo.browser(...)(StoredProcedureTab.browser.test.tsx,ServiceDataModels.browser.test.tsx). Per the marker convention they keep running until the replacements are validated and deleted.PAGINATION_MIGRATION.md: 35 of 39 tests tagged, 4 untagged (2 real-server smoke tests, 2 Topic schema fields tests); known-issues table marked fixed in Fixes #38295: keep Data Models and Stored Procedures pagination in sync #38309 / Fixes #38296: prevent duplicate list fetches on pagination #38308.The Playwright diff is re-indentation from wrapping each test with the tag;
git diff -wshows only the 4 addedmigratedTo.browser(...)arguments.Type of change:
Tests:
yarn test:ui:runon the 8 affected browser test files (6 unpinned + StoredProcedureTab + ServiceDataModels): 8 files, 25 tests passed, 0 skipped, with the single-fetch assertion enforced.npx playwright test --list playwright/e2e/Features/Pagination.spec.ts --grep @migrated-browser: 35 of the file's 39 tests listed, including the 4 re-tagged ones (Stored Procedures normal / search, Data Models normal / search). The 4 untagged: Users search, Table columns pagination, the 2 Topic schema fields tests.yarn tsc:playwright: passes.yarn tsc:check: 34 errors, all insrc/utils/SSOUtils.test.tsandsrc/utils/ChartDetailsUtils.test.tsx, which this PR does not touch; none in the changed files.--fix+ Prettier on the changed files: no errors, no diff.yarn lint:playwright: 0 errors (193 pre-existing warnings). Pre-commit hooks passed.🤖 Generated with Claude Code