EarlGrey icon indicating copy to clipboard operation
EarlGrey copied to clipboard

Thread 1: EXC_BREAKPOINT in iPhone 12mini, iOS 15.0

Open liweijian opened this issue 4 years ago • 1 comments

I am trying to kick off a simple UI test,

    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:

liweijian avatar Oct 25 '21 07:10 liweijian

After reading https://github.com/google/EarlGrey/issues/805 , and I think I know what might be happening here.

I updated the code to:

    func testExample() throws {
        let app = XCUIApplication()
        app.launch()
    }

And not sure why the app could not be launched.

liweijian avatar Oct 25 '21 07:10 liweijian