Add feature tests for file tree browser pagination ("Show more" functionality)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Add feature tests for the "Show more" (pagination) functionality in the file tree browser.
Background
This is a follow-up to !206876 (merged) which added initial feature tests for the file tree browser. The pagination tests were intentionally excluded because without the "scroll to current file" functionality, the "Show more" button is outside of the virtual scroller's visible content, making it difficult to test reliably.
What needs to be done
Once #541152 (scroll to current file functionality) is implemented, we should add comprehensive feature tests for:
-
"Show more" button visibility when there are more files to load -
Clicking "Show more" loads additional files -
Pagination works correctly with filtering -
Virtual scrolling behavior with large file trees -
Loading states during pagination
Acceptance Criteria
-
Feature tests cover all pagination scenarios -
Tests are reliable and don't depend on implementation details -
Tests work with the virtual scroller implementation -
Tests verify user-visible behavior rather than internal state
Related Issues
- Depends on #541152 (scroll to current file functionality)
- Follow-up to !206876 (merged) (initial file tree browser tests)
Labels
Category:Source Code Management frontend groupsource code maintenancetest-gap typemaintenance workflowready for development