Upgrade the project to use Xcode 26.4 (and the 26.4 simulator for tests). (#5375)
* Upgrade the project to use Xcode 26.4 (and iOS 26.4 when running tests). * Update the test OS assertions. * updated preview tests # Conflicts: # PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-en-GB-0.png # PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-pseudo-0.png * update compound preview tests --------- Co-authored-by: Mauro Romito <mauro.romito@element.io>
This commit is contained in:
@@ -9,7 +9,7 @@ struct AccessibilityTests: AsyncParsableCommand {
|
||||
var device = "iPhone 17"
|
||||
|
||||
@Option(help: "iOS version for the simulator.")
|
||||
var osVersion = "26.1"
|
||||
var osVersion = "26.4"
|
||||
|
||||
func run() async throws {
|
||||
var testsFailed = false
|
||||
|
||||
@@ -13,7 +13,7 @@ struct IntegrationTests: AsyncParsableCommand {
|
||||
var device = "iPhone 17"
|
||||
|
||||
@Option(help: "iOS version for the simulator.")
|
||||
var osVersion = "26.1"
|
||||
var osVersion = "26.4"
|
||||
|
||||
func run() async throws {
|
||||
// Delete old log files
|
||||
|
||||
@@ -9,7 +9,7 @@ struct RunTests: AsyncParsableCommand {
|
||||
|
||||
Examples:
|
||||
swift run tools run-tests --scheme UnitTests
|
||||
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.1
|
||||
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.4
|
||||
swift run tools run-tests --scheme PreviewTests --create-simulator-name "iPhone SE (3rd generation)" \
|
||||
--create-simulator-type com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation
|
||||
""")
|
||||
@@ -20,8 +20,8 @@ struct RunTests: AsyncParsableCommand {
|
||||
@Option(help: "The simulator device name to run tests on (e.g. 'iPhone 17').")
|
||||
var device = "iPhone 17"
|
||||
|
||||
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.1').")
|
||||
var osVersion = "26.1"
|
||||
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.4').")
|
||||
var osVersion = "26.4"
|
||||
|
||||
@Option(help: "Number of times to retry failed tests. Only the failing tests are re-run, not the entire suite.")
|
||||
var retries = 0
|
||||
|
||||
@@ -20,7 +20,7 @@ struct UITests: AsyncParsableCommand {
|
||||
var deviceType: DeviceType
|
||||
|
||||
@Option(help: "iOS version for the simulator.")
|
||||
var osVersion = "26.1"
|
||||
var osVersion = "26.4"
|
||||
|
||||
@Option(help: "Run only a specific test (format: 'ClassName/testName').")
|
||||
var testName: String?
|
||||
|
||||
@@ -9,7 +9,7 @@ struct UnitTests: AsyncParsableCommand {
|
||||
var device = "iPhone 17"
|
||||
|
||||
@Option(help: "iOS version for the simulator.")
|
||||
var osVersion = "26.1"
|
||||
var osVersion = "26.4"
|
||||
|
||||
@Flag(help: "Skip preview tests")
|
||||
var skipPreviews = false
|
||||
|
||||
Reference in New Issue
Block a user