When running my test with appium to test my cell’s layout with the galen framework is presenting an error execution.
======================================== Test: Welcome page test on Zenfone 4 device ======================================== jan 17, 2019 3:54:01 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C = Header = header.caption: org.mozilla.javascript.WrappedException: Wrapped org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: unknown error: Argument to isShown must be of type Element (Session info: chrome=71.0.3578.99) (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 10.0.15063 x86_64) Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ System info: host: ‘LTBR67672’, ip: ‘192.168.43.59’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_192’ Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities {appiumversion: 1.10.0, automationName: appium, browserName: chrome, browserVersion: 71.0.3578.99, databaseEnabled: false, desired: {appiumversion: 1.10.0, automationName: appium, browserName: chrome, browserVersion: 71.0.3578.99, deviceName: ASUS_Z01KD, platformName: android, platformVersion: 8.0, udid: HAAZB600X236CSZ}, deviceManufacturer: asus, deviceModel: ASUS_Z01KD, deviceName: HAAZB600X236CSZ, deviceScreenSize: 1080x1920, deviceUDID: HAAZB600X236CSZ, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, platform: LINUX, platformName: LINUX, platformVersion: 8.0.0, takesScreenshot: true, udid: HAAZB600X236CSZ, warnings: {}, webStorageEnabled: false} Session ID: eb350dc1-748a-4c1d-8f7a-dd2d09a41e15 (#141) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.mozilla.javascript.gen._cmd__19._c_checkLayout_7(:141) at org.mozilla.javascript.gen._cmd__19.call() at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at org.mozilla.javascript.gen.C__Users_745093_AppData_Roaming_npm_node_modules_galenframework_cli_Teste_Appium_GalenAppiumBootstrap_Exemplos_De_Teste_simple_example_test_js_21._c_anonymous_1(C:\Users\745093\AppData\Roaming\npm\node_modules\galenframework-cli\Teste-Appium\GalenAppiumBootstrap\Exemplos-De-Teste\simple-example.test.js:18) at org.mozilla.javascript.gen.C__Users_745093_AppData_Roaming_npm_node_modules_galenframework_cli_Teste_Appium_GalenAppiumBootstrap_Exemplos_De_Teste_simple_example_test_js_21.call(C:\Users\745093\AppData\Roaming\npm\node_modules\galenframework-cli\Teste-Appium\GalenAppiumBootstrap\Exemplos-De-Teste\simple-example.test.js) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2697) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:287) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:101) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.mozilla.javascript.gen.C__Users_745093_AppData_Roaming_npm_node_modules_galenframework_cli_Teste_Appium_GalenAppiumBootstrap_Exemplos_De_Teste_galen_bootstrap_galen_bootstrap_js_22._c_anonymous_18(C:\Users\745093\AppData\Roaming\npm\node_modules\galenframework-cli\Teste-Appium\GalenAppiumBootstrap\Exemplos-De-Teste\galen-bootstrap\galen-bootstrap.js:122) at org.mozilla.javascript.gen.C__Users_745093_AppData_Roaming_npm_node_modules_galenframework_cli_Teste_Appium_GalenAppiumBootstrap_Exemplos_De_Teste_galen_bootstrap_galen_bootstrap_js_22.call(C:\Users\745093\AppData\Roaming\npm\node_modules\galenframework-cli\Teste-Appium\GalenAppiumBootstrap\Exemplos-De-Teste\galen-bootstrap\galen-bootstrap.js) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2697) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:287) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:101) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.mozilla.javascript.gen._cmd__18._c_invokeFunc_2(:33) at org.mozilla.javascript.gen._cmd__18.call() at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at org.mozilla.javascript.gen._cmd__18._c_anonymous_22(:280) at org.mozilla.javascript.gen._cmd__18.call() at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3452) at org.mozilla.javascript.gen._cmd__18.call() at org.mozilla.javascript.JavaAdapter.doCall(JavaAdapter.java:606) at org.mozilla.javascript.JavaAdapter.access$000(JavaAdapter.java:15) at org.mozilla.javascript.JavaAdapter$1.run(JavaAdapter.java:586) at org.mozilla.javascript.Context.call(Context.java:526) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509) at org.mozilla.javascript.JavaAdapter.callMethod(JavaAdapter.java:583) at adapter3.execute() at com.galenframework.TestRunnable.runTest(TestRunnable.java:75) at com.galenframework.TestRunnable.run(TestRunnable.java:101) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: unknown error: Argument to isShown must be of type Element (Session info: chrome=71.0.3578.99) (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 10.0.15063 x86_64) Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ System info: host: ‘LTBR67672’, ip: ‘192.168.43.59’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_192’ Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities {appiumversion: 1.10.0, automationName: appium, browserName: chrome, browserVersion: 71.0.3578.99, databaseEnabled: false, desired: {appiumversion: 1.10.0, automationName: appium, browserName: chrome, browserVersion: 71.0.3578.99, deviceName: ASUS_Z01KD, platformName: android, platformVersion: 8.0, udid: HAAZB600X236CSZ}, deviceManufacturer: asus, deviceModel: ASUS_Z01KD, deviceName: HAAZB600X236CSZ, deviceScreenSize: 1080x1920, deviceUDID: HAAZB600X236CSZ, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, platform: LINUX, platformName: LINUX, platformVersion: 8.0.0, takesScreenshot: true, udid: HAAZB600X236CSZ, warnings: {}, webStorageEnabled: false} Session ID: eb350dc1-748a-4c1d-8f7a-dd2d09a41e15 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:276) at org.openqa.selenium.remote.RemoteWebElement.isDisplayed(RemoteWebElement.java:317) at com.galenframework.page.selenium.WebPageElement.isVisible(WebPageElement.java:77) at com.galenframework.validation.SpecValidation.checkAvailability(SpecValidation.java:51) at com.galenframework.validation.specs.SpecValidationText.check(SpecValidationText.java:36) at com.galenframework.validation.specs.SpecValidationText.check(SpecValidationText.java:30) at com.galenframework.validation.PageValidation.check(PageValidation.java:70) at com.galenframework.validation.PageValidation.check(PageValidation.java:60) at com.galenframework.validation.SectionValidation.checkObject(SectionValidation.java:187) at com.galenframework.validation.SectionValidation.checkObjects(SectionValidation.java:97) at com.galenframework.validation.SectionValidation.checkSection(SectionValidation.java:131) at com.galenframework.validation.SectionValidation.checkPageSection(SectionValidation.java:76) at com.galenframework.validation.SectionValidation.check(SectionValidation.java:53) at com.galenframework.api.Galen.checkLayoutForPage(Galen.java:114) at com.galenframework.api.Galen.checkLayout(Galen.java:86) at com.galenframework.api.Galen.checkLayout(Galen.java:69) at com.galenframework.javascript.GalenJsApi.checkLayout(GalenJsApi.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) … 37 more ======================================== ---------------------------------------- ======================================== Failed tests: Welcome page test on Zenfone 4 device Suite status: FAIL Total tests: 1 Total failed tests: 1 Total failures: 1 There were failures in galen tests