{"action":"created","issue":{"url":"https://api.github.com/repos/qmetry/qaf/issues/172","repository_url":"https://api.github.com/repos/qmetry/qaf","labels_url":"https://api.github.com/repos/qmetry/qaf/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/qmetry/qaf/issues/172/comments","events_url":"https://api.github.com/repos/qmetry/qaf/issues/172/events","html_url":"https://github.com/qmetry/qaf/issues/172","id":296818454,"number":172,"title":" Unable to update appuim java_client with qaf + latest selenuim","user":{"login":"Georgy-Ryabov","id":6531428,"avatar_url":"https://avatars2.githubusercontent.com/u/6531428?v=4","gravatar_id":"","url":"https://api.github.com/users/Georgy-Ryabov","html_url":"https://github.com/Georgy-Ryabov","followers_url":"https://api.github.com/users/Georgy-Ryabov/followers","following_url":"https://api.github.com/users/Georgy-Ryabov/following{/other_user}","gists_url":"https://api.github.com/users/Georgy-Ryabov/gists{/gist_id}","starred_url":"https://api.github.com/users/Georgy-Ryabov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Georgy-Ryabov/subscriptions","organizations_url":"https://api.github.com/users/Georgy-Ryabov/orgs","repos_url":"https://api.github.com/users/Georgy-Ryabov/repos","events_url":"https://api.github.com/users/Georgy-Ryabov/events{/privacy}","received_events_url":"https://api.github.com/users/Georgy-Ryabov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-13T17:17:13Z","updated_at":"2018-02-26T15:54:39Z","closed_at":null,"author_association":"NONE","body":"### QAF Version\r\n> Note: only the latest version is supported\r\n\r\n### Steps To Reproduce\r\n\r\nAppium client is looking for  java.util.function.Function\r\nBut qaf is linked to guava Functions\r\n\r\n\t\t<!-- selenium -->\r\n\t\t<dependency org=\"org.seleniumhq.selenium\" name=\"selenium-remote-driver\" rev=\"3.7.1\" />\r\n\t\t<dependency org=\"org.seleniumhq.selenium\" name=\"selenium-java\" rev=\"3.7.1\" />\r\n\t\t<dependency org=\"org.seleniumhq.selenium\" name=\"selenium-support\" rev=\"3.0.0\" force=\"true\"/>\r\n\r\n\t\t<!-- Appium -->\r\n                 <dependency org=\"io.appium\" name=\"java-client\" rev=\"5.0.4\" />\r\n\r\n### Expected behavior\r\n\r\nNo errors\r\n\r\n### Actual behavior\r\n\r\n**java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.FluentWait.until(Ljava/util/function/Function;)Ljava/lang/Object;**\r\n\r\n\tat io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:76)\r\n\tat io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:95)\r\n\tat io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:61)\r\n\tat io.appium.java_client.ios.IOSElement$$EnhancerByCGLIB$$d311658.isDisplayed(<generated>)\r\n\tat com.mobile.pages.BasePage.lambda$waitForElements$2(BasePage.java:180)\r\n\tat org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)\r\n\tat com.mobile.pages.BasePage.waitForElements(BasePage.java:177)\r\n\tat com.mobile.pages.HomePage.isPageOpened(HomePage.java:46)\r\n\tat com.mobile.pages.HomePage.<init>(HomePage.java:40)\r\n\tat com.mobile.pages.Pages.homePage(Pages.java:15)\r\n\tat com.mobile.tests.search.SearchByKeywordTest.verifyKeywordSearch(SearchByKeywordTest.java:19)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)\r\n\tat org.testng.internal.Invoker.invokeMethod(Invoker.java:643)\r\n\tat org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)\r\n\tat org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)\r\n\tat org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)\r\n\tat org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)\r\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\r\n\tat org.testng.TestRunner.run(TestRunner.java:656)\r\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:366)\r\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)\r\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)\r\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:268)\r\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\r\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)\r\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)\r\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1169)\r\n\tat org.testng.TestNG.run(TestNG.java:1064)\r\n\tat org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)\r\n\tat org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)\r\n\r\n### Is the issue reproducible on runner?\r\n\r\n- [x] QAS\r\n- [ ] Maven\r\n- [ ] Gradle\r\n- [x] Ant\r\n- [ ] Eclipse\r\n- [x] Appium\r\n\r\n\r\n### Test case sample\r\n> Please, share the test case (as small as possible) which shows the issue\r\n"},"comment":{"url":"https://api.github.com/repos/qmetry/qaf/issues/comments/368549119","html_url":"https://github.com/qmetry/qaf/issues/172#issuecomment-368549119","issue_url":"https://api.github.com/repos/qmetry/qaf/issues/172","id":368549119,"user":{"login":"Georgy-Ryabov","id":6531428,"avatar_url":"https://avatars2.githubusercontent.com/u/6531428?v=4","gravatar_id":"","url":"https://api.github.com/users/Georgy-Ryabov","html_url":"https://github.com/Georgy-Ryabov","followers_url":"https://api.github.com/users/Georgy-Ryabov/followers","following_url":"https://api.github.com/users/Georgy-Ryabov/following{/other_user}","gists_url":"https://api.github.com/users/Georgy-Ryabov/gists{/gist_id}","starred_url":"https://api.github.com/users/Georgy-Ryabov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Georgy-Ryabov/subscriptions","organizations_url":"https://api.github.com/users/Georgy-Ryabov/orgs","repos_url":"https://api.github.com/users/Georgy-Ryabov/repos","events_url":"https://api.github.com/users/Georgy-Ryabov/events{/privacy}","received_events_url":"https://api.github.com/users/Georgy-Ryabov/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T15:54:39Z","updated_at":"2018-02-26T15:54:39Z","author_association":"NONE","body":"Yeah, you right I'm using custom wait functions. So, should I use WaitService for custom services? It seems WaitService is deprecated. \r\n\r\n\r\nBTW, How can turn this\r\n` @iOSFindAll({\r\n            @iOSFindBy(accessibility = \"item.someLabel\"),\r\n            @iOSFindBy(accessibility = \"item.storeBanner\"),\r\n    })\r\n    private MobileElement isOpened;\r\n` \r\ninto loc locations."}}
{"actor":{"display_login":"Georgy-Ryabov"}}