google / google/EarlGrey

EarlGrey 2 | Whitebox testing setup not working with cocoapods

Open
#964 3 comments 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 tried to make earlgrey2 whitebox testing setup work through cocoapods but with no success. Looks like the static libraries are missing and the app is crashing on launch. Sample repo:

https://github.com/Simon-Kaz/EarlGrey2Sample/tree/whiteboxing-attempt-v2

Whitebox-Setup branch has the bundle set up for whitebox testing, when you run the ui test the app crashes on launch.

The Master branch has a fully working sample app with the same (passing) test and was used as a base for whitebox testing setup.

Contributor guide

Open the contributing guide

Research direction

Start with the EarlGrey2Sample repository's Whitebox-Setup branch and run the UI test to reproduce the launch crash. Compare it with the working Master branch, focusing on the whitebox testing setup and static libraries; done means the app launches and the same UI test passes through CocoaPods.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.