JohnSundell / JohnSundell/UITestingExample

EXC_BAD_ACCESS on app.swipeLeft()

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
65
Forks
15
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by running the attached example's OnboardingUITests testGoingThroughOnboarding in Xcode 9.4.1 and reproduce the failure at the first app.swipeLeft() action. Use the supplied console log to investigate the EXC_BAD_ACCESS; done means identifying a reproducible cause and documenting or verifying a fix for this test failure.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
swift
Bereich
mobile-dev, testing
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.