mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix restApiTest with alert text
parent
5c5d609fc8
commit
b28bbc7c41
|
@ -3345,7 +3345,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
|||
user.getWaiter().until(ExpectedConditions.alertIsPresent());
|
||||
Alert alert = user.getDriver().switchTo().alert();
|
||||
Assert.assertTrue("Alert does not contain expected text",
|
||||
alert.getText().contains("Token " + tokenA + "is not valid"));
|
||||
alert.getText().contains("Token " + tokenA + " is not valid"));
|
||||
alert.accept();
|
||||
} catch (Exception e) {
|
||||
Assert.fail("Alert exception");
|
||||
|
|
Loading…
Reference in New Issue