mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix openviduJavaClientTest
parent
8cbaedb403
commit
8f9ad60d2b
|
@ -2386,8 +2386,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
|||
|
||||
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
||||
JsonObject obj = JsonParser.parseString(widthAndHeight).getAsJsonObject();
|
||||
Assert.assertEquals("{\"width\":" + obj.get("width").getAsLong() + ",\"height\":"
|
||||
+ (obj.get("height").getAsLong() - 1) + "}", pub.getVideoDimensions());
|
||||
Assert.assertEquals(
|
||||
"{\"width\":" + obj.get("width").getAsLong() + ",\"height\":" + obj.get("height").getAsLong() + "}",
|
||||
pub.getVideoDimensions());
|
||||
Assert.assertEquals(Integer.valueOf(30), pub.getFrameRate());
|
||||
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
||||
Assert.assertTrue(pub.hasVideo());
|
||||
|
|
Loading…
Reference in New Issue