EarlGrey can't interact with an app systemalert
- Dominant language
- Objective-C
- Stars
- 5.7k
- Forks
- 737
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
My problem is, at the end of my test i get an systemalert from the app. In this systemalert (what pops up after a tap on 'logout') would be the user asked something like 'delete favourites', or 'keep it on device' etc. My problem is, i can't tap on oneof the buttons in these systemalert.
Is is a bug, or is it my mistake?
In an ios inspector is it shown like
[XCUIElementTypeAlert :: Keep Favourites?]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeStaticText :: Keep Favourites?]
[XCUIElementTypeStaticText :: Do you want to keep the products in Favourites on your device? If you delete your Favourites from your device, you can restore them at any time by logging back in.]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeButton :: Keep on device]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeButton :: Delete from device]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeOther]
[XCUIElementTypeButton :: Stay logged in]
Contributor guide
Research direction
No source file, test, or entry point is named. Start by reproducing the logout system alert and comparing the displayed XCUIElement hierarchy with EarlGrey's documented alert interaction support; done means determining whether the listed buttons can be targeted and identifying whether the behavior is a framework bug or a test usage issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100