Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/testUI/AndroidUtils/AndroidCapabilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private static void retrieveDevice(TestUIConfiguration configuration) {
setDevice(Configuration.UDID, Configuration.androidDeviceName);
} else if (!Configuration.UDID.isEmpty()) {
setDevice(Configuration.UDID, Configuration.UDID);
} else {
} else if (Configuration.appiumUrl.isEmpty()) {
throw new TestUIException("There is no device available to run the automation!");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/testUI/IOSUtils/IOSTestUIDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected static void startFirstIOSDriver() {
attachShutDownHookStopDriver(getDriver());
return;
} catch (Exception e) {
putLogError("Could not create driver! retrying...");
putLogError("Could not create driver! retrying...\n" + e.getMessage());
sleep(500);
if (i == 1) {
throw new TestUIException(
Expand Down
1 change: 0 additions & 1 deletion src/test/java/TestRunners/TestAndroidLocal.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public void testAndroidBrowser() {
public void testAndroidBrowser2() {
Configuration.testUILogLevel = LogLevel.DEBUG;
Configuration.appiumUrl = "http://localhost:4723/";
Configuration.UDID = "emulator-5554";
open("https://www.google.com");
}
}