The nightly webui test test_permission_using_enter_key is failing in [testing_master_previous] Nightly PR #1343 with an error:
test_permission_using_enter_key
def test_permission_using_enter_key(self): """ Try to add/delete persmission using enter key """ # try to add using enter key self.init_app() self.add_record(data_selfservice.ENTITY, data_selfservice.DATA1, dialog_btn=None) actions = ActionChains(self.driver) actions.send_keys(Keys.ENTER).perform() self.wait() self.assert_notification(assert_text=SERVICE_ADDED) > self.assert_record(data_selfservice.DATA1['pkey']) test_webui/test_selfservice.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_webui.test_selfservice.test_selfservice object at 0x7f2b4fce4580> pkey = 'itest-selfservice-rule1', parent = None, table_name = None negative = False def assert_record(self, pkey, parent=None, table_name=None, negative=False): """ Assert that record is in current search table """ has = self.has_record(pkey, parent, table_name) has |= self.has_record(pkey.lower(), parent, table_name) if negative: assert not has, "Record exists when it shouldn't: %s" % pkey else: > assert has, 'Record does not exist: %s' % pkey E AssertionError: Record does not exist: itest-selfservice-rule1 test_webui/ui_driver.py:2176: AssertionError
Screenshot attached shows both success message and actual rule being added. Simple test adjustment may be sufficient.. Full report
success
Similar related error present in test_add_service_using_enter and test_delete_service_using_enterin [testing_ipa-4.9_latest_selinux] Nightly PR #1348 . report
test_add_service_using_enter
test_delete_service_using_enter
Metadata Update from @mpolovka: - Issue assigned to ebelko (was: mpolovka)