JohnSundell / JohnSundell/UITestingExample

EXC_BAD_ACCESS on app.swipeLeft()

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
65
Forks
15
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
swift
Domaine
mobile-dev, testing
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.