rsnext/test/lib/browsers
Jan Kaifer b386f680cc
Update handling of autoscrolling on navigation in app (#43845)
- Add support for scrolling to the sides and down when navigating
- Add tests for vertical scrolling
- Add tests for horizontal scrolling
- Add tests for `router.refresh()`
	- should not scroll by itself
	- should not block router.push from scrolling
	- should not scroll when page refreshed using fash refresh
- Scroll to the top of document if that gets page into viewport
	- I didn't want to implement some heuristics on if we can scroll to the top of the page so I just scroll there and check.
	- This implementation may not play well with some nested scrollable containers (but that never worked, just FYI)
	
- Improved typings on `BrowserInterface` a little - backward compatible change.

Co-authored-by: Shu Ding <3676859+shuding@users.noreply.github.com>
2023-01-24 15:41:06 +00:00
..
base.ts Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00
playwright.ts Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00
replay.ts Add Replay integration for dev e2e tests (#40955) 2022-09-29 14:45:10 -07:00
selenium.ts Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00