openvidu-test-browsers: update BrowserUser#waitWithNewTime method
This commit is contained in:
parent
cf062c8950
commit
d39fde73d7
@ -68,7 +68,7 @@ public class BrowserUser {
|
||||
this.driver.quit();
|
||||
}
|
||||
|
||||
public void waitWithNewTime(int newWaitTime, ExpectedCondition<Boolean> condition) {
|
||||
public void waitWithNewTime(int newWaitTime, ExpectedCondition<?> condition) {
|
||||
this.waiter.withTimeout(Duration.of(newWaitTime, ChronoUnit.SECONDS));
|
||||
this.waiter.until(condition);
|
||||
this.waiter.withTimeout(Duration.of(this.timeOfWaitInSeconds, ChronoUnit.SECONDS));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user