JohnSundell/UITestingExample

EXC_BAD_ACCESS on app.swipeLeft()

annawidera opened this issue · 0 comments

Hello John! Thank you very much for your blog post about UI Tests! It was very infromative and explanatory. I wanted to check out attached example also and unfortunately I am getting the exception all over again.

exception is raised on the first: app.swipeLeft() action.
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
I am using Xcode version: 9.4.1 (9F2000)

Console log:

Test Suite 'OnboardingUITests' started at 2018-09-21 09:02:04.447
Test Case '-[ExampleUITests.OnboardingUITests testGoingThroughOnboarding]' started.
    t =     0.00s Start Test at 2018-09-21 09:02:04.449
    t =     0.16s Set Up
    t =     0.18s     Open com.johnsundell.Example
    t =     0.25s         Launch com.johnsundell.Example
    t =     3.83s             Wait for com.johnsundell.Example to idle
    t =     7.18s Swipe left Target Application 0x6000000c9b50
    t =     7.18s     Wait for com.johnsundell.Example to idle
    t =     7.22s     Find the Target Application 0x6000000c9b50
    t =     7.34s     Synthesize event

Has anybody else experienced such behaviour? I would be very grateful if you could guide me to any possible solution.