Closed gryabov closed 12 months ago
Can you share sample code you are using? it looks that you are not using wait service from qaf (methods available with QAFWebElement and QAFWebDriver)
Yeah, you right I'm using custom wait functions. So, should I use WaitService for custom waits? It seems WaitService is deprecated.
BTW, How can turn this
@iOSFindAll({
@iOSFindBy(accessibility = "item.someLabel"),
@iOSFindBy(accessibility = "item.storeBanner"),
})
private MobileElement isOpened;
into loc locations.
Well, you can do that witout using iOSFindBy. Refer documentation. You can use alternate locater instead of iOSFindAll. For instance, it may look like
@FindBy(locator = "['accessibility id=item.storeBanner','accessibility id=item.someLabel']")
private QAFWebElement pageIndicator;
With QAFWebElement, you will get wait, assert and verify methods.
page.getPageIndicator().waitForPresent();
You didn't provided details about your page class. Make sure you have extended WebDriverTestPage.
Please utilize users group and help us to keep git issues for confirmed bug or feature request routed through users group.
cjayswal, thank you for reply.
I will post to the user group.
can you check with latest qaf (2.1.14 RC1 or RC2)?
Closing inactive issue.
QAF Version
Steps To Reproduce
Appium client is looking for java.util.function.Function But qaf is linked to guava Functions
Expected behavior
No errors
Actual behavior
java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.FluentWait.until(Ljava/util/function/Function;)Ljava/lang/Object;
Is the issue reproducible on runner?
Test case sample