From d000edd3dea4750af7fc05fcb5650091a68e8cdd Mon Sep 17 00:00:00 2001 From: ppisljar Date: Tue, 22 Nov 2016 16:27:40 +0100 Subject: [PATCH] fixing selenium tests --- test/support/page_objects/visualize_page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/page_objects/visualize_page.js b/test/support/page_objects/visualize_page.js index c048aa9fa95c681..3489b7bc611c8fd 100644 --- a/test/support/page_objects/visualize_page.js +++ b/test/support/page_objects/visualize_page.js @@ -502,7 +502,7 @@ export default class VisualizePage { .findByCssSelector('clipPath rect') .getAttribute('height') .then(function (theHeight) { - yAxisHeight = theHeight - 5; // MAGIC NUMBER - clipPath extends a bit above the top of the y-axis and below x-axis + yAxisHeight = theHeight; PageObjects.common.debug('theHeight = ' + theHeight); return theHeight; });