-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor integration test app paging (#16551)
* Refactor IntegrationTestApp. Use a `ListBox` to switch pages instead of a `TabControl`: the `TabControl` didn't adapt well to smaller screen sizes, and the `MainWindow` was getting unwieldy anyway. * Update tests to use new pager. Move logic for selecting the page to a base class as we may need to handle scrolling manually on macOS at some point (Appium on macOS doesn't scroll elements into view automatically). * Add AutomationPeer.IsOffscreen. This is needed in order for controls to be scrolled into view using WinAppDriver. The default is the same as WPF and the default value is overridden in the same controls as WPF (where present). #Conflicts: # samples/IntegrationTestApp/App.axaml.cs # samples/IntegrationTestApp/MainWindow.axaml # samples/IntegrationTestApp/MainWindow.axaml.cs # samples/IntegrationTestApp/TopmostWindowTest.axaml.cs # src/Avalonia.Controls/TreeViewItem.cs # tests/Avalonia.IntegrationTests.Appium/ContextMenuTests.cs # tests/Avalonia.IntegrationTests.Appium/PointerTests.cs # tests/Avalonia.IntegrationTests.Appium/ScreenTests.cs # tests/Avalonia.IntegrationTests.Appium/TrayIconTests.cs # tests/Avalonia.IntegrationTests.Appium/WindowDecorationsTests.cs # tests/Avalonia.IntegrationTests.Appium/WindowTests.cs # tests/Avalonia.IntegrationTests.Appium/WindowTests_MacOS.cs
- Loading branch information
Showing
66 changed files
with
1,292 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.