'Test that advanced settings don\'t save with multiple wrong inputs'

def test_modal_shows_multiple_validation_errors(self):

    original_values_map = self.get_settings_fields_of_each_type()
    self.set_wrong_inputs_to_fields()
    self.advanced_settings.wait_for_modal_load()
    self.check_modal_shows_correct_contents(self.type_fields)
    self.advanced_settings.refresh_and_wait_for_load()
    for (key, val) in original_values_map.iteritems():
        self.assertEquals(self.advanced_settings.get(key), val, u'Wrong    input    for    Advanced    Settings    Fields    must    not    change    its    value')
