openvidu-test-e2e: fix restApiTest with alert text
This commit is contained in:
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…
x
Reference in New Issue
Block a user