`grey_text` matcher does not work for SwiftUI `Text` view
- Dominant language
- Objective-C
- Stars
- 5.7k
- Forks
- 737
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
The `grey_text` matcher does not work for a SwiftUI [Text](https://developer.apple.com/documentation/swiftui/text) view. This is demonstrated by the UI testing target defined [here](https://github.com/adil-hussain-84/EarlGrey2-SwiftUI-Experiment/tree/master/EarlGrey2ExperimentUITests) which tests the application target defined [here](https://github.com/adil-hussain-84/EarlGrey2-SwiftUI-Experiment/tree/master/EarlGrey2Experiment).
Contributor guide
Research direction
Start by running the linked EarlGrey2ExperimentUITests target against the application target in the linked EarlGrey2-SwiftUI-Experiment repository and reproduce the grey_text failure for SwiftUI Text. Then trace the matcher behavior in EarlGrey and its iOS UI testing integration. Done means grey_text correctly matches the demonstrated SwiftUI Text view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100