diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index e39fdf4e0e1..21f169443a9 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -143,7 +143,6 @@ jobs: - name: Run Fastlane run: fastlane ui_tests_ios_swift device:"${{matrix.device}}" - shell: sh - name: Archiving Raw Test Logs uses: actions/upload-artifact@v4 diff --git a/Samples/iOS-Swift/iOS-SwiftUITests/ProfilingUITests.swift b/Samples/iOS-Swift/iOS-SwiftUITests/ProfilingUITests.swift index 722ce4cc03b..692aefe7acf 100644 --- a/Samples/iOS-Swift/iOS-SwiftUITests/ProfilingUITests.swift +++ b/Samples/iOS-Swift/iOS-SwiftUITests/ProfilingUITests.swift @@ -6,12 +6,6 @@ import XCTest class ProfilingUITests: BaseUITest { override var automaticallyLaunchAndTerminateApp: Bool { false } - // this will run before the non-async BaseUITest.setUp, so we can bail out before running any of the logic in there - override func setUp() async throws { - try await super.setUp() - try checkEnvironment() - } - func testProfiledAppLaunches() throws { app.launchArguments.append("--io.sentry.wipe-data") launchApp() @@ -46,6 +40,7 @@ class ProfilingUITests: BaseUITest { */ func testProfilingGPUInfo() throws { app.launchArguments.append("--disable-swizzling") // we're only interested in the manual transaction, the automatic stuff messes up how we try to retrieve the target profile info + app.launchArguments.append("--io.sentry.wipe-data") launchApp() goToTransactions() @@ -73,16 +68,6 @@ class ProfilingUITests: BaseUITest { @available(iOS 16, *) extension ProfilingUITests { - // We don't need to test these on multiple OSes right now, and older versions seem to have issues; older devices or VM images running simulators might just be slower. Latest OS is enough coverage for our needs for now. - func checkEnvironment() throws { -#if !targetEnvironment(simulator) - throw XCTSkip("Currently doesn't work on SauceLabs.") -#endif - - guard #available(iOS 16.0, *) else { - throw XCTSkip("iOS version too old for profiling test.") - } - } enum Error: Swift.Error { case missingFile