mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: openviduJavaClientTest fix
parent
b00da9447c
commit
57ec4e72bf
|
@ -2127,8 +2127,8 @@ public class OpenViduTestAppE2eTest {
|
||||||
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
||||||
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
|
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
|
||||||
Assert.assertEquals(
|
Assert.assertEquals(
|
||||||
"{\"width\":" + (long) obj.get("width") + ",\"height\":" + (((long) obj.get("height"))) + "}",
|
"{\"width\":" + (long) obj.get("width") + ",\"height\":" + (((long) obj.get("height")) + 48) + "}",
|
||||||
pub.getVideoDimensions());
|
pub.getVideoDimensions()); // + 48 because of share tab infobar
|
||||||
Assert.assertEquals(new Integer(30), pub.getFrameRate());
|
Assert.assertEquals(new Integer(30), pub.getFrameRate());
|
||||||
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
||||||
Assert.assertTrue(pub.hasVideo());
|
Assert.assertTrue(pub.hasVideo());
|
||||||
|
|
Loading…
Reference in New Issue