Questions tagged [earlgrey]

EarlGrey is an iOS UI Automation Test framework by Google.

EarlGrey is a native iOS UI automation test framework that enables you to write clear, concise tests.

With the EarlGrey framework, you have access to enhanced synchronization features. EarlGrey automatically synchronizes with the UI, network requests, and various queues, but still allows you to manually implement customized timings, if needed.

EarlGrey’s synchronization features help ensure that the UI is in a steady state before actions are performed. This greatly increases test stability and makes tests highly repeatable.

EarlGrey works in conjunction with the XCTest framework and integrates with Xcode’s Test Navigator so you can run tests directly from Xcode or the command line (using xcodebuild).

It's available on GitHub here: https://github.com/google/EarlGrey

96 questions
0
votes
1 answer

EarlGrey possibility to work with multiple accessibility labels or text

I would like to know if there is a possibility to use in EarlGrey something like [[EarlGrey selectElementWithMatcher:grey_accessibilityLabel(@"Log in")] performAction:grey_tap().elementByIndex(0)] (either with grey_accessibilityLabel or…
0
votes
1 answer

EarlGrey launches the APP but the screen is blank

Trying to launch EarlGrey tests on my APP but all that I get is empty screen after the splash screen is opened. We use 2 different windows for splash screen and main APP and it looks like EarlGrey stacks on the first one. Is there a way to switch…
0
votes
2 answers

Early grey environment setup

I'm trying to get Earlgrey setup on my computer by following the steps for Cocoapod installation as described here After performing all the steps I keep on getting compilation error during build EarlGrey.swift:17:27: Use of undeclared type…
prashant
  • 3,570
  • 7
  • 40
  • 50
0
votes
1 answer

dyld: Library not loaded for EarlGrey installation

I'm following the instructions in the Github Installation section for integrating EarlGrey in my app. I've set up the test target and added EarlGrey by dragging it into my project, along with adding it as a framework dependency. However, on running…
gran_profaci
  • 8,087
  • 15
  • 66
  • 99
-1
votes
1 answer

Uncaught exception: -[AccessibilitySettingsController setAXInspectorEnabled:specifier:]: unrecognized selector sent to instance 0x104004800

I have tried running Earlgrey-test demo with macOS Sierra & Xcode 8,but show me the error as above; in the git issues list, haven't found solution.
汪平阳
  • 13
  • 1
-2
votes
1 answer

Force Alamofire to do everything on main thread?

Is there a way to force Alamofire to do all of its work on the main thread? This is for a test scenario where I need the main thread to not continue execution until the network calls have completed and I know the status. The tests in question used…
markand
  • 2,829
  • 1
  • 16
  • 16
1 2 3 4 5 6
7