Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Add iOS17 tests again (#19941)
* [iOS] Add iOS17 tests again * Add visual test support for multiple devices for a single platform (#20256) * Add visual test support for multiple devices for a single platform Fixes: #20113 We need this immediately to be able to test both iOS 17.2 on iPhone 15 (the new default) while still testing iOS 16.2 on iPhone X (the old test device). But this is general support that should meet our future needs as more devices are added (at least that's the intention). The comment below explains the scheme: /* Determine the environmentName, used as the directory name for visual testing snaphots. Here are the rules/conventions: - Names are lower case, no spaces. - By default, the name matches the platform (android, ios, windows, or mac). - Each platform has a default device (or set of devices) - if the snapshot matches the default no suffix is needed (e.g. just ios). - If tests are run on secondary devices that produce different snapshots, the device name is used as suffix (e.g. ios-iphonex). - If tests are run on secondary devices with multiple OS versions that produce different snapshots, both device name and os version are used as a suffix (e.g. ios-iphonex-16_4). We don't have any cases of this today but may eventually. The device name comes first here, before os version, because most visual testing differences come from different sceen size (a device thing), not OS version differences, but both can happen. */ * Rename ios -> ios-iphonex directory The ios directory will be replaced with iPhone 15 generated images, as it's the new default. * Update to include deviceName in error messages * Remove the xharness suffix and update iOS test device names * Set DeviceName for Android * Fix cropping on iPhone 15 * Add iPhone 15 snapshots * Ignore FlyoutHeaderWithZeroMarginShouldHaveNoY for now * Fix device for 17 --------- Co-authored-by: Bret Johnson <bret.johnson@microsoft.com>
- Loading branch information
1 parent
1dc2d46
commit ce80f53
Showing
23 changed files
with
69 additions
and
29 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
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
Binary file added
BIN
+1.85 MB
...s/tests/UITests/snapshots/ios-iphonex/ContentPageBackgroundImageSourceWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.2 KB
src/Controls/tests/UITests/snapshots/ios-iphonex/EditorBackgroundWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.3 KB
src/Controls/tests/UITests/snapshots/ios-iphonex/EditorIsReadOnlyPreventModify.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.1 KB
src/Controls/tests/UITests/snapshots/ios-iphonex/EditorPlaceholderPosition.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.5 KB
...s/tests/UITests/snapshots/ios-iphonex/SettingMaximumTrackColorOnSliderWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13.1 KB
(100%)
src/Controls/tests/UITests/snapshots/ios/ContentPageBackgroundImageSourceWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.05 KB
(91%)
src/Controls/tests/UITests/snapshots/ios/EditorBackgroundWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6.18 KB
(89%)
src/Controls/tests/UITests/snapshots/ios/EditorIsReadOnlyPreventModify.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.66 KB
(83%)
src/Controls/tests/UITests/snapshots/ios/EditorPlaceholderPosition.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1021 Bytes
(100%)
src/Controls/tests/UITests/snapshots/ios/SettingMaximumTrackColorOnSliderWorks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.