mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix test_realmdomains::test_add_single_labeled_domain (Web UI test)
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
1212402a61
commit
d582484bea
@ -127,15 +127,15 @@ class test_realmdomains(UI_driver):
|
|||||||
@screenshot
|
@screenshot
|
||||||
def test_add_single_labeled_domain(self):
|
def test_add_single_labeled_domain(self):
|
||||||
"""
|
"""
|
||||||
Add domain with special_character
|
Add single label domain
|
||||||
"""
|
"""
|
||||||
self.init_app()
|
self.init_app()
|
||||||
self.navigate_to_entity(ENTITY)
|
self.navigate_to_entity(ENTITY)
|
||||||
|
|
||||||
domain_with_special_char = u'ipa@123#'
|
single_label_domain = u'single-label-domain'
|
||||||
|
|
||||||
# add with force - skipping DNS check
|
# add with force - skipping DNS check
|
||||||
self._add_associateddomain([domain_with_special_char], force=True)
|
self._add_associateddomain([single_label_domain], force=True)
|
||||||
dialog = self.get_last_error_dialog()
|
dialog = self.get_last_error_dialog()
|
||||||
assert ("invalid 'domain': single label domains are not supported"
|
assert ("invalid 'domain': single label domains are not supported"
|
||||||
in dialog.text)
|
in dialog.text)
|
||||||
|
Loading…
Reference in New Issue
Block a user