VE-1333 Adding tests to resize media nodes

Contains changes from https://github.com/Wikia/selenium-tests/pull/255
DO NOT MERGE until 255 is merged.