mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Update the project to use Xcode 16.1 (#3505)
This commit is contained in:
parent
77ade52718
commit
2b153306dd
@ -15,7 +15,7 @@ import XCTest
|
||||
class PreviewTests: XCTestCase {
|
||||
private let deviceConfig: ViewImageConfig = .iPhoneX
|
||||
private let simulatorDevice: String? = "iPhone14,6" // iPhone SE 3rd Generation
|
||||
private let requiredOSVersion = (major: 18, minor: 0)
|
||||
private let requiredOSVersion = (major: 18, minor: 1)
|
||||
private let snapshotDevices = ["iPhone 16", "iPad"]
|
||||
private var recordMode: SnapshotTestingConfiguration.Record = .missing
|
||||
|
||||
|
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-en-GB.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-en-GB.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-en-GB.2.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-en-GB.2.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-pseudo.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-pseudo.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-pseudo.2.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_bugReport-iPhone-16-pseudo.2.png
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-en-GB.Create-Public-Room.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-en-GB.Create-Public-Room.png
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-en-GB.Create-Room.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-en-GB.Create-Room.png
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-pseudo.Create-Public-Room.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-pseudo.Create-Public-Room.png
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-pseudo.Create-Room.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_createRoom-iPhone-16-pseudo.Create-Room.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_notificationSettingsScreen-iPhone-16-en-GB.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_notificationSettingsScreen-iPhone-16-en-GB.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_notificationSettingsScreen-iPhone-16-pseudo.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_notificationSettingsScreen-iPhone-16-pseudo.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-en-GB.Edit.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-en-GB.Edit.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-en-GB.New.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-en-GB.New.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-pseudo.Edit.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-pseudo.Edit.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-pseudo.New.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_pollFormScreen-iPhone-16-pseudo.New.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_reportContentScreen-iPhone-16-en-GB.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_reportContentScreen-iPhone-16-en-GB.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_reportContentScreen-iPhone-16-pseudo.1.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_reportContentScreen-iPhone-16-pseudo.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_roomDetailsEditScreen-iPhone-16-en-GB.Editable.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_roomDetailsEditScreen-iPhone-16-en-GB.Editable.png
(Stored with Git LFS)
Binary file not shown.
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_roomDetailsEditScreen-iPhone-16-pseudo.Editable.png
(Stored with Git LFS)
BIN
PreviewTests/Sources/__Snapshots__/PreviewTests/test_roomDetailsEditScreen-iPhone-16-pseudo.Editable.png
(Stored with Git LFS)
Binary file not shown.
@ -336,7 +336,7 @@ final class MediaUploadingPreprocessorTests: XCTestCase {
|
||||
// Check resulting image info
|
||||
XCTAssertEqual(imageInfo.mimetype, "image/heic")
|
||||
XCTAssertEqual(imageInfo.blurhash, "KGD]3ns:T00$kWxFXmt6xv")
|
||||
XCTAssertEqual(imageInfo.size ?? 0, 1_857_833, accuracy: 100)
|
||||
XCTAssertEqual(imageInfo.size ?? 0, 1_850_479, accuracy: 100)
|
||||
XCTAssertEqual(imageInfo.width, 3024)
|
||||
XCTAssertEqual(imageInfo.height, 4032)
|
||||
|
||||
|
@ -7,7 +7,7 @@ if File.exist?(enterprise)
|
||||
end
|
||||
|
||||
before_all do
|
||||
xcversion(version: "16.0")
|
||||
xcversion(version: "16.1")
|
||||
|
||||
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180"
|
||||
ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "180"
|
||||
@ -84,7 +84,7 @@ lane :unit_tests do |options|
|
||||
|
||||
run_tests(
|
||||
scheme: "UnitTests",
|
||||
device: "iPhone 16 (18.0)",
|
||||
device: "iPhone 16 (18.1)",
|
||||
ensure_devices_found: true,
|
||||
result_bundle: true,
|
||||
number_of_retries: 3,
|
||||
@ -94,7 +94,7 @@ lane :unit_tests do |options|
|
||||
if !options[:skip_previews]
|
||||
run_tests(
|
||||
scheme: "PreviewTests",
|
||||
device: "iPhone SE (3rd generation) (18.0)",
|
||||
device: "iPhone SE (3rd generation) (18.1)",
|
||||
ensure_devices_found: true,
|
||||
result_bundle: true,
|
||||
number_of_retries: 3,
|
||||
@ -107,15 +107,15 @@ end
|
||||
|
||||
lane :ui_tests do |options|
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 16 (18.0)",
|
||||
name: "iPhone 16 (18.1)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-16",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-0"
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-1"
|
||||
)
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPad (10th generation) (18.0)",
|
||||
name: "iPad (10th generation) (18.1)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-0"
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-1"
|
||||
)
|
||||
|
||||
if options[:test_name]
|
||||
@ -128,7 +128,7 @@ lane :ui_tests do |options|
|
||||
|
||||
run_tests(
|
||||
scheme: "UITests",
|
||||
devices: ["iPhone 16 (18.0)", "iPad (10th generation) (18.0)"],
|
||||
devices: ["iPhone 16 (18.1)", "iPad (10th generation) (18.1)"],
|
||||
ensure_devices_found: true,
|
||||
prelaunch_simulator: true,
|
||||
result_bundle: true,
|
||||
@ -143,16 +143,16 @@ lane :integration_tests do
|
||||
clear_derived_data()
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 16 Pro (18.0)",
|
||||
name: "iPhone 16 Pro (18.1)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-0"
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-1"
|
||||
)
|
||||
|
||||
reset_simulator = ENV.key?('CI')
|
||||
|
||||
run_tests(
|
||||
scheme: "IntegrationTests",
|
||||
device: "iPhone 16 Pro (18.0)",
|
||||
device: "iPhone 16 Pro (18.1)",
|
||||
ensure_devices_found: true,
|
||||
result_bundle: true,
|
||||
reset_simulator: reset_simulator
|
||||
|
Loading…
x
Reference in New Issue
Block a user