google / google/EarlGrey

Thread 1: EXC_BREAKPOINT in iPhone 12mini, iOS 15.0

Open
#1,665 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
5.7k
Forks
737
Avg merge
1d 20h
Merged PRs (30d)
5

Description

I am trying to kick off a simple UI test,

```swift
func testExample() throws {
let app = XCUIApplication()
app.launch()
EarlGrey.selectElement(with: grey_accessibilityID("multiTxt")).perform(grey_tap()).perform(grey_typeText("hey"))
EarlGrey.selectElement(with: grey_accessibilityID("clearBtn")).perform(grey_tap())
EarlGrey.selectElement(with: grey_accessibilityID("multiTxt")).perform(grey_typeText("bye!"))
}
```

Got `Thread 1: EXC_BREAKPOINT` in iPhone 12mini with iOS 15.0:

On the other hand, it works pretty well in iPhone 7P with iOS 15.0.2:

Contributor guide

Open the contributing guide

Research direction

Start with the testExample UI test shown in the issue and reproduce it on the iPhone 12 mini running iOS 15.0, then compare the result with the iPhone 7 Plus on iOS 15.0.2. Identify which EarlGrey interaction triggers EXC_BREAKPOINT; done means the test completes without the device-specific crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.