File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ private static void retrieveDevice(TestUIConfiguration configuration) {
119119 setDevice (Configuration .UDID , Configuration .androidDeviceName );
120120 } else if (!Configuration .UDID .isEmpty ()) {
121121 setDevice (Configuration .UDID , Configuration .UDID );
122- } else {
122+ } else if ( Configuration . appiumUrl . isEmpty ()) {
123123 throw new TestUIException ("There is no device available to run the automation!" );
124124 }
125125 }
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected static void startFirstIOSDriver() {
3939 attachShutDownHookStopDriver (getDriver ());
4040 return ;
4141 } catch (Exception e ) {
42- putLogError ("Could not create driver! retrying..." );
42+ putLogError ("Could not create driver! retrying...\n " + e . getMessage () );
4343 sleep (500 );
4444 if (i == 1 ) {
4545 throw new TestUIException (
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ public void testAndroidBrowser() {
4242 public void testAndroidBrowser2 () {
4343 Configuration .testUILogLevel = LogLevel .DEBUG ;
4444 Configuration .appiumUrl = "http://localhost:4723/" ;
45- Configuration .UDID = "emulator-5554" ;
4645 open ("https://www.google.com" );
4746 }
4847}
You can’t perform that action at this time.
0 commit comments