google / google/EarlGrey

testStyledAlertView causes subsequent tests to fail when deployment target is >= 9.0

Open
#645 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

testStyledAlertView on iPhone (I haven't run it on iPad) throws a dialog at the end of the test. The alert contains "*zap*" and "Roger". When run with deployment target set to 8.0, this dialog isn't shown at the end of the test.

The dialog then remains on subsequent tests, causing them to fail, and ultimately results in one test hanging.

I'll upload a patch to disable it.

Contributor guide

Open the contributing guide

Research direction

Start with the iPhone test named testStyledAlertView and run it with a deployment target of 9.0 or later. Confirm the dialog containing "*zap*" and "Roger" appears, then verify that subsequent tests fail or hang. Done means the dialog is disabled or no longer blocks later tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.