Server Timeout on button click

Hi there,

I’m runnign a basic test on a real device. Here the capabilities

@Before
public void setUp() throws MalformedURLException {
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(“deviceName”, “XT1039”);
capabilities.setCapability(CapabilityType.BROWSER_NAME, “Android”);
capabilities.setCapability(CapabilityType.VERSION, “5.1”);
capabilities.setCapability(“platformName”, “Android”);
capabilities.setCapability(“appPackage”, “com.test.wl”);
capabilities.setCapability(“appActivity”, “com.test.wl.MainActivity”);
driver = new RemoteWebDriver(new URL(“http://127.0.0.1:4723/wd/hub”), capabilities);
driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);

I’m running last appium on npm.

Here the button i want to click

@Test
public void testPushManuelButton() {
driver.findElement(By.id(“mod_manu”)).click();
driver.findElement(By.id(“pin_yes”)).click();
}

But the app launch and click the first button them shutdown and in the server log I get this error :

[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] ← POST /wd/hub/session/f6349cec-26bd-4e2c-849c-879e9e5330ab/element/1/click 200 251 ms - 76
[HTTP] → POST /wd/hub/session/f6349cec-26bd-4e2c-849c-879e9e5330ab/timeouts {“type”:“implicit”,“ms”:30000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: [“implicit”,30000,“f6349cec-26bd-4e2c-849c-879e9e5330ab”]
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] ← POST /wd/hub/session/f6349cec-26bd-4e2c-849c-879e9e5330ab/timeouts 200 10 ms - 76
[HTTP] → DELETE /wd/hub/session/f6349cec-26bd-4e2c-849c-879e9e5330ab {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: [“f6349cec-26bd-4e2c-849c-879e9e5330ab”]
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices…

Do you have any idea why I have a timeout and how I could help it?

Thanks,

NyouB