Steven Kirk
b2d7805060
Replace WindowTransparencyLevel enum with list of structs
The transparency level is not yet communicated to the backends though.
Co-Authored-By: Max Katz <maxkatz6@outlook.com>
3 years ago
Steven Kirk
c7db3bfee7
Added failing test for #11370 .
3 years ago
Max Katz
568f0f6ee2
Fix appium test
3 years ago
Steven Kirk
576014db05
Improve slider integration tests.
They are now failing due to #11015 .
3 years ago
Max Katz
d3fb8dee89
Build fixes
3 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
3 years ago
Steven Kirk
9845dfadef
Add system decorations and extend client area opts
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Dan Walmsley
4d343293c8
fix test on windows.
3 years ago
Dan Walmsley
ac9b06ef66
make integration tests intel compatible
3 years ago
Steven Kirk
16efee95ca
Disambiguate ShowWindowTest controls.
Under the appium-mac2-driver, `FindElementByAccessibilityId` doesn't actually find elements by their accessibility ID, it also finds them by their accessibility name. Since #10531 added an automation peer for `Label` which sets the accessibility name, the wrong control was being located (e.g. it located the "Position" label instead of the `Name="Position"` text box).
Disambiguate these controls by adding a `Current` prefix to make integration tests pass again.
3 years ago
Daniil Pavliuchyk
ddb9669c11
Add ScrollBarAutomationPeer
3 years ago
Dan Walmsley
c9aed1386d
update the test app to show the size that measure was called with on window content.
3 years ago
Dan Walmsley
b548ccb346
fix integration test app, missing inter font package.
3 years ago
Steven Kirk
ac882ad3a1
Add failing integration tests for overlay popups.
Integration tests for #10420 :
- Adds an `--overlayPopups` command-line argument to IntegrationTestApp
- Renames `TestAppFixture` -> `DefaultAppFixture`
- Adds additional `OverlayPopupsAppFixture`
- Runs ComboBox and Menu tests in both default and overlay popups mode
- VS keeps changing the `.sln` file
3 years ago
Daniil Pavliuchyk
8a771855db
Add tests
3 years ago
Daniil Pavliuchyk
44b833a0af
Fix test
3 years ago
Daniil Pavliuchyk
ac21ab2fe6
Add Slider Automation Test
3 years ago
Steven Kirk
035f4f0e55
Added failing integration tests for #10232 .
3 years ago
Steven Kirk
571b7746ea
Added failing integration test.
3 years ago
Steven Kirk
73cede0bf5
Added integration tests for window transparency.
Failing on macOS, passing on win32.
3 years ago
Max Katz
151fe0031a
Update control catalog and samples
3 years ago
Steven Kirk
003923b50d
Fix integration tests on Windows.
We need to be explicit about which element we're talking about when there are two elements with the same content, and so use accessibility IDs rather than Name.
3 years ago
Steven Kirk
f480455131
Added failing test for #9565 .
And another (passing) test for checking that window order is correct when a child window is shown in fullscreen.
3 years ago
Max Katz
fa0cea97fe
Enable compiled bindings by default and fix all the usages + adjust some namespaces
3 years ago
Dan Walmsley
ad574e2c64
use net 7 for integration test app.
3 years ago
Steven Kirk
c733950aff
Refactor gestures tab in IntegrationTestApp.
3 years ago
Steven Kirk
9a50b9ee0c
Added integration tests for tapped gestures.
Some skipped on Windows as right button actions aren't supported by WinAppDriver.
3 years ago
Steven Kirk
9c05066718
Added integration tests for #8869 .
Some tests failing on Win32.
3 years ago
Steven Kirk
d1b652213a
Make sure child windows have unique titles/ids.
3 years ago
Steven Kirk
0cc0443d34
Display window order in integration test app.
The previous method of relying on the order of windows returned by appium to determine window z-order proved not to be reliable. Instead use p/invoke to read `NSWindow.orderedIndex` on a timer and display it in a text box in the `ShowWindowtest` window.
This commit doesn't update the tests to use this new info though.
3 years ago
Giuseppe Lippolis
92291b7d9a
fix: Null Annotation
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
7156339304
Test CenterOwner window position.
4 years ago
Steven Kirk
4f84950c41
Added tests for #8335 .
4 years ago
Steven Kirk
519e850bf8
Correctly update position.
`Window.Position` isn't an Avalonia property so doesn't auto-update, we need to listen for `PositionChanged`.
4 years ago
Steven Kirk
328aef882b
Added failing tests for WindowState on mac.
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
Dan Walmsley
1917def959
full set of window tests for osx.
4 years ago
Dan Walmsley
b7397a7cdf
add a11y identifiers for windows.
4 years ago
Dan Walmsley
67b6811ca8
add comment to show why test isnt working.
4 years ago
Steven Kirk
4c8240b7bf
Added integration tests for WindowStartupLocation.
4 years ago
Max Katz
4c039cbf7c
Move Fluent/Default themes out of main package
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
Steven Kirk
261f46ea74
Added a few ListBox tests.
4 years ago
Steven Kirk
26137caaca
Trying to get stuff working on macOS.
Man, appium for mac sucks.
4 years ago
Steven Kirk
ddb6ab977e
Refactored ComboBox integration tests.
4 years ago
Steven Kirk
742d960874
Remove rogue character.
4 years ago
Steven Kirk
f6e06a6d15
Refactored Menu integration tests.
4 years ago