Skip to content

fix(e2e): use fileURLToPath for Windows path resolution#3330

Draft
Baluduvamsi2006 wants to merge 2 commits intoapache:masterfrom
Baluduvamsi2006:pr/2-windows-path
Draft

fix(e2e): use fileURLToPath for Windows path resolution#3330
Baluduvamsi2006 wants to merge 2 commits intoapache:masterfrom
Baluduvamsi2006:pr/2-windows-path

Conversation

@Baluduvamsi2006
Copy link
Contributor

Ensures cross-platform compatibility in E2E tests by properly handling Windows-style paths

…t pages

This commit consolidates all changes from the refactor/resource-list-page branch:
- Introduces ResourceListPage component to reduce code duplication across list pages
- Standardizes pagination, sorting, and filtering behavior across all resource lists
- Fixes React infinite re-render loops by using stable query results
- Improves E2E test reliability with dynamic polling instead of hardcoded waits
- Removes unused imports and fixes TypeScript/ESLint warnings
- Adds proper integer validation for pagination parameters
- Improves error handling in upstream deletion with 400 status code tolerance
- Increase test timeout to 120s for comprehensive upstream->service->route test
- Add explicit page.waitForLoadState() calls after navigation
- Add scrollIntoViewIfNeeded() before clicking row buttons
- Add explicit timeouts to expect() calls for better debugging
- Wrap row element selection to avoid multiple chained locator calls
@Baoyuantop
Copy link
Contributor

Hi @Baluduvamsi2006, please remove any irrelevant changes and mark the PR as draft before it is ready.

@Baluduvamsi2006 Baluduvamsi2006 marked this pull request as draft March 17, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants