'This test case checks extend volume functionality:
Steps:
1. Check current volume size
2. Extend volume
3. Check that no Error messages present
4. Check that the volume is still in the list
5. Check that the volume size is changed'

def test_volume_extend(self):

    orig_size = self.volumes_page.get_size(self.VOLUME_NAME)
    self.volumes_page.extend_volume(self.VOLUME_NAME, (orig_size + 1))
    self.assertTrue(self.volumes_page.find_message_and_dismiss(messages.INFO))
    self.assertFalse(self.volumes_page.find_message_and_dismiss(messages.ERROR))
    self.assertTrue(self.volumes_page.is_volume_status(self.VOLUME_NAME, 'Available'))
    new_size = self.volumes_page.get_size(self.VOLUME_NAME)
    self.assertLess(orig_size, new_size)
