fixing selenium tests

This commit is contained in:
ppisljar 2016-11-22 16:27:40 +01:00
parent c41e67225e
commit ed1b3304e5

View file

@ -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;
});