Dan Walmsley
6054fa98f1
fix reliability issue in osx window state test.
4 years ago
Steven Kirk
eb8ddef412
Add failing integration test on macOS.
Hiding a child window, and then clicking on the parent window causes the child window to be erroneously re-shown.
4 years ago
Steven Kirk
fcef065908
Fix flaky menu integration tests.
Move the mouse pointer out of the way of the menu when running integration tests on menu keys.
4 years ago
Dan Walmsley
a9cc499de3
Revert "disable broken tests."
This reverts commit 5fcc5ecfea .
4 years ago
Dan Walmsley
5fcc5ecfea
disable broken tests.
4 years ago
Dan Walmsley
0bdd0c3160
add a failing integration test.
4 years ago
Dan Walmsley
ac30a64d78
dont use window size that could go off screen.
4 years ago
Dan Walmsley
e8914c966d
reliably replace old bundle.
4 years ago
Dan Walmsley
c3bb062a37
ensure bundle id is registered.
4 years ago
Dan Walmsley
5d69d1648d
run appium and restart it each time.
4 years ago
Dan Walmsley
d59c9feac9
make sure any existing instances are closed.
4 years ago
Dan Walmsley
e0c1bae842
use pkill to close app.
4 years ago
Dan Walmsley
7746b79fb5
close app after running
4 years ago
Dan Walmsley
92bdf1cce5
install the integration sample app
4 years ago
Steven Kirk
cebd5b169d
Added script to run automation tests on macOS.
4 years ago
Steven Kirk
4e63f19a0b
Account for scaling.
4 years ago
Steven Kirk
91fc1335a0
Sigh, winappdriver.
4 years ago
Steven Kirk
7156339304
Test CenterOwner window position.
4 years ago
Steven Kirk
4f84950c41
Added tests for #8335 .
4 years ago
Steven Kirk
19c55102e5
Use manual window startup location in macOS tests.
Seems to cause less flaky tests; `mainWindow.Click()` clicks the main window in the middle, where the secondary window is shown, so don't go out of our way to put the secondary window in front of where we're clicking.
4 years ago
Steven Kirk
cd04964c85
Added a retry to macOS window tests.
MacOS sometimes seems to need a bit of time to get itself back in order after switching out of fullscreen.
4 years ago
Steven Kirk
267710787e
Tweak tests.
- Add a retry to `GetWindowInfo`
- Owned windows can't go fullscreen on macOS.
4 years ago
Steven Kirk
328aef882b
Added failing tests for WindowState on mac.
4 years ago
Steven Kirk
4f4f291b2d
Move mac-specific tests to a separate file.
And tidy stuff up a bit.
4 years ago
Steven Kirk
8b9e675bd4
Refactor PlatformFact.
To make it inclusive rather than exclusive.
4 years ago
Steven Kirk
8c3424baa4
Refactor OSX window tests a bit.
Try not to rely on `_session.ResetApp();` because restoring the application state in the tests tends to show up more errors (which this change has done: https://github.com/AvaloniaUI/Avalonia/issues/8335#issuecomment-1162804733 )
4 years ago
Steven Kirk
860fcc524d
Refactor how we show windows.
Trying to make it a little less hacky. Only tested on Win32 so far.
4 years ago
Dan Walmsley
a0af269d36
reset app after most tests, add test for fullscreen mode with modal osx.
4 years ago
Dan Walmsley
827692fa27
add test for osx modal dialog window order when clicking resize grip of parent.
4 years ago
Dan Walmsley
1917def959
full set of window tests for osx.
4 years ago
Dan Walmsley
a70dadea18
simplify test.
4 years ago
Dan Walmsley
a7713dcda9
add a unit test for child window order osx.
4 years ago
Dan Walmsley
0d6e3a55f0
add test to show that osx chrome buttons are disabled when modal dialog is opened.
4 years ago
Steven Kirk
4c8240b7bf
Added integration tests for WindowStartupLocation.
4 years ago
Steven Kirk
898b0fa285
Disable focus test on mac.
Because I can't work out how to implement the extremely advanced use-case of finding out whether a control is focused there /s
4 years ago
Steven Kirk
909e9c57da
Add failing menu tests for click + arrow select.
4 years ago
Steven Kirk
5d35ac324f
Additional menu integration tests.
4 years ago
Steven Kirk
69f96d5b44
Added failing integration test for #7906 .
4 years ago
Mike Irving
a529ae88d5
Grammatical corrections to product names: XCode -> Xcode, .Net -> .NET, Javascript -> JavaScript, MacOS -> macOS, MacOs -> macOS
4 years ago
Steven Kirk
e89bd580d8
Add additional macOS prerequisite.
5 years ago
Steven Kirk
6da59f9eee
Added integration tests readme.
5 years ago
Steven Kirk
9f807c9737
Sigh. Appium sucks.
5 years ago
Steven Kirk
261f46ea74
Added a few ListBox tests.
5 years ago
Steven Kirk
b4a183bd97
Skip keyboard interaction tests on macOS.
They send appium for mac crazy.
5 years ago
Steven Kirk
26137caaca
Trying to get stuff working on macOS.
Man, appium for mac sucks.
5 years ago
Steven Kirk
ddb6ab977e
Refactored ComboBox integration tests.
5 years ago
Steven Kirk
33ca12c48c
Remove faulty cast.
5 years ago
Steven Kirk
f6e06a6d15
Refactored Menu integration tests.
5 years ago
Steven Kirk
610ef6f467
Added a NativeMenu test for macOS.
5 years ago
Steven Kirk
f4d9d4cc13
Make integration tests pass on MacOS.
5 years ago