tvOS UI test console logs
AppeliumTests lets your tvOS UI tests write their own log, separate from the logs of the Apple TV app under test, and attaches it next to each test failure. Unlike NSLog() and print(), these logs have verbosity levels and optional domains, so you can filter the timeline of a failed test in the Appelium Dashboard. Focus-based navigation makes tvOS tests harder to follow, so log the element you expect to be focused before each remote action.
Use Appelium logs in your UI Tests with the following methods:
AppeliumTests.logVerbose("Verbose statement")
AppeliumTests.logInfo("Info statement")
AppeliumTests.logWarning("Warning statement")
AppeliumTests.logDebug("Debug statement")
AppeliumTests.logError("Error statement")
all the logging levels allow you to pass an optional domain for even better granularity:
AppeliumTests.logError("Next button disabled", domain: "Registration")