summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_dns.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-02-27 18:21:05 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-03-20 08:57:42 +0100
commitfddb2212bc3394068ba0cd6aebbfcf2e77cb6def (patch)
tree891556c9c078d553cc463dd963fa41e8213c081e /ipatests/test_webui/test_dns.py
parentc82c598163996997570807827e02de11ca541c94 (diff)
downloadfreeipa-fddb2212bc3394068ba0cd6aebbfcf2e77cb6def.tar.gz
freeipa-fddb2212bc3394068ba0cd6aebbfcf2e77cb6def.tar.xz
freeipa-fddb2212bc3394068ba0cd6aebbfcf2e77cb6def.zip
webui-css: improve radio,checkbox keyboard support and color
checkboxes and radio buttons: - do not change color on hover when disabled - are focusable and checkable be keyboard again. This uses a little trick where the real checkbox is hidden under the artificial checkbox. That way it has the same position and therefore it works even in containers with overflow set. https://fedorahosted.org/freeipa/ticket/4217 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_dns.py')
-rw-r--r--ipatests/test_webui/test_dns.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipatests/test_webui/test_dns.py b/ipatests/test_webui/test_dns.py
index c832190d3..dbcb2622e 100644
--- a/ipatests/test_webui/test_dns.py
+++ b/ipatests/test_webui/test_dns.py
@@ -37,10 +37,10 @@ ZONE_DATA = {
('textbox', 'idnsname', ZONE_PKEY),
('textbox', 'idnssoamname', 'ns'),
('textbox', 'ip_address', '192.168.1.1'),
- ('checkbox', 'force', ''),
+ ('checkbox', 'force', 'checked'),
],
'mod': [
- ('checkbox', 'idnsallowsyncptr', ''),
+ ('checkbox', 'idnsallowsyncptr', 'checked'),
],
}
@@ -63,7 +63,7 @@ RECORD_MOD_DATA = {
CONFIG_MOD_DATA = {
'mod': [
- ('checkbox', 'idnsallowsyncptr', ''),
+ ('checkbox', 'idnsallowsyncptr', 'checked'),
],
}