Use Xcode 14.2 in ADO pipelines (#2811)

* Bump @react-native-community/slider from 4.4.0 to 4.4.2

Bumps [@react-native-community/slider](https://github.com/callstack/react-native-slider) from 4.4.0 to 4.4.2.
- [Release notes](https://github.com/callstack/react-native-slider/releases)
- [Commits](https://github.com/callstack/react-native-slider/compare/v4.4.0...v4.4.2)

---
updated-dependencies:
- dependency-name: "@react-native-community/slider"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use Xcode 14.2 in ADO pipelines

* Fix simuator runtime

* 16.0 runtime is invalid, but apparently 16.2 is ok

* Try 16.2 for appium

* Change files

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
This commit is contained in:
Adam Gleitman 2023-05-03 15:38:58 -07:00 коммит произвёл GitHub
Родитель 83eeaaa0d8
Коммит 4a77e91add
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -3,7 +3,7 @@
if [ -n "$XCODE_PATH_OVERRIDE" ]; then # If someone calls this with the XCODE_PATH_OVERRIDE variable set to a path to a developer dir, use it instead
XCODE_PATH="$XCODE_PATH_OVERRIDE"
else
XCODE_PATH='/Applications/Xcode_14.0.1.app/Contents/Developer'
XCODE_PATH='/Applications/Xcode_14.2.app/Contents/Developer'
fi
echo "Running command: sudo xcode-select --switch $XCODE_PATH"

Просмотреть файл

@ -11,7 +11,7 @@ steps:
- bash: |
echo "Pre boot simulator"
UDID=$(xcrun simctl create test-iphone com.apple.CoreSimulator.SimDeviceType.iPhone-12 iOS16.0)
UDID=$(xcrun simctl create test-iphone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-16-2)
xcrun simctl boot $UDID
workingDirectory: apps/fluent-tester
condition: and(succeeded(), eq('${{ parameters.platform }}', 'ios'))

Просмотреть файл

@ -14,7 +14,7 @@ exports.config = {
{
maxInstances: 1, // Maximum number of total parallel running workers.
platformName: 'iOS',
'appium:platformVersion': '16.0',
'appium:platformVersion': '16.2',
'appium:deviceName': 'iPhone 13',
'appium:automationName': 'XCUITest',
'appium:bundleId': 'com.microsoft.ReactTestApp',

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Use iOS 16.2 for appium",
"packageName": "@fluentui-react-native/e2e-testing",
"email": "adgleitm@microsoft.com",
"dependentChangeType": "patch"
}