mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix selenium findElement failure condition
parent
ab3c341646
commit
b7ae4a2a40
|
|
@ -144,7 +144,9 @@ public class OpenViduEventManager {
|
|||
public void stopPolling(boolean stopThread, boolean cleanExistingEvents) {
|
||||
if (stopThread) {
|
||||
this.isInterrupted.set(true);
|
||||
this.pollingThread.interrupt();
|
||||
if (this.pollingThread != null) {
|
||||
this.pollingThread.interrupt();
|
||||
}
|
||||
}
|
||||
if (cleanExistingEvents) {
|
||||
this.eventCallbacks.clear();
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ public class AbstractOpenViduTestappE2eTest extends OpenViduTestE2e {
|
|||
|
||||
private void connectToOpenViduTestApp(OpenViduTestappUser user) {
|
||||
user.getDriver().get(APP_URL);
|
||||
user.getWaiter().until(ExpectedConditions.presenceOfElementLocated(By.id("livekit-url")));
|
||||
WebElement urlInput = user.getDriver().findElement(By.id("livekit-url"));
|
||||
urlInput.clear();
|
||||
urlInput.sendKeys(LIVEKIT_URL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue