Upgraded to Xcode 7.2 and my UI Tests Pass without running
Asked Answered
B

2

1

I just upgraded to Xcode 7.2 and now my tests succeed without even running. As soon as it finishes building, it gives me the "Test Succeeded" message and the console shows no output.

Is anyone else having this issue?

UPDATE: So it looks like it's not working only on one specific device, which is an iPAD AIR 2, and the UI Test platform doesn't even install onto the device. It doesn't work on 2 separate machines both with Xcode 7.2.

Bitartrate answered 9/12, 2015 at 16:44 Comment(4)
My tests don't run and my tests fail with: *** Timed out waiting 120 seconds for simulator to boot, current state is 1.Ann
@dave_gerard I was running on an iPad Air 2 when I was having this issue and it seems to be working fine for me with an Iphone 6 plus. Have you tried other simulators/devices?Bitartrate
I closed Xcode and the Simulator and re-opened both and now my tests are running fine. It has happened 2-3 times so far and restarting Xcode + Sim fixes it.Ann
maybe You have to enable Enable UI Automation at Settings / DeveloperFina
B
1

The issue was resolved when I updated my device to iOS 9.2. I don't see why this could've been the issue seeing all my other devices managed to run tests fine on 9.1.

Bitartrate answered 14/12, 2015 at 17:3 Comment(0)
C
1

I had the same issue with Xcode 7.3.1 and iOS 9.3.1. Rebooting the iOS device solved my problem.

Curr answered 16/8, 2016 at 8:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.