From eb57d02188be3a159cd7430f04b8f2c6ef5cf6fd Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 16 Sep 2019 12:36:17 +0200 Subject: [PATCH] openvidu-test-e2e: publisher height fixed --- .../java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java index e11b2e2b..8713068e 100644 --- a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java +++ b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java @@ -997,7 +997,7 @@ public class OpenViduTestAppE2eTest { JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight); expectedWidthHeight[0] = (long) obj.get("width"); - expectedWidthHeight[1] = (long) obj.get("height") + 49; // + 49 because of new "Sharing tab" infobar + expectedWidthHeight[1] = (long) obj.get("height") + 48; // + 48 because of new "Sharing tab" infobar System.out.println("New viewport dimension: " + obj.toJSONString()); @@ -2125,8 +2125,8 @@ public class OpenViduTestAppE2eTest { String widthAndHeight = user.getEventManager().getDimensionOfViewport(); JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight); Assert.assertEquals( - "{\"width\":" + (long) obj.get("width") + ",\"height\":" + (((long) obj.get("height")) + 49) + "}", - pub.getVideoDimensions()); // + 49 because of new "Sharing tab" infobar + "{\"width\":" + (long) obj.get("width") + ",\"height\":" + (((long) obj.get("height")) + 48) + "}", + pub.getVideoDimensions()); // + 48 because of new "Sharing tab" infobar Assert.assertEquals(new Integer(30), pub.getFrameRate()); Assert.assertEquals("SCREEN", pub.getTypeOfVideo()); Assert.assertTrue(pub.hasVideo());